Skip to content

Commit

Permalink
feat: export the HttpHandlerOptions type
Browse files Browse the repository at this point in the history
  • Loading branch information
godu committed Nov 5, 2024
1 parent c66e0fb commit af85f91
Show file tree
Hide file tree
Showing 32 changed files with 158 additions and 31 deletions.
34 changes: 34 additions & 0 deletions .changeset/wise-pans-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
"@effect-aws/client-api-gateway-management-api": patch
"@effect-aws/client-cognito-identity-provider": patch
"@effect-aws/client-opensearch-serverless": patch
"@effect-aws/client-cloudwatch-events": patch
"@effect-aws/client-cloudwatch-logs": patch
"@effect-aws/client-secrets-manager": patch
"@effect-aws/client-cloudsearch": patch
"@effect-aws/client-elasticache": patch
"@effect-aws/client-eventbridge": patch
"@effect-aws/client-cloudtrail": patch
"@effect-aws/client-cloudwatch": patch
"@effect-aws/client-codedeploy": patch
"@effect-aws/client-opensearch": patch
"@effect-aws/client-scheduler": patch
"@effect-aws/client-dynamodb": patch
"@effect-aws/client-account": patch
"@effect-aws/client-kinesis": patch
"@effect-aws/client-lambda": patch
"@effect-aws/lib-dynamodb": patch
"@effect-aws/client-ec2": patch
"@effect-aws/client-iam": patch
"@effect-aws/client-kms": patch
"@effect-aws/client-rds": patch
"@effect-aws/client-sfn": patch
"@effect-aws/client-sns": patch
"@effect-aws/client-sqs": patch
"@effect-aws/client-ssm": patch
"@effect-aws/client-sts": patch
"@effect-aws/client-mq": patch
"@effect-aws/client-s3": patch
---

export the HttpHandlerOptions type
5 changes: 4 additions & 1 deletion packages/client-account/src/AccountService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ import {
TaggedException,
} from "./Errors";

