Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 15 additions & 0 deletions clients/client-acm-pca/src/ACMPCAClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
getHttpAuthSchemeEndpointRuleSetPlugin,
getHttpSigningPlugin,
} from "@smithy/core";
import { getSchemaSerdePlugin } from "@smithy/core/schema";
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
import { EndpointInputConfig, EndpointResolvedConfig, resolveEndpointConfig } from "@smithy/middleware-endpoint";
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
Expand All @@ -34,11 +35,14 @@ import {
BodyLengthCalculator as __BodyLengthCalculator,
CheckOptionalClientConfig as __CheckOptionalClientConfig,
ChecksumConstructor as __ChecksumConstructor,
ClientProtocol,
Decoder as __Decoder,
Encoder as __Encoder,
EndpointV2 as __EndpointV2,
HashConstructor as __HashConstructor,
HttpHandlerOptions as __HttpHandlerOptions,
HttpRequest,
HttpResponse,
Logger as __Logger,
Provider as __Provider,
Provider,
Expand Down Expand Up @@ -327,6 +331,16 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
*/
extensions?: RuntimeExtension[];

/**
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
* may be overridden. A default will always be set by the client.
* Available options depend on the service's supported protocols and will not be validated by
* the client.
* @alpha
*
*/
protocol?: ClientProtocol<HttpRequest, HttpResponse>;

/**
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
*/
Expand Down Expand Up @@ -400,6 +414,7 @@ export class ACMPCAClient extends __Client<
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
this.config = _config_8;
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
this.middlewareStack.use(getUserAgentPlugin(this.config));
this.middlewareStack.use(getRetryPlugin(this.config));
this.middlewareStack.use(getContentLengthPlugin(this.config));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// smithy-typescript generated code
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

Expand All @@ -10,10 +9,7 @@ import {
CreateCertificateAuthorityAuditReportRequest,
CreateCertificateAuthorityAuditReportResponse,
} from "../models/models_0";
import {
de_CreateCertificateAuthorityAuditReportCommand,
se_CreateCertificateAuthorityAuditReportCommand,
} from "../protocols/Aws_json1_1";
import { CreateCertificateAuthorityAuditReport } from "../schemas/schemas_0";

/**
* @public
Expand Down Expand Up @@ -100,16 +96,11 @@ export class CreateCertificateAuthorityAuditReportCommand extends $Command
>()
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: ACMPCAClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("ACMPrivateCA", "CreateCertificateAuthorityAuditReport", {})
.n("ACMPCAClient", "CreateCertificateAuthorityAuditReportCommand")
.f(void 0, void 0)
.ser(se_CreateCertificateAuthorityAuditReportCommand)
.de(de_CreateCertificateAuthorityAuditReportCommand)
.sc(CreateCertificateAuthorityAuditReport)
.build() {
/** @internal type navigation helper, not in runtime. */
protected declare static __types: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
// smithy-typescript generated code
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { ACMPCAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMPCAClient";
import { commonParams } from "../endpoint/EndpointParameters";
import { CreateCertificateAuthorityRequest, CreateCertificateAuthorityResponse } from "../models/models_0";
import { de_CreateCertificateAuthorityCommand, se_CreateCertificateAuthorityCommand } from "../protocols/Aws_json1_1";
import { CreateCertificateAuthority } from "../schemas/schemas_0";

/**
* @public
Expand Down Expand Up @@ -193,16 +192,11 @@ export class CreateCertificateAuthorityCommand extends $Command
>()
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: ACMPCAClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("ACMPrivateCA", "CreateCertificateAuthority", {})
.n("ACMPCAClient", "CreateCertificateAuthorityCommand")
.f(void 0, void 0)
.ser(se_CreateCertificateAuthorityCommand)
.de(de_CreateCertificateAuthorityCommand)
.sc(CreateCertificateAuthority)
.build() {
/** @internal type navigation helper, not in runtime. */
protected declare static __types: {
Expand Down
12 changes: 3 additions & 9 deletions clients/client-acm-pca/src/commands/CreatePermissionCommand.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
// smithy-typescript generated code
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { ACMPCAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMPCAClient";
import { commonParams } from "../endpoint/EndpointParameters";
import { CreatePermissionRequest } from "../models/models_0";
import { de_CreatePermissionCommand, se_CreatePermissionCommand } from "../protocols/Aws_json1_1";
import { CreatePermission } from "../schemas/schemas_0";

/**
* @public
Expand Down Expand Up @@ -91,16 +90,11 @@ export class CreatePermissionCommand extends $Command
>()
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: ACMPCAClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("ACMPrivateCA", "CreatePermission", {})
.n("ACMPCAClient", "CreatePermissionCommand")
.f(void 0, void 0)
.ser(se_CreatePermissionCommand)
.de(de_CreatePermissionCommand)
.sc(CreatePermission)
.build() {
/** @internal type navigation helper, not in runtime. */
protected declare static __types: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
// smithy-typescript generated code
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { ACMPCAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMPCAClient";
import { commonParams } from "../endpoint/EndpointParameters";
import { DeleteCertificateAuthorityRequest } from "../models/models_0";
import { de_DeleteCertificateAuthorityCommand, se_DeleteCertificateAuthorityCommand } from "../protocols/Aws_json1_1";
import { DeleteCertificateAuthority } from "../schemas/schemas_0";

/**
* @public
Expand Down Expand Up @@ -81,16 +80,11 @@ export class DeleteCertificateAuthorityCommand extends $Command
>()
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: ACMPCAClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("ACMPrivateCA", "DeleteCertificateAuthority", {})
.n("ACMPCAClient", "DeleteCertificateAuthorityCommand")
.f(void 0, void 0)
.ser(se_DeleteCertificateAuthorityCommand)
.de(de_DeleteCertificateAuthorityCommand)
.sc(DeleteCertificateAuthority)
.build() {
/** @internal type navigation helper, not in runtime. */
protected declare static __types: {
Expand Down
12 changes: 3 additions & 9 deletions clients/client-acm-pca/src/commands/DeletePermissionCommand.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
// smithy-typescript generated code
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { ACMPCAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMPCAClient";
import { commonParams } from "../endpoint/EndpointParameters";
import { DeletePermissionRequest } from "../models/models_0";
import { de_DeletePermissionCommand, se_DeletePermissionCommand } from "../protocols/Aws_json1_1";
import { DeletePermission } from "../schemas/schemas_0";

/**
* @public
Expand Down Expand Up @@ -82,16 +81,11 @@ export class DeletePermissionCommand extends $Command
>()
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: ACMPCAClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("ACMPrivateCA", "DeletePermission", {})
.n("ACMPCAClient", "DeletePermissionCommand")
.f(void 0, void 0)
.ser(se_DeletePermissionCommand)
.de(de_DeletePermissionCommand)
.sc(DeletePermission)
.build() {
/** @internal type navigation helper, not in runtime. */
protected declare static __types: {
Expand Down
12 changes: 3 additions & 9 deletions clients/client-acm-pca/src/commands/DeletePolicyCommand.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
// smithy-typescript generated code
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { ACMPCAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMPCAClient";
import { commonParams } from "../endpoint/EndpointParameters";
import { DeletePolicyRequest } from "../models/models_0";
import { de_DeletePolicyCommand, se_DeletePolicyCommand } from "../protocols/Aws_json1_1";
import { DeletePolicy } from "../schemas/schemas_0";

/**
* @public
Expand Down Expand Up @@ -86,16 +85,11 @@ export class DeletePolicyCommand extends $Command
>()
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: ACMPCAClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("ACMPrivateCA", "DeletePolicy", {})
.n("ACMPCAClient", "DeletePolicyCommand")
.f(void 0, void 0)
.ser(se_DeletePolicyCommand)
.de(de_DeletePolicyCommand)
.sc(DeletePolicy)
.build() {
/** @internal type navigation helper, not in runtime. */
protected declare static __types: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// smithy-typescript generated code
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

Expand All @@ -10,10 +9,7 @@ import {
DescribeCertificateAuthorityAuditReportRequest,
DescribeCertificateAuthorityAuditReportResponse,
} from "../models/models_0";
import {
de_DescribeCertificateAuthorityAuditReportCommand,
se_DescribeCertificateAuthorityAuditReportCommand,
} from "../protocols/Aws_json1_1";
import { DescribeCertificateAuthorityAuditReport } from "../schemas/schemas_0";

/**
* @public
Expand Down Expand Up @@ -92,16 +88,11 @@ export class DescribeCertificateAuthorityAuditReportCommand extends $Command
>()
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: ACMPCAClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("ACMPrivateCA", "DescribeCertificateAuthorityAuditReport", {})
.n("ACMPCAClient", "DescribeCertificateAuthorityAuditReportCommand")
.f(void 0, void 0)
.ser(se_DescribeCertificateAuthorityAuditReportCommand)
.de(de_DescribeCertificateAuthorityAuditReportCommand)
.sc(DescribeCertificateAuthorityAuditReport)
.build() {
/** @internal type navigation helper, not in runtime. */
protected declare static __types: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
// smithy-typescript generated code
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { ACMPCAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMPCAClient";
import { commonParams } from "../endpoint/EndpointParameters";
import { DescribeCertificateAuthorityRequest, DescribeCertificateAuthorityResponse } from "../models/models_0";
import {
de_DescribeCertificateAuthorityCommand,
se_DescribeCertificateAuthorityCommand,
} from "../protocols/Aws_json1_1";
import { DescribeCertificateAuthority } from "../schemas/schemas_0";

/**
* @public
Expand Down Expand Up @@ -197,16 +193,11 @@ export class DescribeCertificateAuthorityCommand extends $Command
>()
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: ACMPCAClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("ACMPrivateCA", "DescribeCertificateAuthority", {})
.n("ACMPCAClient", "DescribeCertificateAuthorityCommand")
.f(void 0, void 0)
.ser(se_DescribeCertificateAuthorityCommand)
.de(de_DescribeCertificateAuthorityCommand)
.sc(DescribeCertificateAuthority)
.build() {
/** @internal type navigation helper, not in runtime. */
protected declare static __types: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// smithy-typescript generated code
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

Expand All @@ -10,10 +9,7 @@ import {
GetCertificateAuthorityCertificateRequest,
GetCertificateAuthorityCertificateResponse,
} from "../models/models_0";
import {
de_GetCertificateAuthorityCertificateCommand,
se_GetCertificateAuthorityCertificateCommand,
} from "../protocols/Aws_json1_1";
import { GetCertificateAuthorityCertificate } from "../schemas/schemas_0";

/**
* @public
Expand Down Expand Up @@ -88,16 +84,11 @@ export class GetCertificateAuthorityCertificateCommand extends $Command
>()
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: ACMPCAClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("ACMPrivateCA", "GetCertificateAuthorityCertificate", {})
.n("ACMPCAClient", "GetCertificateAuthorityCertificateCommand")
.f(void 0, void 0)
.ser(se_GetCertificateAuthorityCertificateCommand)
.de(de_GetCertificateAuthorityCertificateCommand)
.sc(GetCertificateAuthorityCertificate)
.build() {
/** @internal type navigation helper, not in runtime. */
protected declare static __types: {
Expand Down
Loading
Loading