Skip to content

Commit

Permalink
fix!: use UpperCamelCase for client names (aws#1379)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Jul 15, 2020
1 parent 5323a81 commit ea25257
Show file tree
Hide file tree
Showing 294 changed files with 921 additions and 860 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CodeStarconnectionsClient } from "./CodeStarconnectionsClient";
import { CodeStarConnectionsClient } from "./CodeStarConnectionsClient";
import {
CreateConnectionCommand,
CreateConnectionCommandInput,
Expand Down Expand Up @@ -61,7 +61,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
* <p>For information about how to use AWS CodeStar Connections, see the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/welcome.html">AWS CodePipeline User
* Guide</a>.</p>
*/
export class CodeStarconnections extends CodeStarconnectionsClient {
export class CodeStarConnections extends CodeStarConnectionsClient {
/**
* <p>Creates a connection that can then be given to other AWS services like CodePipeline so
* that it can access third-party code repositories. The connection is in pending status until
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
regionInfoProvider?: RegionInfoProvider;
}

export type CodeStarconnectionsClientConfig = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
export type CodeStarConnectionsClientConfig = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
ClientDefaults &
RegionInputConfig &
EndpointsInputConfig &
Expand All @@ -159,7 +159,7 @@ export type CodeStarconnectionsClientConfig = Partial<__SmithyConfiguration<__Ht
UserAgentInputConfig &
HostHeaderInputConfig;

export type CodeStarconnectionsClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
export type CodeStarConnectionsClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
Required<ClientDefaults> &
RegionResolvedConfig &
EndpointsResolvedConfig &
Expand Down Expand Up @@ -208,15 +208,15 @@ export type CodeStarconnectionsClientResolvedConfig = __SmithyResolvedConfigurat
* <p>For information about how to use AWS CodeStar Connections, see the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/welcome.html">AWS CodePipeline User
* Guide</a>.</p>
*/
export class CodeStarconnectionsClient extends __Client<
export class CodeStarConnectionsClient extends __Client<
__HttpHandlerOptions,
ServiceInputTypes,
ServiceOutputTypes,
CodeStarconnectionsClientResolvedConfig
CodeStarConnectionsClientResolvedConfig
> {
readonly config: CodeStarconnectionsClientResolvedConfig;
readonly config: CodeStarConnectionsClientResolvedConfig;

constructor(configuration: CodeStarconnectionsClientConfig) {
constructor(configuration: CodeStarConnectionsClientConfig) {
let _config_0 = {
...__ClientDefaultValues,
...configuration,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
CodeStarconnectionsClientResolvedConfig,
CodeStarConnectionsClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes,
} from "../CodeStarconnectionsClient";
} from "../CodeStarConnectionsClient";
import { CreateConnectionInput, CreateConnectionOutput } from "../models/index";
import {
deserializeAws_json1_0CreateConnectionCommand,
Expand All @@ -27,7 +27,7 @@ export type CreateConnectionCommandOutput = CreateConnectionOutput & __MetadataB
export class CreateConnectionCommand extends $Command<
CreateConnectionCommandInput,
CreateConnectionCommandOutput,
CodeStarconnectionsClientResolvedConfig
CodeStarConnectionsClientResolvedConfig
> {
// Start section: command_properties
// End section: command_properties
Expand All @@ -40,7 +40,7 @@ export class CreateConnectionCommand extends $Command<

resolveMiddleware(
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
configuration: CodeStarconnectionsClientResolvedConfig,
configuration: CodeStarConnectionsClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler<CreateConnectionCommandInput, CreateConnectionCommandOutput> {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
CodeStarconnectionsClientResolvedConfig,
CodeStarConnectionsClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes,
} from "../CodeStarconnectionsClient";
} from "../CodeStarConnectionsClient";
import { DeleteConnectionInput, DeleteConnectionOutput } from "../models/index";
import {
deserializeAws_json1_0DeleteConnectionCommand,
Expand All @@ -27,7 +27,7 @@ export type DeleteConnectionCommandOutput = DeleteConnectionOutput & __MetadataB
export class DeleteConnectionCommand extends $Command<
DeleteConnectionCommandInput,
DeleteConnectionCommandOutput,
CodeStarconnectionsClientResolvedConfig
CodeStarConnectionsClientResolvedConfig
> {
// Start section: command_properties
// End section: command_properties
Expand All @@ -40,7 +40,7 @@ export class DeleteConnectionCommand extends $Command<

resolveMiddleware(
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
configuration: CodeStarconnectionsClientResolvedConfig,
configuration: CodeStarConnectionsClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler<DeleteConnectionCommandInput, DeleteConnectionCommandOutput> {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
CodeStarconnectionsClientResolvedConfig,
CodeStarConnectionsClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes,
} from "../CodeStarconnectionsClient";
} from "../CodeStarConnectionsClient";
import { GetConnectionInput, GetConnectionOutput } from "../models/index";
import {
deserializeAws_json1_0GetConnectionCommand,
Expand All @@ -27,7 +27,7 @@ export type GetConnectionCommandOutput = GetConnectionOutput & __MetadataBearer;
export class GetConnectionCommand extends $Command<
GetConnectionCommandInput,
GetConnectionCommandOutput,
CodeStarconnectionsClientResolvedConfig
CodeStarConnectionsClientResolvedConfig
> {
// Start section: command_properties
// End section: command_properties
Expand All @@ -40,7 +40,7 @@ export class GetConnectionCommand extends $Command<

resolveMiddleware(
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
configuration: CodeStarconnectionsClientResolvedConfig,
configuration: CodeStarConnectionsClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler<GetConnectionCommandInput, GetConnectionCommandOutput> {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
CodeStarconnectionsClientResolvedConfig,
CodeStarConnectionsClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes,
} from "../CodeStarconnectionsClient";
} from "../CodeStarConnectionsClient";
import { ListConnectionsInput, ListConnectionsOutput } from "../models/index";
import {
deserializeAws_json1_0ListConnectionsCommand,
Expand All @@ -27,7 +27,7 @@ export type ListConnectionsCommandOutput = ListConnectionsOutput & __MetadataBea
export class ListConnectionsCommand extends $Command<
ListConnectionsCommandInput,
ListConnectionsCommandOutput,
CodeStarconnectionsClientResolvedConfig
CodeStarConnectionsClientResolvedConfig
> {
// Start section: command_properties
// End section: command_properties
Expand All @@ -40,7 +40,7 @@ export class ListConnectionsCommand extends $Command<

resolveMiddleware(
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
configuration: CodeStarconnectionsClientResolvedConfig,
configuration: CodeStarConnectionsClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler<ListConnectionsCommandInput, ListConnectionsCommandOutput> {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
Expand Down
4 changes: 2 additions & 2 deletions clients/client-codestar-connections/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from "./CodeStarconnectionsClient";
export * from "./CodeStarconnections";
export * from "./CodeStarConnectionsClient";
export * from "./CodeStarConnections";
export * from "./commands/CreateConnectionCommand";
export * from "./commands/DeleteConnectionCommand";
export * from "./commands/GetConnectionCommand";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
import { ClientDefaults } from "./CodeStarconnectionsClient";
import { ClientDefaults } from "./CodeStarConnectionsClient";
import { ClientSharedValues } from "./runtimeConfig.shared";

export const ClientDefaultValues: Required<ClientDefaults> = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { name, version } from "./package.json";
import { Sha256 } from "@aws-crypto/sha256-js";
import { parseUrl } from "@aws-sdk/url-parser-node";
import { ClientDefaults } from "./CodeStarconnectionsClient";
import { ClientDefaults } from "./CodeStarConnectionsClient";
import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser";

export const ClientDefaultValues: Required<ClientDefaults> = {
Expand Down
2 changes: 1 addition & 1 deletion clients/client-codestar-connections/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
import { ClientDefaults } from "./CodeStarconnectionsClient";
import { ClientDefaults } from "./CodeStarConnectionsClient";
import { ClientSharedValues } from "./runtimeConfig.shared";

export const ClientDefaultValues: Required<ClientDefaults> = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { codestarnotificationsClient } from "./codestarnotificationsClient";
import { CodestarNotificationsClient } from "./CodestarNotificationsClient";
import {
CreateNotificationRuleCommand,
CreateNotificationRuleCommandInput,
Expand Down Expand Up @@ -136,7 +136,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
* <p> For information about how to use AWS CodeStar Notifications, see link in the CodeStarNotifications User Guide.
* </p>
*/
export class codestarnotifications extends codestarnotificationsClient {
export class CodestarNotifications extends CodestarNotificationsClient {
/**
* <p>Creates a notification rule for a resource. The rule specifies the events you want
* notifications about and the targets (such as SNS topics) where you want to receive
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
regionInfoProvider?: RegionInfoProvider;
}

export type codestarnotificationsClientConfig = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
export type CodestarNotificationsClientConfig = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
ClientDefaults &
RegionInputConfig &
EndpointsInputConfig &
Expand All @@ -204,7 +204,7 @@ export type codestarnotificationsClientConfig = Partial<__SmithyConfiguration<__
UserAgentInputConfig &
HostHeaderInputConfig;

export type codestarnotificationsClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
export type CodestarNotificationsClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
Required<ClientDefaults> &
RegionResolvedConfig &
EndpointsResolvedConfig &
Expand Down Expand Up @@ -299,15 +299,15 @@ export type codestarnotificationsClientResolvedConfig = __SmithyResolvedConfigur
* <p> For information about how to use AWS CodeStar Notifications, see link in the CodeStarNotifications User Guide.
* </p>
*/
export class codestarnotificationsClient extends __Client<
export class CodestarNotificationsClient extends __Client<
__HttpHandlerOptions,
ServiceInputTypes,
ServiceOutputTypes,
codestarnotificationsClientResolvedConfig
CodestarNotificationsClientResolvedConfig
> {
readonly config: codestarnotificationsClientResolvedConfig;
readonly config: CodestarNotificationsClientResolvedConfig;

constructor(configuration: codestarnotificationsClientConfig) {
constructor(configuration: CodestarNotificationsClientConfig) {
let _config_0 = {
...__ClientDefaultValues,
...configuration,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
CodestarNotificationsClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes,
codestarnotificationsClientResolvedConfig,
} from "../codestarnotificationsClient";
} from "../CodestarNotificationsClient";
import { CreateNotificationRuleRequest, CreateNotificationRuleResult } from "../models/index";
import {
deserializeAws_restJson1CreateNotificationRuleCommand,
Expand All @@ -27,7 +27,7 @@ export type CreateNotificationRuleCommandOutput = CreateNotificationRuleResult &
export class CreateNotificationRuleCommand extends $Command<
CreateNotificationRuleCommandInput,
CreateNotificationRuleCommandOutput,
codestarnotificationsClientResolvedConfig
CodestarNotificationsClientResolvedConfig
> {
// Start section: command_properties
// End section: command_properties
Expand All @@ -40,7 +40,7 @@ export class CreateNotificationRuleCommand extends $Command<

resolveMiddleware(
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
configuration: codestarnotificationsClientResolvedConfig,
configuration: CodestarNotificationsClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput> {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
CodestarNotificationsClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes,
codestarnotificationsClientResolvedConfig,
} from "../codestarnotificationsClient";
} from "../CodestarNotificationsClient";
import { DeleteNotificationRuleRequest, DeleteNotificationRuleResult } from "../models/index";
import {
deserializeAws_restJson1DeleteNotificationRuleCommand,
Expand All @@ -27,7 +27,7 @@ export type DeleteNotificationRuleCommandOutput = DeleteNotificationRuleResult &
export class DeleteNotificationRuleCommand extends $Command<
DeleteNotificationRuleCommandInput,
DeleteNotificationRuleCommandOutput,
codestarnotificationsClientResolvedConfig
CodestarNotificationsClientResolvedConfig
> {
// Start section: command_properties
// End section: command_properties
Expand All @@ -40,7 +40,7 @@ export class DeleteNotificationRuleCommand extends $Command<

resolveMiddleware(
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
configuration: codestarnotificationsClientResolvedConfig,
configuration: CodestarNotificationsClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput> {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
CodestarNotificationsClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes,
codestarnotificationsClientResolvedConfig,
} from "../codestarnotificationsClient";
} from "../CodestarNotificationsClient";
import { DeleteTargetRequest, DeleteTargetResult } from "../models/index";
import {
deserializeAws_restJson1DeleteTargetCommand,
Expand All @@ -27,7 +27,7 @@ export type DeleteTargetCommandOutput = DeleteTargetResult & __MetadataBearer;
export class DeleteTargetCommand extends $Command<
DeleteTargetCommandInput,
DeleteTargetCommandOutput,
codestarnotificationsClientResolvedConfig
CodestarNotificationsClientResolvedConfig
> {
// Start section: command_properties
// End section: command_properties
Expand All @@ -40,7 +40,7 @@ export class DeleteTargetCommand extends $Command<

resolveMiddleware(
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
configuration: codestarnotificationsClientResolvedConfig,
configuration: CodestarNotificationsClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler<DeleteTargetCommandInput, DeleteTargetCommandOutput> {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
CodestarNotificationsClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes,
codestarnotificationsClientResolvedConfig,
} from "../codestarnotificationsClient";
} from "../CodestarNotificationsClient";
import { DescribeNotificationRuleRequest, DescribeNotificationRuleResult } from "../models/index";
import {
deserializeAws_restJson1DescribeNotificationRuleCommand,
Expand All @@ -27,7 +27,7 @@ export type DescribeNotificationRuleCommandOutput = DescribeNotificationRuleResu
export class DescribeNotificationRuleCommand extends $Command<
DescribeNotificationRuleCommandInput,
DescribeNotificationRuleCommandOutput,
codestarnotificationsClientResolvedConfig
CodestarNotificationsClientResolvedConfig
> {
// Start section: command_properties
// End section: command_properties
Expand All @@ -40,7 +40,7 @@ export class DescribeNotificationRuleCommand extends $Command<

resolveMiddleware(
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
configuration: codestarnotificationsClientResolvedConfig,
configuration: CodestarNotificationsClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler<DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput> {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
Expand Down
Loading

0 comments on commit ea25257

Please sign in to comment.