Skip to content

Commit c7533e8

Browse files
authored
chore(clients): update clients as of 10/23 (#1604)
1 parent a4136ab commit c7533e8

File tree

91 files changed

+30254
-24171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+30254
-24171
lines changed

clients/client-appflow/models/models_0.ts

Lines changed: 608 additions & 532 deletions
Large diffs are not rendered by default.

clients/client-appflow/protocols/Aws_restJson1.ts

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ import {
8484
GoogleAnalyticsConnectorProfileProperties,
8585
GoogleAnalyticsMetadata,
8686
GoogleAnalyticsSourceProperties,
87+
IncrementalPullConfig,
8788
InforNexusConnectorProfileCredentials,
8889
InforNexusConnectorProfileProperties,
8990
InforNexusMetadata,
@@ -147,6 +148,7 @@ import {
147148
VeevaConnectorProfileProperties,
148149
VeevaMetadata,
149150
VeevaSourceProperties,
151+
WriteOperationType,
150152
ZendeskConnectorProfileCredentials,
151153
ZendeskConnectorProfileProperties,
152154
ZendeskMetadata,
@@ -1671,10 +1673,14 @@ export const deserializeAws_restJson1StartFlowCommand = async (
16711673
}
16721674
const contents: StartFlowCommandOutput = {
16731675
$metadata: deserializeMetadata(output),
1676+
executionId: undefined,
16741677
flowArn: undefined,
16751678
flowStatus: undefined,
16761679
};
16771680
const data: any = await parseBody(output.body, context);
1681+
if (data.executionId !== undefined && data.executionId !== null) {
1682+
contents.executionId = data.executionId;
1683+
}
16781684
if (data.flowArn !== undefined && data.flowArn !== null) {
16791685
contents.flowArn = data.flowArn;
16801686
}
@@ -2626,6 +2632,16 @@ const serializeAws_restJson1GoogleAnalyticsSourceProperties = (
26262632
};
26272633
};
26282634

2635+
const serializeAws_restJson1IdFieldNameList = (input: string[], context: __SerdeContext): any => {
2636+
return input.map((entry) => entry);
2637+
};
2638+
2639+
const serializeAws_restJson1IncrementalPullConfig = (input: IncrementalPullConfig, context: __SerdeContext): any => {
2640+
return {
2641+
...(input.datetimeTypeFieldName !== undefined && { datetimeTypeFieldName: input.datetimeTypeFieldName }),
2642+
};
2643+
};
2644+
26292645
const serializeAws_restJson1InforNexusConnectorProfileCredentials = (
26302646
input: InforNexusConnectorProfileCredentials,
26312647
context: __SerdeContext
@@ -2769,6 +2785,7 @@ const serializeAws_restJson1SalesforceConnectorProfileCredentials = (
27692785
): any => {
27702786
return {
27712787
...(input.accessToken !== undefined && { accessToken: input.accessToken }),
2788+
...(input.clientCredentialsArn !== undefined && { clientCredentialsArn: input.clientCredentialsArn }),
27722789
...(input.oAuthRequest !== undefined && {
27732790
oAuthRequest: serializeAws_restJson1ConnectorOAuthRequest(input.oAuthRequest, context),
27742791
}),
@@ -2794,7 +2811,11 @@ const serializeAws_restJson1SalesforceDestinationProperties = (
27942811
...(input.errorHandlingConfig !== undefined && {
27952812
errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
27962813
}),
2814+
...(input.idFieldNames !== undefined && {
2815+
idFieldNames: serializeAws_restJson1IdFieldNameList(input.idFieldNames, context),
2816+
}),
27972817
...(input.object !== undefined && { object: input.object }),
2818+
...(input.writeOperationType !== undefined && { writeOperationType: input.writeOperationType }),
27982819
};
27992820
};
28002821

@@ -2997,6 +3018,9 @@ const serializeAws_restJson1SourceFlowConfig = (input: SourceFlowConfig, context
29973018
return {
29983019
...(input.connectorProfileName !== undefined && { connectorProfileName: input.connectorProfileName }),
29993020
...(input.connectorType !== undefined && { connectorType: input.connectorType }),
3021+
...(input.incrementalPullConfig !== undefined && {
3022+
incrementalPullConfig: serializeAws_restJson1IncrementalPullConfig(input.incrementalPullConfig, context),
3023+
}),
30003024
...(input.sourceConnectorProperties !== undefined && {
30013025
sourceConnectorProperties: serializeAws_restJson1SourceConnectorProperties(
30023026
input.sourceConnectorProperties,
@@ -3541,7 +3565,12 @@ const deserializeAws_restJson1DestinationFieldProperties = (
35413565
return {
35423566
isCreatable: output.isCreatable !== undefined && output.isCreatable !== null ? output.isCreatable : undefined,
35433567
isNullable: output.isNullable !== undefined && output.isNullable !== null ? output.isNullable : undefined,
3568+
isUpdatable: output.isUpdatable !== undefined && output.isUpdatable !== null ? output.isUpdatable : undefined,
35443569
isUpsertable: output.isUpsertable !== undefined && output.isUpsertable !== null ? output.isUpsertable : undefined,
3570+
supportedWriteOperations:
3571+
output.supportedWriteOperations !== undefined && output.supportedWriteOperations !== null
3572+
? deserializeAws_restJson1SupportedWriteOperationList(output.supportedWriteOperations, context)
3573+
: undefined,
35453574
} as any;
35463575
};
35473576

@@ -3768,6 +3797,19 @@ const deserializeAws_restJson1GoogleAnalyticsSourceProperties = (
37683797
} as any;
37693798
};
37703799

3800+
const deserializeAws_restJson1IdFieldNameList = (output: any, context: __SerdeContext): string[] => {
3801+
return (output || []).map((entry: any) => entry);
3802+
};
3803+
3804+
const deserializeAws_restJson1IncrementalPullConfig = (output: any, context: __SerdeContext): IncrementalPullConfig => {
3805+
return {
3806+
datetimeTypeFieldName:
3807+
output.datetimeTypeFieldName !== undefined && output.datetimeTypeFieldName !== null
3808+
? output.datetimeTypeFieldName
3809+
: undefined,
3810+
} as any;
3811+
};
3812+
37713813
const deserializeAws_restJson1InforNexusConnectorProfileProperties = (
37723814
output: any,
37733815
context: __SerdeContext
@@ -3922,7 +3964,15 @@ const deserializeAws_restJson1SalesforceDestinationProperties = (
39223964
output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
39233965
? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
39243966
: undefined,
3967+
idFieldNames:
3968+
output.idFieldNames !== undefined && output.idFieldNames !== null
3969+
? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
3970+
: undefined,
39253971
object: output.object !== undefined && output.object !== null ? output.object : undefined,
3972+
writeOperationType:
3973+
output.writeOperationType !== undefined && output.writeOperationType !== null
3974+
? output.writeOperationType
3975+
: undefined,
39263976
} as any;
39273977
};
39283978

@@ -4176,6 +4226,10 @@ const deserializeAws_restJson1SourceFlowConfig = (output: any, context: __SerdeC
41764226
: undefined,
41774227
connectorType:
41784228
output.connectorType !== undefined && output.connectorType !== null ? output.connectorType : undefined,
4229+
incrementalPullConfig:
4230+
output.incrementalPullConfig !== undefined && output.incrementalPullConfig !== null
4231+
? deserializeAws_restJson1IncrementalPullConfig(output.incrementalPullConfig, context)
4232+
: undefined,
41794233
sourceConnectorProperties:
41804234
output.sourceConnectorProperties !== undefined && output.sourceConnectorProperties !== null
41814235
? deserializeAws_restJson1SourceConnectorProperties(output.sourceConnectorProperties, context)
@@ -4199,6 +4253,13 @@ const deserializeAws_restJson1SupportedValueList = (output: any, context: __Serd
41994253
return (output || []).map((entry: any) => entry);
42004254
};
42014255

4256+
const deserializeAws_restJson1SupportedWriteOperationList = (
4257+
output: any,
4258+
context: __SerdeContext
4259+
): (WriteOperationType | string)[] => {
4260+
return (output || []).map((entry: any) => entry);
4261+
};
4262+
42024263
const deserializeAws_restJson1TagMap = (output: any, context: __SerdeContext): { [key: string]: string } => {
42034264
return Object.entries(output).reduce(
42044265
(acc: { [key: string]: string }, [key, value]: [string, any]) => ({

clients/client-appsync/models/models_0.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export interface ApiCache {
227227
* </li>
228228
* </ul>
229229
* <p>Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.</p>
230-
* <p>The following legacy instance types are avaible, but their use is discouraged:</p>
230+
* <p>The following legacy instance types are available, but their use is discouraged:</p>
231231
* <ul>
232232
* <li>
233233
* <p>
@@ -277,7 +277,7 @@ export interface ApiCache {
277277
* </li>
278278
* <li>
279279
* <p>
280-
* <b>PER_RESOLVER_CACHING</b>: Individual resovlers
280+
* <b>PER_RESOLVER_CACHING</b>: Individual resolvers
281281
* that you specify are cached.</p>
282282
* </li>
283283
* </ul>
@@ -559,7 +559,7 @@ export interface CreateApiCacheRequest {
559559
* </li>
560560
* <li>
561561
* <p>
562-
* <b>PER_RESOLVER_CACHING</b>: Individual resovlers
562+
* <b>PER_RESOLVER_CACHING</b>: Individual resolvers
563563
* that you specify are cached.</p>
564564
* </li>
565565
* </ul>
@@ -610,7 +610,7 @@ export interface CreateApiCacheRequest {
610610
* </li>
611611
* </ul>
612612
* <p>Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.</p>
613-
* <p>The following legacy instance types are avaible, but their use is discouraged:</p>
613+
* <p>The following legacy instance types are available, but their use is discouraged:</p>
614614
* <ul>
615615
* <li>
616616
* <p>
@@ -1449,8 +1449,8 @@ export interface GraphqlApi {
14491449
apiId?: string;
14501450

14511451
/**
1452-
* <p>The ARN of the AWS WAF ACL associated with this
1453-
* <code>GraphqlApi</code> if one exists.</p>
1452+
* <p>The ARN of the AWS Web Application Firewall (WAF) ACL associated with this
1453+
* <code>GraphqlApi</code>, if one exists.</p>
14541454
*/
14551455
wafWebAclArn?: string;
14561456

@@ -2814,7 +2814,7 @@ export interface UpdateApiCacheRequest {
28142814
* </li>
28152815
* <li>
28162816
* <p>
2817-
* <b>PER_RESOLVER_CACHING</b>: Individual resovlers
2817+
* <b>PER_RESOLVER_CACHING</b>: Individual resolvers
28182818
* that you specify are cached.</p>
28192819
* </li>
28202820
* </ul>
@@ -2870,7 +2870,7 @@ export interface UpdateApiCacheRequest {
28702870
* </li>
28712871
* </ul>
28722872
* <p>Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.</p>
2873-
* <p>The following legacy instance types are avaible, but their use is discouraged:</p>
2873+
* <p>The following legacy instance types are available, but their use is discouraged:</p>
28742874
* <ul>
28752875
* <li>
28762876
* <p>

clients/client-backup/Backup.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,9 +1622,6 @@ export class Backup extends BackupClient {
16221622

16231623
/**
16241624
* <p>Recovers the saved resource identified by an Amazon Resource Name (ARN). </p>
1625-
* <p>If the resource ARN is included in the request, then the last complete backup of that
1626-
* resource is recovered. If the ARN of a recovery point is supplied, then that recovery point
1627-
* is restored.</p>
16281625
*/
16291626
public startRestoreJob(
16301627
args: StartRestoreJobCommandInput,

0 commit comments

Comments
 (0)