interface HttpHandlerOptions {
/**
* @since 1.0.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ import {
TaggedException,
} from "./Errors";

interface HttpHandlerOptions {
/**
* @since 1.4.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-cloudsearch/src/CloudSearchService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ import {
TaggedException,
} from "./Errors";

interface HttpHandlerOptions {
/**
* @since 1.0.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-cloudtrail/src/CloudTrailService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,10 @@ import {
TaggedException,
} from "./Errors";

interface HttpHandlerOptions {
/**
* @since 1.0.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,10 @@ import {
TaggedException,
} from "./Errors";

interface HttpHandlerOptions {
/**
* @since 1.0.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-cloudwatch-logs/src/CloudWatchLogsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,10 @@ import {
TaggedException,
} from "./Errors";

interface HttpHandlerOptions {
/**
* @since 1.0.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-cloudwatch/src/CloudWatchService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ import {
TaggedException,
} from "./Errors";

interface HttpHandlerOptions {
/**
* @since 1.0.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-codedeploy/src/CodeDeployService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,10 @@ import {
TaggedException,
} from "./Errors";

interface HttpHandlerOptions {
/**
* @since 1.2.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,10 @@ import {
TaggedException,
} from "./Errors";

interface HttpHandlerOptions {
/**
* @since 1.0.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-dynamodb/src/DynamoDBService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,10 @@ import {
TaggedException,
} from "./Errors";

interface HttpHandlerOptions {
/**
* @since 1.4.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-ec2/src/EC2Service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1854,7 +1854,10 @@ import { EC2ClientInstance, EC2ClientInstanceLayer } from "./EC2ClientInstance";
import { DefaultEC2ClientConfigLayer } from "./EC2ClientInstanceConfig";
import { EC2ServiceError, SdkError, TaggedException } from "./Errors";

interface HttpHandlerOptions {
/**
* @since 1.2.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-elasticache/src/ElastiCacheService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,10 @@ import {
TaggedException,
} from "./Errors";

interface HttpHandlerOptions {
/**
* @since 1.3.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-eventbridge/src/EventBridgeService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,10 @@ import {
} from "./EventBridgeClientInstance";
import { DefaultEventBridgeClientConfigLayer } from "./EventBridgeClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.5.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-iam/src/IAMService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,10 @@ import {
import { IAMClientInstance, IAMClientInstanceLayer } from "./IAMClientInstance";
import { DefaultIAMClientConfigLayer } from "./IAMClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.4.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-kinesis/src/KinesisService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ import {
} from "./KinesisClientInstance";
import { DefaultKinesisClientConfigLayer } from "./KinesisClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.0.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-kms/src/KMSService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,10 @@ import {
import { KMSClientInstance, KMSClientInstanceLayer } from "./KMSClientInstance";
import { DefaultKMSClientConfigLayer } from "./KMSClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.0.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-lambda/src/LambdaService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,10 @@ import {
} from "./LambdaClientInstance";
import { DefaultLambdaClientConfigLayer } from "./LambdaClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.5.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-mq/src/MqService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ import {
import { MqClientInstance, MqClientInstanceLayer } from "./MqClientInstance";
import { DefaultMqClientConfigLayer } from "./MqClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.0.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ import {
} from "./OpenSearchServerlessClientInstance";
import { DefaultOpenSearchServerlessClientConfigLayer } from "./OpenSearchServerlessClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.0.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-opensearch/src/OpenSearchService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,10 @@ import {
} from "./OpenSearchClientInstance";
import { DefaultOpenSearchClientConfigLayer } from "./OpenSearchClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.0.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-rds/src/RDSService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,10 @@ import {
import { RDSClientInstance, RDSClientInstanceLayer } from "./RDSClientInstance";
import { DefaultRDSClientConfigLayer } from "./RDSClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.0.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-s3/src/S3Service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,10 @@ import {
import { S3ClientInstance, S3ClientInstanceLayer } from "./S3ClientInstance";
import { DefaultS3ClientConfigLayer } from "./S3ClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.4.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-scheduler/src/SchedulerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ import {
} from "./SchedulerClientInstance";
import { DefaultSchedulerClientConfigLayer } from "./SchedulerClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.0.2
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-secrets-manager/src/SecretsManagerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ import {
} from "./SecretsManagerClientInstance";
import { DefaultSecretsManagerClientConfigLayer } from "./SecretsManagerClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.2.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-sfn/src/SFNService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ import {
import { SFNClientInstance, SFNClientInstanceLayer } from "./SFNClientInstance";
import { DefaultSFNClientConfigLayer } from "./SFNClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.4.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-sns/src/SNSService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@ import {
import { SNSClientInstance, SNSClientInstanceLayer } from "./SNSClientInstance";
import { DefaultSNSClientConfigLayer } from "./SNSClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.4.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-sqs/src/SQSService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ import {
import { SQSClientInstance, SQSClientInstanceLayer } from "./SQSClientInstance";
import { DefaultSQSClientConfigLayer } from "./SQSClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.5.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-ssm/src/SSMService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,10 @@ import {
import { SSMClientInstance, SSMClientInstanceLayer } from "./SSMClientInstance";
import { DefaultSSMClientConfigLayer } from "./SSMClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.1.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/client-sts/src/STSService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ import {
import { STSClientInstance, STSClientInstanceLayer } from "./STSClientInstance";
import { DefaultSTSClientConfigLayer } from "./STSClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.0.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
5 changes: 4 additions & 1 deletion packages/lib-dynamodb/src/DynamoDBDocumentService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ import {
} from "./DynamoDBDocumentClientInstance";
import { DefaultDynamoDBDocumentClientConfigLayer } from "./DynamoDBDocumentClientInstanceConfig";

interface HttpHandlerOptions {
/**
* @since 1.3.1
*/
export interface HttpHandlerOptions {
/**
* The maximum time in milliseconds that the connection phase of a request
* may take before the connection attempt is abandoned.
Expand Down
Loading

0 comments on commit af85f91

Please sign in to comment.