Skip to content

Commit

Permalink
docs: set public release tags on client config interface components
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Jul 27, 2023
1 parent bb43e1a commit 99cc6b0
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 9 deletions.
11 changes: 11 additions & 0 deletions .changeset/ten-frogs-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@smithy/eventstream-serde-config-resolver": patch
"@smithy/middleware-apply-body-checksum": patch
"@smithy/middleware-endpoint": patch
"@smithy/middleware-retry": patch
"@smithy/config-resolver": patch
"@smithy/smithy-client": patch
"@smithy/types": patch
---

add release tag public to client init interface components
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { normalizeProvider } from "@smithy/util-middleware";
import { EndpointsInputConfig, EndpointsResolvedConfig } from "./resolveEndpointsConfig";

/**
* @internal
* @public
*/
export interface CustomEndpointsInputConfig extends EndpointsInputConfig {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { normalizeProvider } from "@smithy/util-middleware";
import { getEndpointFromRegion } from "./utils/getEndpointFromRegion";

/**
* @internal
* @public
*/
export interface EndpointsInputConfig {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getRealRegion } from "./getRealRegion";
import { isFipsRegion } from "./isFipsRegion";

/**
* @internal
* @public
*/
export interface RegionInputConfig {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { EventStreamMarshaller, EventStreamSerdeProvider } from "@smithy/types";

/**
* @internal
* @public
*/
export interface EventStreamSerdeInputConfig {}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { ChecksumConstructor, Encoder, HashConstructor, StreamHasher } from "@smithy/types";

/**
* @public
*/
export interface Md5BodyChecksumInputConfig {}
interface PreviouslyResolved {
md5: ChecksumConstructor | HashConstructor;
Expand Down
2 changes: 1 addition & 1 deletion packages/middleware-endpoint/src/resolveEndpointConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { normalizeProvider } from "@smithy/util-middleware";
import { toEndpointV1 } from "./adaptors/toEndpointV1";

/**
* @internal
* @public
*
* Endpoint config interfaces and resolver for Endpoint v2. They live in separate package to allow per-service onboarding.
* When all services onboard Endpoint v2, the resolver in config-resolver package can be removed.
Expand Down
3 changes: 3 additions & 0 deletions packages/middleware-retry/src/configurations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ export const NODE_MAX_ATTEMPT_CONFIG_OPTIONS: LoadedConfigSelectors<number> = {
default: DEFAULT_MAX_ATTEMPTS,
};

/**
* @public
*/
export interface RetryInputConfig {
/**
* The maximum number of times requests that encounter retryable failures should be attempted.
Expand Down
2 changes: 1 addition & 1 deletion packages/smithy-client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { constructStack } from "@smithy/middleware-stack";
import { Client as IClient, Command, MetadataBearer, MiddlewareStack, RequestHandler } from "@smithy/types";

/**
* @internal
* @public
*/
export interface SmithyConfiguration<HandlerOptions> {
requestHandler: RequestHandler<any, any, HandlerOptions>;
Expand Down
2 changes: 1 addition & 1 deletion packages/smithy-client/src/defaults-mode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const loadConfigsForDefaultMode = (mode: ResolvedDefaultsMode): DefaultsM
* * `"auto"`: <p>The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.</p><p>Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">EC2 Instance Metadata service</a>, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application</p>
* * `"legacy"`: <p>The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode</p>
*
* @default "legacy"
* @defaultValue "legacy"
*/
export type DefaultsMode = "standard" | "in-region" | "cross-region" | "mobile" | "auto" | "legacy";

Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface InvokeFunction<
}

/**
* @internal
* @public
*
* Signature that appears on aggregated clients' methods.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/response.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @internal
* @public
*/
export interface ResponseMetadata {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ private void generateEndpointParameters() {
writer.addImport("EndpointParameters", "__EndpointParameters", TypeScriptDependency.SMITHY_TYPES);
writer.addImport("Provider", null, TypeScriptDependency.SMITHY_TYPES);

writer.writeDocs("@public");
writer.openBlock(
"export interface ClientInputEndpointParameters {",
"}",
Expand Down

0 comments on commit 99cc6b0

Please sign in to comment.