Skip to content

Commit

Permalink
feat(clients): update clients as of 07/08/2021 (#2565)
Browse files Browse the repository at this point in the history
* feat(models): updating models per july 9th 2021

* feat(clients): update clients as of 07/08/2021

Co-authored-by: Alex Forsyth <alex-git@amazon.com>
  • Loading branch information
trivikr and alexforsyth committed Jul 9, 2021
1 parent fb42522 commit c9bd983
Show file tree
Hide file tree
Showing 399 changed files with 16,140 additions and 5,618 deletions.
148 changes: 148 additions & 0 deletions clients/client-chime/Chime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ import {
CreateChannelModeratorCommandInput,
CreateChannelModeratorCommandOutput,
} from "./commands/CreateChannelModeratorCommand";
import {
CreateMediaCapturePipelineCommand,
CreateMediaCapturePipelineCommandInput,
CreateMediaCapturePipelineCommandOutput,
} from "./commands/CreateMediaCapturePipelineCommand";
import {
CreateMeetingCommand,
CreateMeetingCommandInput,
Expand Down Expand Up @@ -222,6 +227,11 @@ import {
DeleteEventsConfigurationCommandInput,
DeleteEventsConfigurationCommandOutput,
} from "./commands/DeleteEventsConfigurationCommand";
import {
DeleteMediaCapturePipelineCommand,
DeleteMediaCapturePipelineCommandInput,
DeleteMediaCapturePipelineCommandOutput,
} from "./commands/DeleteMediaCapturePipelineCommand";
import {
DeleteMeetingCommand,
DeleteMeetingCommandInput,
Expand Down Expand Up @@ -391,6 +401,11 @@ import {
GetGlobalSettingsCommandInput,
GetGlobalSettingsCommandOutput,
} from "./commands/GetGlobalSettingsCommand";
import {
GetMediaCapturePipelineCommand,
GetMediaCapturePipelineCommandInput,
GetMediaCapturePipelineCommandOutput,
} from "./commands/GetMediaCapturePipelineCommand";
import { GetMeetingCommand, GetMeetingCommandInput, GetMeetingCommandOutput } from "./commands/GetMeetingCommand";
import {
GetMessagingSessionEndpointCommand,
Expand Down Expand Up @@ -552,6 +567,11 @@ import {
ListChannelsModeratedByAppInstanceUserCommandInput,
ListChannelsModeratedByAppInstanceUserCommandOutput,
} from "./commands/ListChannelsModeratedByAppInstanceUserCommand";
import {
ListMediaCapturePipelinesCommand,
ListMediaCapturePipelinesCommandInput,
ListMediaCapturePipelinesCommandOutput,
} from "./commands/ListMediaCapturePipelinesCommand";
import {
ListMeetingTagsCommand,
ListMeetingTagsCommandInput,
Expand Down Expand Up @@ -1721,6 +1741,38 @@ export class Chime extends ChimeClient {
}
}

/**
* <p>Creates a media capture pipeline.</p>
*/
public createMediaCapturePipeline(
args: CreateMediaCapturePipelineCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateMediaCapturePipelineCommandOutput>;
public createMediaCapturePipeline(
args: CreateMediaCapturePipelineCommandInput,
cb: (err: any, data?: CreateMediaCapturePipelineCommandOutput) => void
): void;
public createMediaCapturePipeline(
args: CreateMediaCapturePipelineCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateMediaCapturePipelineCommandOutput) => void
): void;
public createMediaCapturePipeline(
args: CreateMediaCapturePipelineCommandInput,
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateMediaCapturePipelineCommandOutput) => void),
cb?: (err: any, data?: CreateMediaCapturePipelineCommandOutput) => void
): Promise<CreateMediaCapturePipelineCommandOutput> | void {
const command = new CreateMediaCapturePipelineCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
} else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
} else {
return this.send(command, optionsOrCb);
}
}

/**
* <p>
* Creates a new Amazon Chime SDK meeting in the specified media Region with no initial attendees. For more information about specifying media Regions, see
Expand Down Expand Up @@ -2590,6 +2642,38 @@ export class Chime extends ChimeClient {
}
}

/**
* <p>Deletes the media capture pipeline.</p>
*/
public deleteMediaCapturePipeline(
args: DeleteMediaCapturePipelineCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteMediaCapturePipelineCommandOutput>;
public deleteMediaCapturePipeline(
args: DeleteMediaCapturePipelineCommandInput,
cb: (err: any, data?: DeleteMediaCapturePipelineCommandOutput) => void
): void;
public deleteMediaCapturePipeline(
args: DeleteMediaCapturePipelineCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteMediaCapturePipelineCommandOutput) => void
): void;
public deleteMediaCapturePipeline(
args: DeleteMediaCapturePipelineCommandInput,
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteMediaCapturePipelineCommandOutput) => void),
cb?: (err: any, data?: DeleteMediaCapturePipelineCommandOutput) => void
): Promise<DeleteMediaCapturePipelineCommandOutput> | void {
const command = new DeleteMediaCapturePipelineCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
} else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
} else {
return this.send(command, optionsOrCb);
}
}

