Skip to content

Commit 4d79819

Browse files
authored
feat(clients): update clients as of 2021/10/22 (#2924)
1 parent ec65ccc commit 4d79819

File tree

200 files changed

+33432
-1844
lines changed

Some content is hidden

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

200 files changed

+33432
-1844
lines changed

clients/client-appflow/src/models/models_0.ts

+29
Original file line numberDiff line numberDiff line change
@@ -3392,6 +3392,30 @@ export namespace MarketoSourceProperties {
33923392
});
33933393
}
33943394

3395+
export enum S3InputFileType {
3396+
CSV = "CSV",
3397+
JSON = "JSON",
3398+
}
3399+
3400+
/**
3401+
* <p> When you use Amazon S3 as the source, the configuration format that you provide the flow input data. </p>
3402+
*/
3403+
export interface S3InputFormatConfig {
3404+
/**
3405+
* <p> The file type that Amazon AppFlow gets from your Amazon S3 bucket. </p>
3406+
*/
3407+
s3InputFileType?: S3InputFileType | string;
3408+
}
3409+
3410+
export namespace S3InputFormatConfig {
3411+
/**
3412+
* @internal
3413+
*/
3414+
export const filterSensitiveLog = (obj: S3InputFormatConfig): any => ({
3415+
...obj,
3416+
});
3417+
}
3418+
33953419
/**
33963420
* <p> The properties that are applied when Amazon S3 is being used as the flow source. </p>
33973421
*/
@@ -3405,6 +3429,11 @@ export interface S3SourceProperties {
34053429
* <p> The object key for the Amazon S3 bucket in which the source files are stored. </p>
34063430
*/
34073431
bucketPrefix?: string;
3432+
3433+
/**
3434+
* <p> When you use Amazon S3 as the source, the configuration format that you provide the flow input data. </p>
3435+
*/
3436+
s3InputFormatConfig?: S3InputFormatConfig;
34083437
}
34093438

