File tree Expand file tree Collapse file tree 9 files changed +24
-20
lines changed
clients/client-workspaces-thin-client/src Expand file tree Collapse file tree 9 files changed +24
-20
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ const commands = {
91
91
UpdateSoftwareSetCommand,
92
92
} ;
93
93
94
- export interface WorkSpacesThin {
94
+ export interface WorkSpacesThinClient {
95
95
/**
96
96
* @see {@link CreateEnvironmentCommand }
97
97
*/
@@ -338,5 +338,5 @@ export interface WorkSpacesThin {
338
338
* your WorkSpaces Thin Client resources, see the <a href="https://docs.aws.amazon.com/cli/latest/reference/workspaces-thin-client/index.html">WorkSpaces Thin Client section of the
339
339
* CLI Reference</a>.</p>
340
340
*/
341
- export class WorkSpacesThin extends WorkSpacesThinClientClient implements WorkSpacesThin { }
342
- createAggregatedClient ( commands , WorkSpacesThin ) ;
341
+ export class WorkSpacesThinClient extends WorkSpacesThinClientClient implements WorkSpacesThinClient { }
342
+ createAggregatedClient ( commands , WorkSpacesThinClient ) ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Due to some code generation issues with the word "Client" in the service name,
3
+ * we are maintaining a few backwards compatible aliases here.
4
+ */
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { DefaultExtensionConfiguration } from "@smithy/types";
6
6
/**
7
7
* @internal
8
8
*/
9
- export interface WorkSpacesThinExtensionConfiguration
9
+ export interface WorkSpacesThinClientExtensionConfiguration
10
10
extends HttpHandlerExtensionConfiguration ,
11
11
DefaultExtensionConfiguration ,
12
12
AwsRegionExtensionConfiguration { }
Original file line number Diff line number Diff line change 17
17
* @packageDocumentation
18
18
*/
19
19
export * from "./WorkSpacesThinClientClient" ;
20
- export * from "./WorkSpacesThin " ;
20
+ export * from "./WorkSpacesThinClient " ;
21
21
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters" ;
22
22
export { RuntimeExtension } from "./runtimeExtensions" ;
23
- export { WorkSpacesThinExtensionConfiguration } from "./extensionConfiguration" ;
23
+ export { WorkSpacesThinClientExtensionConfiguration } from "./extensionConfiguration" ;
24
24
export * from "./commands" ;
25
25
export * from "./pagination" ;
26
26
export * from "./models" ;
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ import { WorkSpacesThinClientClient } from "../WorkSpacesThinClientClient";
6
6
/**
7
7
* @public
8
8
*/
9
- export interface WorkSpacesThinPaginationConfiguration extends PaginationConfiguration {
9
+ export interface WorkSpacesThinClientPaginationConfiguration extends PaginationConfiguration {
10
10
client : WorkSpacesThinClientClient ;
11
11
}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Paginator } from "@smithy/types";
3
3
4
4
import { ListDevicesCommand , ListDevicesCommandInput , ListDevicesCommandOutput } from "../commands/ListDevicesCommand" ;
5
5
import { WorkSpacesThinClientClient } from "../WorkSpacesThinClientClient" ;
6
- import { WorkSpacesThinPaginationConfiguration } from "./Interfaces" ;
6
+ import { WorkSpacesThinClientPaginationConfiguration } from "./Interfaces" ;
7
7
8
8
/**
9
9
* @internal
@@ -20,7 +20,7 @@ const makePagedClientRequest = async (
20
20
* @public
21
21
*/
22
22
export async function * paginateListDevices (
23
- config : WorkSpacesThinPaginationConfiguration ,
23
+ config : WorkSpacesThinClientPaginationConfiguration ,
24
24
input : ListDevicesCommandInput ,
25
25
...additionalArguments : any
26
26
) : Paginator < ListDevicesCommandOutput > {
@@ -34,7 +34,7 @@ export async function* paginateListDevices(
34
34
if ( config . client instanceof WorkSpacesThinClientClient ) {
35
35
page = await makePagedClientRequest ( config . client , input , ...additionalArguments ) ;
36
36
} else {
37
- throw new Error ( "Invalid client, expected WorkSpacesThin | WorkSpacesThinClientClient" ) ;
37
+ throw new Error ( "Invalid client, expected WorkSpacesThinClient | WorkSpacesThinClientClient" ) ;
38
38
}
39
39
yield page ;
40
40
const prevToken = token ;
Original file line number Diff line number Diff line change 7
7
ListEnvironmentsCommandOutput ,
8
8
} from "../commands/ListEnvironmentsCommand" ;
9
9
import { WorkSpacesThinClientClient } from "../WorkSpacesThinClientClient" ;
10
- import { WorkSpacesThinPaginationConfiguration } from "./Interfaces" ;
10
+ import { WorkSpacesThinClientPaginationConfiguration } from "./Interfaces" ;
11
11
12
12
/**
13
13
* @internal
@@ -24,7 +24,7 @@ const makePagedClientRequest = async (
24
24
* @public
25
25
*/
26
26
export async function * paginateListEnvironments (
27
- config : WorkSpacesThinPaginationConfiguration ,
27
+ config : WorkSpacesThinClientPaginationConfiguration ,
28
28
input : ListEnvironmentsCommandInput ,
29
29
...additionalArguments : any
30
30
) : Paginator < ListEnvironmentsCommandOutput > {
@@ -38,7 +38,7 @@ export async function* paginateListEnvironments(
38
38
if ( config . client instanceof WorkSpacesThinClientClient ) {
39
39
page = await makePagedClientRequest ( config . client , input , ...additionalArguments ) ;
40
40
} else {
41
- throw new Error ( "Invalid client, expected WorkSpacesThin | WorkSpacesThinClientClient" ) ;
41
+ throw new Error ( "Invalid client, expected WorkSpacesThinClient | WorkSpacesThinClientClient" ) ;
42
42
}
43
43
yield page ;
44
44
const prevToken = token ;
Original file line number Diff line number Diff line change 7
7
ListSoftwareSetsCommandOutput ,
8
8
} from "../commands/ListSoftwareSetsCommand" ;
9
9
import { WorkSpacesThinClientClient } from "../WorkSpacesThinClientClient" ;
10
- import { WorkSpacesThinPaginationConfiguration } from "./Interfaces" ;
10
+ import { WorkSpacesThinClientPaginationConfiguration } from "./Interfaces" ;
11
11
12
12
/**
13
13
* @internal
@@ -24,7 +24,7 @@ const makePagedClientRequest = async (
24
24
* @public
25
25
*/
26
26
export async function * paginateListSoftwareSets (
27
- config : WorkSpacesThinPaginationConfiguration ,
27
+ config : WorkSpacesThinClientPaginationConfiguration ,
28
28
input : ListSoftwareSetsCommandInput ,
29
29
...additionalArguments : any
30
30
) : Paginator < ListSoftwareSetsCommandOutput > {
@@ -38,7 +38,7 @@ export async function* paginateListSoftwareSets(
38
38
if ( config . client instanceof WorkSpacesThinClientClient ) {
39
39
page = await makePagedClientRequest ( config . client , input , ...additionalArguments ) ;
40
40
} else {
41
- throw new Error ( "Invalid client, expected WorkSpacesThin | WorkSpacesThinClientClient" ) ;
41
+ throw new Error ( "Invalid client, expected WorkSpacesThinClient | WorkSpacesThinClientClient" ) ;
42
42
}
43
43
yield page ;
44
44
const prevToken = token ;
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ import {
6
6
import { getHttpHandlerExtensionConfiguration , resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http" ;
7
7
import { getDefaultExtensionConfiguration , resolveDefaultRuntimeConfig } from "@smithy/smithy-client" ;
8
8
9
- import { WorkSpacesThinExtensionConfiguration } from "./extensionConfiguration" ;
9
+ import { WorkSpacesThinClientExtensionConfiguration } from "./extensionConfiguration" ;
10
10
11
11
/**
12
12
* @public
13
13
*/
14
14
export interface RuntimeExtension {
15
- configure ( extensionConfiguration : WorkSpacesThinExtensionConfiguration ) : void ;
15
+ configure ( extensionConfiguration : WorkSpacesThinClientExtensionConfiguration ) : void ;
16
16
}
17
17
18
18
/**
@@ -22,13 +22,13 @@ export interface RuntimeExtensionsConfig {
22
22
extensions : RuntimeExtension [ ] ;
23
23
}
24
24
25
- const asPartial = < T extends Partial < WorkSpacesThinExtensionConfiguration > > ( t : T ) => t ;
25
+ const asPartial = < T extends Partial < WorkSpacesThinClientExtensionConfiguration > > ( t : T ) => t ;
26
26
27
27
/**
28
28
* @internal
29
29
*/
30
30
export const resolveRuntimeExtensions = ( runtimeConfig : any , extensions : RuntimeExtension [ ] ) => {
31
- const extensionConfiguration : WorkSpacesThinExtensionConfiguration = {
31
+ const extensionConfiguration : WorkSpacesThinClientExtensionConfiguration = {
32
32
...asPartial ( getAwsRegionExtensionConfiguration ( runtimeConfig ) ) ,
33
33
...asPartial ( getDefaultExtensionConfiguration ( runtimeConfig ) ) ,
34
34
...asPartial ( getHttpHandlerExtensionConfiguration ( runtimeConfig ) ) ,
You can’t perform that action at this time.
0 commit comments