/**
* <p>Deletes the specified Amazon Chime SDK meeting. The operation deletes all attendees, disconnects all clients, and prevents new clients from
* joining the meeting. For more information about the Amazon Chime SDK, see
Expand Down Expand Up @@ -3840,6 +3924,38 @@ export class Chime extends ChimeClient {
}
}

/**
* <p>Gets an existing media capture pipeline.</p>
*/
public getMediaCapturePipeline(
args: GetMediaCapturePipelineCommandInput,
options?: __HttpHandlerOptions
): Promise<GetMediaCapturePipelineCommandOutput>;
public getMediaCapturePipeline(
args: GetMediaCapturePipelineCommandInput,
cb: (err: any, data?: GetMediaCapturePipelineCommandOutput) => void
): void;
public getMediaCapturePipeline(
args: GetMediaCapturePipelineCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetMediaCapturePipelineCommandOutput) => void
): void;
public getMediaCapturePipeline(
args: GetMediaCapturePipelineCommandInput,
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetMediaCapturePipelineCommandOutput) => void),
cb?: (err: any, data?: GetMediaCapturePipelineCommandOutput) => void
): Promise<GetMediaCapturePipelineCommandOutput> | void {
const command = new GetMediaCapturePipelineCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
} else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
} else {
return this.send(command, optionsOrCb);
}
}

/**
* <p>
* Gets the Amazon Chime SDK meeting details for the specified meeting ID. For more information about the Amazon Chime SDK, see
Expand Down Expand Up @@ -5080,6 +5196,38 @@ export class Chime extends ChimeClient {
}
}

/**
* <p>Returns a list of media capture pipelines.</p>
*/
public listMediaCapturePipelines(
args: ListMediaCapturePipelinesCommandInput,
options?: __HttpHandlerOptions
): Promise<ListMediaCapturePipelinesCommandOutput>;
public listMediaCapturePipelines(
args: ListMediaCapturePipelinesCommandInput,
cb: (err: any, data?: ListMediaCapturePipelinesCommandOutput) => void
): void;
public listMediaCapturePipelines(
args: ListMediaCapturePipelinesCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListMediaCapturePipelinesCommandOutput) => void
): void;
public listMediaCapturePipelines(
args: ListMediaCapturePipelinesCommandInput,
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListMediaCapturePipelinesCommandOutput) => void),
cb?: (err: any, data?: ListMediaCapturePipelinesCommandOutput) => void
): Promise<ListMediaCapturePipelinesCommandOutput> | void {
const command = new ListMediaCapturePipelinesCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
} else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
} else {
return this.send(command, optionsOrCb);
}
}