34103439
export namespace S3SourceProperties {

clients/client-appflow/src/protocols/Aws_restJson1.ts

+22
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ import {
134134
RedshiftMetadata,
135135
ResourceNotFoundException,
136136
S3DestinationProperties,
137+
S3InputFormatConfig,
137138
S3Metadata,
138139
S3OutputFormatConfig,
139140
S3SourceProperties,
@@ -3015,6 +3016,13 @@ const serializeAws_restJson1S3DestinationProperties = (
30153016
};
30163017
};
30173018

3019+
const serializeAws_restJson1S3InputFormatConfig = (input: S3InputFormatConfig, context: __SerdeContext): any => {
3020+
return {
3021+
...(input.s3InputFileType !== undefined &&
3022+
input.s3InputFileType !== null && { s3InputFileType: input.s3InputFileType }),
3023+
};
3024+
};
3025+
30183026
const serializeAws_restJson1S3OutputFormatConfig = (input: S3OutputFormatConfig, context: __SerdeContext): any => {
30193027
return {
30203028
...(input.aggregationConfig !== undefined &&
@@ -3031,6 +3039,10 @@ const serializeAws_restJson1S3SourceProperties = (input: S3SourceProperties, con
30313039
return {
30323040
...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
30333041
...(input.bucketPrefix !== undefined && input.bucketPrefix !== null && { bucketPrefix: input.bucketPrefix }),
3042+
...(input.s3InputFormatConfig !== undefined &&
3043+
input.s3InputFormatConfig !== null && {
3044+
s3InputFormatConfig: serializeAws_restJson1S3InputFormatConfig(input.s3InputFormatConfig, context),
3045+
}),
30343046
};
30353047
};
30363048

@@ -4490,6 +4502,12 @@ const deserializeAws_restJson1S3DestinationProperties = (
44904502
} as any;
44914503
};
44924504

4505+
const deserializeAws_restJson1S3InputFormatConfig = (output: any, context: __SerdeContext): S3InputFormatConfig => {
4506+
return {
4507+
s3InputFileType: __expectString(output.s3InputFileType),
4508+
} as any;
4509+
};
4510+
44934511
const deserializeAws_restJson1S3Metadata = (output: any, context: __SerdeContext): S3Metadata => {
44944512
return {} as any;
44954513
};
@@ -4512,6 +4530,10 @@ const deserializeAws_restJson1S3SourceProperties = (output: any, context: __Serd
45124530
return {
45134531
bucketName: __expectString(output.bucketName),
45144532
bucketPrefix: __expectString(output.bucketPrefix),
4533+
s3InputFormatConfig:
4534+
output.s3InputFormatConfig !== undefined && output.s3InputFormatConfig !== null
4535+
? deserializeAws_restJson1S3InputFormatConfig(output.s3InputFormatConfig, context)
4536+
: undefined,
45154537
} as any;
45164538
};
45174539

clients/client-application-insights/src/endpoints.ts

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
22
import { RegionInfoProvider } from "@aws-sdk/types";
33

4-
const regionHash: RegionHash = {};
4+
const regionHash: RegionHash = {
5+
"us-gov-east-1": {
6+
hostname: "applicationinsights.us-gov-east-1.amazonaws.com",
7+
signingRegion: "us-gov-east-1",
8+
},
9+
"us-gov-west-1": {
10+
hostname: "applicationinsights.us-gov-west-1.amazonaws.com",
11+
signingRegion: "us-gov-west-1",
12+
},
13+
};
514

615
const partitionHash: PartitionHash = {
716
aws: {

clients/client-auditmanager/src/AuditManager.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ export class AuditManager extends AuditManagerClient {
794794
}
795795

796796
/**
797-
* <p>Removes the specified member account as a delegated administrator for Audit Manager. </p>
797+
* <p>Removes the specified member Amazon Web Services account as a delegated administrator for Audit Manager. </p>
798798
* <important>
799799
* <p>When you remove a delegated administrator from your Audit Manager settings, or when you
800800
* deregister a delegated administrator from Organizations, you continue to have access
@@ -1336,7 +1336,7 @@ export class AuditManager extends AuditManagerClient {
13361336

13371337
/**
13381338
* <p>
1339-
* Returns the settings for the specified account.
1339+
* Returns the settings for the specified Amazon Web Services account.
13401340
* </p>
13411341
*/
13421342
public getSettings(args: GetSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetSettingsCommandOutput>;
@@ -1599,7 +1599,7 @@ export class AuditManager extends AuditManagerClient {
15991599

16001600
/**
16011601
* <p>
1602-
* Enables Audit Manager for the specified account.
1602+
* Enables Audit Manager for the specified Amazon Web Services account.
16031603
* </p>
16041604
*/
16051605
public registerAccount(
@@ -1633,7 +1633,7 @@ export class AuditManager extends AuditManagerClient {
16331633

16341634
/**
16351635
* <p>
1636-
* Enables an account within the organization as the delegated administrator for Audit Manager.
1636+
* Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.
16371637
* </p>
16381638
*/
16391639
public registerOrganizationAdminAccount(

clients/client-auditmanager/src/commands/DeregisterOrganizationAdminAccountCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface DeregisterOrganizationAdminAccountCommandOutput
2727
__MetadataBearer {}
2828

2929
/**
30-
* <p>Removes the specified member account as a delegated administrator for Audit Manager. </p>
30+
* <p>Removes the specified member Amazon Web Services account as a delegated administrator for Audit Manager. </p>
3131
* <important>
3232
* <p>When you remove a delegated administrator from your Audit Manager settings, or when you
3333
* deregister a delegated administrator from Organizations, you continue to have access

clients/client-auditmanager/src/commands/GetSettingsCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface GetSettingsCommandOutput extends GetSettingsResponse, __Metadat
2323

2424
/**
2525
* <p>
26-
* Returns the settings for the specified account.
26+
* Returns the settings for the specified Amazon Web Services account.
2727
* </p>
2828
* @example
2929
* Use a bare-bones client and the command you need to make an API call.

clients/client-auditmanager/src/commands/RegisterAccountCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface RegisterAccountCommandOutput extends RegisterAccountResponse, _
2323

2424
/**
2525
* <p>
26-
* Enables Audit Manager for the specified account.
26+
* Enables Audit Manager for the specified Amazon Web Services account.
2727
* </p>
2828
* @example
2929
* Use a bare-bones client and the command you need to make an API call.

clients/client-auditmanager/src/commands/RegisterOrganizationAdminAccountCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface RegisterOrganizationAdminAccountCommandOutput
2525

2626
/**
2727
* <p>
28-
* Enables an account within the organization as the delegated administrator for Audit Manager.
28+
* Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.
2929
* </p>
3030
* @example
3131
* Use a bare-bones client and the command you need to make an API call.

clients/client-auditmanager/src/models/models_0.ts

+14-14
Original file line numberDiff line numberDiff line change
@@ -39,27 +39,27 @@ export enum ActionEnum {
3939

4040
/**
4141
* <p>
42-
* The wrapper of account details, such as account ID, email address, and so on.
42+
* The wrapper of Amazon Web Services account details, such as account ID, email address, and so on.
4343
* </p>
4444
*/
4545
export interface AWSAccount {
4646
/**
4747
* <p>
48-
* The identifier for the specified account.
48+
* The identifier for the specified Amazon Web Services account.
4949
* </p>
5050
*/
5151
id?: string;
5252

5353
/**
5454
* <p>
55-
* The email address associated with the specified account.
55+
* The email address associated with the specified Amazon Web Services account.
5656
* </p>
5757
*/
5858
emailAddress?: string;
5959

6060
/**
6161
* <p>
62-
* The name of the specified account.
62+
* The name of the specified Amazon Web Services account.
6363
* </p>
6464
*/
6565
name?: string;
@@ -568,13 +568,13 @@ export namespace AWSService {
568568

569569
/**
570570
* <p>
571-
* The wrapper that contains the accounts and services in scope for the assessment.
571+
* The wrapper that contains the Amazon Web Services accounts and services in scope for the assessment.
572572
* </p>
573573
*/
574574
export interface Scope {
575575
/**
576576
* <p>
577-
* The accounts included in the scope of the assessment.
577+
* The Amazon Web Services accounts included in the scope of the assessment.
578578
* </p>
579579
*/
580580
awsAccounts?: AWSAccount[];
@@ -651,7 +651,7 @@ export interface AssessmentMetadata {
651651

652652
/**
653653
* <p>
654-
* The wrapper of accounts and services in scope for the assessment.
654+
* The wrapper of Amazon Web Services accounts and services in scope for the assessment.
655655
* </p>
656656
*/
657657
scope?: Scope;
@@ -709,7 +709,7 @@ export interface Assessment {
709709

710710
/**
711711
* <p>
712-
* The account associated with the assessment.
712+
* The Amazon Web Services account associated with the assessment.
713713
* </p>
714714
*/
715715
awsAccount?: AWSAccount;
@@ -1093,7 +1093,7 @@ export interface AssessmentReport {
10931093

10941094
/**
10951095
* <p>
1096-
* The identifier for the specified account.
1096+
* The identifier for the specified Amazon Web Services account.
10971097
* </p>
10981098
*/
10991099
awsAccountId?: string;
@@ -1882,7 +1882,7 @@ export interface CreateAssessmentRequest {
18821882

18831883
/**
18841884
* <p>
1885-
* The wrapper that contains the accounts and services in scope for the assessment.
1885+
* The wrapper that contains the Amazon Web Services accounts and services in scope for the assessment.
18861886
* </p>
18871887
*/
18881888
scope: Scope | undefined;
@@ -2881,7 +2881,7 @@ export namespace GetAccountStatusRequest {
28812881
export interface GetAccountStatusResponse {
28822882
/**
28832883
* <p>
2884-
* The status of the specified account.
2884+
* The status of the specified Amazon Web Services account.
28852885
* </p>
28862886
*/
28872887
status?: AccountStatus | string;
@@ -3415,7 +3415,7 @@ export interface Evidence {
34153415

34163416
/**
34173417
* <p>
3418-
* The identifier for the specified account.
3418+
* The identifier for the specified Amazon Web Services account.
34193419
* </p>
34203420
*/
34213421
evidenceAwsAccountId?: string;
@@ -3479,14 +3479,14 @@ export interface Evidence {
34793479

34803480
/**
34813481
* <p>
3482-
* The account from which the evidence is collected, and its organization path.
3482+
* The Amazon Web Services account from which the evidence is collected, and its organization path.
34833483
* </p>
34843484
*/
34853485
awsOrganization?: string;
34863486

34873487
/**
34883488
* <p>
3489-
* The identifier for the specified account.
3489+
* The identifier for the specified Amazon Web Services account.
34903490
* </p>
34913491
*/
34923492
awsAccountId?: string;

clients/client-chime-sdk-messaging/README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ using your favorite package manager:
2828

2929
The AWS SDK is modulized by clients and commands.
3030
To send a request, you only need to import the `ChimeSDKMessagingClient` and
31-
the commands you need, for example `BatchCreateChannelMembershipCommand`:
31+
the commands you need, for example `AssociateChannelFlowCommand`:
3232

3333
```js
3434
// ES5 example
35-
const { ChimeSDKMessagingClient, BatchCreateChannelMembershipCommand } = require("@aws-sdk/client-chime-sdk-messaging");
35+
const { ChimeSDKMessagingClient, AssociateChannelFlowCommand } = require("@aws-sdk/client-chime-sdk-messaging");
3636
```
3737

3838
```ts
3939
// ES6+ example
40-
import { ChimeSDKMessagingClient, BatchCreateChannelMembershipCommand } from "@aws-sdk/client-chime-sdk-messaging";
40+
import { ChimeSDKMessagingClient, AssociateChannelFlowCommand } from "@aws-sdk/client-chime-sdk-messaging";
4141
```
4242

4343
### Usage
@@ -56,7 +56,7 @@ const client = new ChimeSDKMessagingClient({ region: "REGION" });
5656
const params = {
5757
/** input parameters */
5858
};
59-
const command = new BatchCreateChannelMembershipCommand(params);
59+
const command = new AssociateChannelFlowCommand(params);
6060
```
6161

6262
#### Async/await
@@ -135,15 +135,15 @@ const client = new AWS.ChimeSDKMessaging({ region: "REGION" });
135135

136136
// async/await.
137137
try {
138-
const data = await client.batchCreateChannelMembership(params);
138+
const data = await client.associateChannelFlow(params);
139139
// process data.
140140
} catch (error) {
141141
// error handling.
142142
}
143143

144144
// Promises.
145145
client
146-
.batchCreateChannelMembership(params)
146+
.associateChannelFlow(params)
147147
.then((data) => {
148148
// process data.
149149
})
@@ -152,7 +152,7 @@ client
152152
});
153153

154154
// callbacks.
155-
client.batchCreateChannelMembership(params, (err, data) => {
155+
client.associateChannelFlow(params, (err, data) => {
156156
// proccess err and data.
157157
});
158158
```

0 commit comments

Comments
 (0)