Skip to content

Commit

Permalink
chore(clients): move shared interfaces types package (#2530)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZhengYP authored Jul 16, 2021
1 parent c989b76 commit fa60bf3
Show file tree
Hide file tree
Showing 587 changed files with 986 additions and 1,066 deletions.
3 changes: 1 addition & 2 deletions clients/client-accessanalyzer/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

/**
* <p>You do not have sufficient access to perform this action.</p>
Expand Down
2 changes: 1 addition & 1 deletion clients/client-accessanalyzer/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectBoolean as __expectBoolean,
expectNumber as __expectNumber,
expectString as __expectString,
Expand All @@ -122,6 +121,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";
import { v4 as generateIdempotencyToken } from "uuid";

Expand Down
3 changes: 1 addition & 2 deletions clients/client-acm-pca/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

/**
* <p>Contains information about the certificate subject. The <code>Subject</code> field in
Expand Down
2 changes: 1 addition & 1 deletion clients/client-acm-pca/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectBoolean as __expectBoolean,
expectNumber as __expectNumber,
expectString as __expectString,
Expand All @@ -151,6 +150,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";

export const serializeAws_json1_1CreateCertificateAuthorityCommand = async (
Expand Down
4 changes: 2 additions & 2 deletions clients/client-acm/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SENSITIVE_STRING, SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

/**
* <p>You do not have access
Expand Down
7 changes: 2 additions & 5 deletions clients/client-acm/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,14 @@ import {
ValidationException,
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectNumber as __expectNumber,
expectString as __expectString,
} from "@aws-sdk/smithy-client";
import { expectNumber as __expectNumber, expectString as __expectString } from "@aws-sdk/smithy-client";
import {
Endpoint as __Endpoint,
HeaderBag as __HeaderBag,
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";

export const serializeAws_json1_1AddTagsToCertificateCommand = async (
Expand Down
4 changes: 2 additions & 2 deletions clients/client-alexa-for-business/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SENSITIVE_STRING, SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

/**
* <p>An address book with attributes.</p>
Expand Down
2 changes: 1 addition & 1 deletion clients/client-alexa-for-business/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectBoolean as __expectBoolean,
expectNumber as __expectNumber,
expectString as __expectString,
Expand All @@ -486,6 +485,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";
import { v4 as generateIdempotencyToken } from "uuid";

Expand Down
3 changes: 1 addition & 2 deletions clients/client-amp/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

/**
* User does not have sufficient access to perform this action.
Expand Down
2 changes: 1 addition & 1 deletion clients/client-amp/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectString as __expectString,
extendedEncodeURIComponent as __extendedEncodeURIComponent,
} from "@aws-sdk/smithy-client";
Expand All @@ -30,6 +29,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";
import { v4 as generateIdempotencyToken } from "uuid";

Expand Down
4 changes: 2 additions & 2 deletions clients/client-amplify/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SENSITIVE_STRING, SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

/**
* <p> A request contains unexpected data. </p>
Expand Down
2 changes: 1 addition & 1 deletion clients/client-amplify/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectBoolean as __expectBoolean,
expectString as __expectString,
extendedEncodeURIComponent as __extendedEncodeURIComponent,
Expand All @@ -100,6 +99,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";

export const serializeAws_restJson1CreateAppCommand = async (
Expand Down
3 changes: 1 addition & 2 deletions clients/client-amplifybackend/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

export enum AdditionalConstraintsElement {
REQUIRE_DIGIT = "REQUIRE_DIGIT",
Expand Down
2 changes: 1 addition & 1 deletion clients/client-amplifybackend/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectBoolean as __expectBoolean,
expectString as __expectString,
extendedEncodeURIComponent as __extendedEncodeURIComponent,
Expand All @@ -88,6 +87,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";

export const serializeAws_restJson1CloneBackendCommand = async (
Expand Down
3 changes: 1 addition & 2 deletions clients/client-api-gateway/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

/**
* <p>Access log settings, including the access log format and access log destination ARN.</p>
Expand Down
2 changes: 1 addition & 1 deletion clients/client-api-gateway/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectBoolean as __expectBoolean,
expectNumber as __expectNumber,
expectString as __expectString,
Expand All @@ -289,6 +288,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";

export const serializeAws_restJson1CreateApiKeyCommand = async (
Expand Down
3 changes: 1 addition & 2 deletions clients/client-apigatewaymanagementapi/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

export interface DeleteConnectionRequest {
ConnectionId: string | undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectString as __expectString,
extendedEncodeURIComponent as __extendedEncodeURIComponent,
} from "@aws-sdk/smithy-client";
Expand All @@ -19,6 +18,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";

export const serializeAws_restJson1DeleteConnectionCommand = async (
Expand Down
3 changes: 1 addition & 2 deletions clients/client-apigatewayv2/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

/**
* <p>Represents a CORS configuration. Supported only for HTTP APIs. See <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html">Configuring CORS</a> for more information.</p>
Expand Down
2 changes: 1 addition & 1 deletion clients/client-apigatewayv2/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectBoolean as __expectBoolean,
expectNumber as __expectNumber,
expectString as __expectString,
Expand All @@ -153,6 +152,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";

export const serializeAws_restJson1CreateApiCommand = async (
Expand Down
3 changes: 1 addition & 2 deletions clients/client-app-mesh/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

/**
* <p>An object that represents an access log file.</p>
Expand Down
2 changes: 1 addition & 1 deletion clients/client-app-mesh/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectBoolean as __expectBoolean,
expectNumber as __expectNumber,
expectString as __expectString,
Expand All @@ -252,6 +251,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";
import { v4 as generateIdempotencyToken } from "uuid";

Expand Down
4 changes: 2 additions & 2 deletions clients/client-appconfig/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SENSITIVE_STRING, SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

export interface Application {
/**
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appconfig/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectNumber as __expectNumber,
expectString as __expectString,
extendedEncodeURIComponent as __extendedEncodeURIComponent,
Expand All @@ -111,6 +110,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";

export const serializeAws_restJson1CreateApplicationCommand = async (
Expand Down
4 changes: 2 additions & 2 deletions clients/client-appflow/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SENSITIVE_STRING, SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

export enum AggregationType {
NONE = "None",
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appflow/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectBoolean as __expectBoolean,
expectNumber as __expectNumber,
expectString as __expectString,
Expand All @@ -178,6 +177,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";

export const serializeAws_restJson1CreateConnectorProfileCommand = async (
Expand Down
3 changes: 1 addition & 2 deletions clients/client-appintegrations/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

/**
* <p>You do not have sufficient access to perform this action.</p>
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appintegrations/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectString as __expectString,
extendedEncodeURIComponent as __extendedEncodeURIComponent,
} from "@aws-sdk/smithy-client";
Expand All @@ -51,6 +50,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";
import { v4 as generateIdempotencyToken } from "uuid";

Expand Down
3 changes: 1 addition & 2 deletions clients/client-application-auto-scaling/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

export enum AdjustmentType {
ChangeInCapacity = "ChangeInCapacity",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectBoolean as __expectBoolean,
expectNumber as __expectNumber,
expectString as __expectString,
Expand All @@ -89,6 +88,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";

export const serializeAws_json1_1DeleteScalingPolicyCommand = async (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

/**
* <p>Information about agents or connectors that were instructed to start collecting data.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectBoolean as __expectBoolean,
expectNumber as __expectNumber,
expectString as __expectString,
Expand All @@ -159,6 +158,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";
import { v4 as generateIdempotencyToken } from "uuid";

Expand Down
3 changes: 1 addition & 2 deletions clients/client-application-insights/models/models_0.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

/**
* <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ import {
} from "../models/models_0";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
SmithyException as __SmithyException,
expectBoolean as __expectBoolean,
expectNumber as __expectNumber,
expectString as __expectString,
Expand All @@ -138,6 +137,7 @@ import {
MetadataBearer as __MetadataBearer,
ResponseMetadata as __ResponseMetadata,
SerdeContext as __SerdeContext,
SmithyException as __SmithyException,
} from "@aws-sdk/types";

export const serializeAws_json1_1CreateApplicationCommand = async (
Expand Down
Loading

0 comments on commit fa60bf3

Please sign in to comment.