/**
* <p>
* Lists up to 100 active Amazon Chime SDK meetings. For more information about the Amazon Chime SDK, see
Expand Down
24 changes: 24 additions & 0 deletions clients/client-chime/ChimeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ import {
CreateChannelModeratorCommandInput,
CreateChannelModeratorCommandOutput,
} from "./commands/CreateChannelModeratorCommand";
import {
CreateMediaCapturePipelineCommandInput,
CreateMediaCapturePipelineCommandOutput,
} from "./commands/CreateMediaCapturePipelineCommand";
import { CreateMeetingCommandInput, CreateMeetingCommandOutput } from "./commands/CreateMeetingCommand";
import {
CreateMeetingDialOutCommandInput,
Expand Down Expand Up @@ -129,6 +133,10 @@ import {
DeleteEventsConfigurationCommandInput,
DeleteEventsConfigurationCommandOutput,
} from "./commands/DeleteEventsConfigurationCommand";
import {
DeleteMediaCapturePipelineCommandInput,
DeleteMediaCapturePipelineCommandOutput,
} from "./commands/DeleteMediaCapturePipelineCommand";
import { DeleteMeetingCommandInput, DeleteMeetingCommandOutput } from "./commands/DeleteMeetingCommand";
import { DeletePhoneNumberCommandInput, DeletePhoneNumberCommandOutput } from "./commands/DeletePhoneNumberCommand";
import { DeleteProxySessionCommandInput, DeleteProxySessionCommandOutput } from "./commands/DeleteProxySessionCommand";
Expand Down Expand Up @@ -238,6 +246,10 @@ import {
GetEventsConfigurationCommandOutput,
} from "./commands/GetEventsConfigurationCommand";
import { GetGlobalSettingsCommandInput, GetGlobalSettingsCommandOutput } from "./commands/GetGlobalSettingsCommand";
import {
GetMediaCapturePipelineCommandInput,
GetMediaCapturePipelineCommandOutput,
} from "./commands/GetMediaCapturePipelineCommand";
import { GetMeetingCommandInput, GetMeetingCommandOutput } from "./commands/GetMeetingCommand";
import {
GetMessagingSessionEndpointCommandInput,
Expand Down Expand Up @@ -338,6 +350,10 @@ import {
ListChannelsModeratedByAppInstanceUserCommandInput,
ListChannelsModeratedByAppInstanceUserCommandOutput,
} from "./commands/ListChannelsModeratedByAppInstanceUserCommand";
import {
ListMediaCapturePipelinesCommandInput,
ListMediaCapturePipelinesCommandOutput,
} from "./commands/ListMediaCapturePipelinesCommand";
import { ListMeetingTagsCommandInput, ListMeetingTagsCommandOutput } from "./commands/ListMeetingTagsCommand";
import { ListMeetingsCommandInput, ListMeetingsCommandOutput } from "./commands/ListMeetingsCommand";
import {
Expand Down Expand Up @@ -580,6 +596,7 @@ export type ServiceInputTypes =
| CreateChannelCommandInput
| CreateChannelMembershipCommandInput
| CreateChannelModeratorCommandInput
| CreateMediaCapturePipelineCommandInput
| CreateMeetingCommandInput
| CreateMeetingDialOutCommandInput
| CreateMeetingWithAttendeesCommandInput
Expand All @@ -605,6 +622,7 @@ export type ServiceInputTypes =
| DeleteChannelMessageCommandInput
| DeleteChannelModeratorCommandInput
| DeleteEventsConfigurationCommandInput
| DeleteMediaCapturePipelineCommandInput
| DeleteMeetingCommandInput
| DeletePhoneNumberCommandInput
| DeleteProxySessionCommandInput
Expand Down Expand Up @@ -642,6 +660,7 @@ export type ServiceInputTypes =
| GetChannelMessageCommandInput
| GetEventsConfigurationCommandInput
| GetGlobalSettingsCommandInput
| GetMediaCapturePipelineCommandInput
| GetMeetingCommandInput
| GetMessagingSessionEndpointCommandInput
| GetPhoneNumberCommandInput
Expand Down Expand Up @@ -679,6 +698,7 @@ export type ServiceInputTypes =
| ListChannelModeratorsCommandInput
| ListChannelsCommandInput
| ListChannelsModeratedByAppInstanceUserCommandInput
| ListMediaCapturePipelinesCommandInput
| ListMeetingTagsCommandInput
| ListMeetingsCommandInput
| ListPhoneNumberOrdersCommandInput
Expand Down Expand Up @@ -766,6 +786,7 @@ export type ServiceOutputTypes =
| CreateChannelCommandOutput
| CreateChannelMembershipCommandOutput
| CreateChannelModeratorCommandOutput
| CreateMediaCapturePipelineCommandOutput
| CreateMeetingCommandOutput
| CreateMeetingDialOutCommandOutput
| CreateMeetingWithAttendeesCommandOutput
Expand All @@ -791,6 +812,7 @@ export type ServiceOutputTypes =
| DeleteChannelMessageCommandOutput
| DeleteChannelModeratorCommandOutput
| DeleteEventsConfigurationCommandOutput
| DeleteMediaCapturePipelineCommandOutput
| DeleteMeetingCommandOutput
| DeletePhoneNumberCommandOutput
| DeleteProxySessionCommandOutput
Expand Down Expand Up @@ -828,6 +850,7 @@ export type ServiceOutputTypes =
| GetChannelMessageCommandOutput
| GetEventsConfigurationCommandOutput
| GetGlobalSettingsCommandOutput
| GetMediaCapturePipelineCommandOutput
| GetMeetingCommandOutput
| GetMessagingSessionEndpointCommandOutput
| GetPhoneNumberCommandOutput
Expand Down Expand Up @@ -865,6 +888,7 @@ export type ServiceOutputTypes =
| ListChannelModeratorsCommandOutput
| ListChannelsCommandOutput
| ListChannelsModeratedByAppInstanceUserCommandOutput
| ListMediaCapturePipelinesCommandOutput
| ListMeetingTagsCommandOutput
| ListMeetingsCommandOutput
| ListPhoneNumberOrdersCommandOutput
Expand Down
Loading

0 comments on commit c9bd983

Please sign in to comment.