Skip to content

Commit 759dc88

Browse files
author
awstools
committed
feat(client-glue): AWS Glue now supports native SaaS connectivity: Salesforce connector available now
1 parent 659cea7 commit 759dc88

13 files changed

+1396
-629
lines changed

clients/client-glue/src/commands/CreateConnectionCommand.ts

+25-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
88
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
9-
import { CreateConnectionRequest, CreateConnectionResponse } from "../models/models_0";
9+
import { CreateConnectionRequest, CreateConnectionResponse } from "../models/models_1";
1010
import { de_CreateConnectionCommand, se_CreateConnectionCommand } from "../protocols/Aws_json1_1";
1111

1212
/**
@@ -40,7 +40,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
4040
* ConnectionInput: { // ConnectionInput
4141
* Name: "STRING_VALUE", // required
4242
* Description: "STRING_VALUE",
43-
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM", // required
43+
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE", // required
4444
* MatchCriteria: [ // MatchCriteria
4545
* "STRING_VALUE",
4646
* ],
@@ -54,14 +54,36 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
5454
* ],
5555
* AvailabilityZone: "STRING_VALUE",
5656
* },
57+
* AuthenticationConfiguration: { // AuthenticationConfigurationInput
58+
* AuthenticationType: "BASIC" || "OAUTH2" || "CUSTOM",
59+
* SecretArn: "STRING_VALUE",
60+
* OAuth2Properties: { // OAuth2PropertiesInput
61+
* OAuth2GrantType: "AUTHORIZATION_CODE" || "CLIENT_CREDENTIALS" || "JWT_BEARER",
62+
* OAuth2ClientApplication: { // OAuth2ClientApplication
63+
* UserManagedClientApplicationClientId: "STRING_VALUE",
64+
* AWSManagedClientApplicationReference: "STRING_VALUE",
65+
* },
66+
* TokenUrl: "STRING_VALUE",
67+
* TokenUrlParametersMap: { // TokenUrlParametersMap
68+
* "<keys>": "STRING_VALUE",
69+
* },
70+
* AuthorizationCodeProperties: { // AuthorizationCodeProperties
71+
* AuthorizationCode: "STRING_VALUE",
72+
* RedirectUri: "STRING_VALUE",
73+
* },
74+
* },
75+
* },
76+
* ValidateCredentials: true || false,
5777
* },
5878
* Tags: { // TagsMap
5979
* "<keys>": "STRING_VALUE",
6080
* },
6181
* };
6282
* const command = new CreateConnectionCommand(input);
6383
* const response = await client.send(command);
64-
* // {};
84+
* // { // CreateConnectionResponse
85+
* // CreateConnectionStatus: "READY" || "IN_PROGRESS" || "FAILED",
86+
* // };
6587
*
6688
* ```
6789
*

clients/client-glue/src/commands/CreateCrawlerCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
88
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
9-
import { CreateCrawlerRequest, CreateCrawlerResponse } from "../models/models_0";
9+
import { CreateCrawlerRequest, CreateCrawlerResponse } from "../models/models_1";
1010
import { de_CreateCrawlerCommand, se_CreateCrawlerCommand } from "../protocols/Aws_json1_1";
1111

1212
/**

clients/client-glue/src/commands/GetConnectionCommand.ts

+19-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface GetConnectionCommandOutput extends GetConnectionResponse, __Met
4545
* // Connection: { // Connection
4646
* // Name: "STRING_VALUE",
4747
* // Description: "STRING_VALUE",
48-
* // ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM",
48+
* // ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE",
4949
* // MatchCriteria: [ // MatchCriteria
5050
* // "STRING_VALUE",
5151
* // ],
@@ -62,6 +62,24 @@ export interface GetConnectionCommandOutput extends GetConnectionResponse, __Met
6262
* // CreationTime: new Date("TIMESTAMP"),
6363
* // LastUpdatedTime: new Date("TIMESTAMP"),
6464
* // LastUpdatedBy: "STRING_VALUE",
65+
* // Status: "READY" || "IN_PROGRESS" || "FAILED",
66+
* // StatusReason: "STRING_VALUE",
67+
* // LastConnectionValidationTime: new Date("TIMESTAMP"),
68+
* // AuthenticationConfiguration: { // AuthenticationConfiguration
69+
* // AuthenticationType: "BASIC" || "OAUTH2" || "CUSTOM",
70+
* // SecretArn: "STRING_VALUE",
71+
* // OAuth2Properties: { // OAuth2Properties
72+
* // OAuth2GrantType: "AUTHORIZATION_CODE" || "CLIENT_CREDENTIALS" || "JWT_BEARER",
73+
* // OAuth2ClientApplication: { // OAuth2ClientApplication
74+
* // UserManagedClientApplicationClientId: "STRING_VALUE",
75+
* // AWSManagedClientApplicationReference: "STRING_VALUE",
76+
* // },
77+
* // TokenUrl: "STRING_VALUE",
78+
* // TokenUrlParametersMap: { // TokenUrlParametersMap
79+
* // "<keys>": "STRING_VALUE",
80+
* // },
81+
* // },
82+
* // },
6583
* // },
6684
* // };
6785
*

clients/client-glue/src/commands/GetConnectionsCommand.ts

+20-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export interface GetConnectionsCommandOutput extends GetConnectionsResponse, __M
4040
* MatchCriteria: [ // MatchCriteria
4141
* "STRING_VALUE",
4242
* ],
43-
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM",
43+
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE",
4444
* },
4545
* HidePassword: true || false,
4646
* NextToken: "STRING_VALUE",
@@ -53,7 +53,7 @@ export interface GetConnectionsCommandOutput extends GetConnectionsResponse, __M
5353
* // { // Connection
5454
* // Name: "STRING_VALUE",
5555
* // Description: "STRING_VALUE",
56-
* // ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM",
56+
* // ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE",
5757
* // MatchCriteria: [ // MatchCriteria
5858
* // "STRING_VALUE",
5959
* // ],
@@ -70,6 +70,24 @@ export interface GetConnectionsCommandOutput extends GetConnectionsResponse, __M
7070
* // CreationTime: new Date("TIMESTAMP"),
7171
* // LastUpdatedTime: new Date("TIMESTAMP"),
7272
* // LastUpdatedBy: "STRING_VALUE",
73+
* // Status: "READY" || "IN_PROGRESS" || "FAILED",
74+
* // StatusReason: "STRING_VALUE",
75+
* // LastConnectionValidationTime: new Date("TIMESTAMP"),
76+
* // AuthenticationConfiguration: { // AuthenticationConfiguration
77+
* // AuthenticationType: "BASIC" || "OAUTH2" || "CUSTOM",
78+
* // SecretArn: "STRING_VALUE",
79+
* // OAuth2Properties: { // OAuth2Properties
80+
* // OAuth2GrantType: "AUTHORIZATION_CODE" || "CLIENT_CREDENTIALS" || "JWT_BEARER",
81+
* // OAuth2ClientApplication: { // OAuth2ClientApplication
82+
* // UserManagedClientApplicationClientId: "STRING_VALUE",
83+
* // AWSManagedClientApplicationReference: "STRING_VALUE",
84+
* // },
85+
* // TokenUrl: "STRING_VALUE",
86+
* // TokenUrlParametersMap: { // TokenUrlParametersMap
87+
* // "<keys>": "STRING_VALUE",
88+
* // },
89+
* // },
90+
* // },
7391
* // },
7492
* // ],
7593
* // NextToken: "STRING_VALUE",

clients/client-glue/src/commands/GetSchemaVersionCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
88
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
9-
import { GetSchemaVersionInput, GetSchemaVersionResponse } from "../models/models_1";
9+
import { GetSchemaVersionInput, GetSchemaVersionResponse } from "../models/models_2";
1010
import { de_GetSchemaVersionCommand, se_GetSchemaVersionCommand } from "../protocols/Aws_json1_1";
1111

1212
/**

clients/client-glue/src/commands/GetSchemaVersionsDiffCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
88
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
9-
import { GetSchemaVersionsDiffInput, GetSchemaVersionsDiffResponse } from "../models/models_1";
9+
import { GetSchemaVersionsDiffInput, GetSchemaVersionsDiffResponse } from "../models/models_2";
1010
import { de_GetSchemaVersionsDiffCommand, se_GetSchemaVersionsDiffCommand } from "../protocols/Aws_json1_1";
1111

1212
/**

clients/client-glue/src/commands/GetSecurityConfigurationCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
88
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
9-
import { GetSecurityConfigurationRequest, GetSecurityConfigurationResponse } from "../models/models_1";
9+
import { GetSecurityConfigurationRequest, GetSecurityConfigurationResponse } from "../models/models_2";
1010
import { de_GetSecurityConfigurationCommand, se_GetSecurityConfigurationCommand } from "../protocols/Aws_json1_1";
1111

1212
/**

clients/client-glue/src/commands/UpdateConnectionCommand.ts

+21-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export interface UpdateConnectionCommandOutput extends UpdateConnectionResponse,
4040
* ConnectionInput: { // ConnectionInput
4141
* Name: "STRING_VALUE", // required
4242
* Description: "STRING_VALUE",
43-
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM", // required
43+
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE", // required
4444
* MatchCriteria: [ // MatchCriteria
4545
* "STRING_VALUE",
4646
* ],
@@ -54,6 +54,26 @@ export interface UpdateConnectionCommandOutput extends UpdateConnectionResponse,
5454
* ],
5555
* AvailabilityZone: "STRING_VALUE",
5656
* },
57+
* AuthenticationConfiguration: { // AuthenticationConfigurationInput
58+
* AuthenticationType: "BASIC" || "OAUTH2" || "CUSTOM",
59+
* SecretArn: "STRING_VALUE",
60+
* OAuth2Properties: { // OAuth2PropertiesInput
61+
* OAuth2GrantType: "AUTHORIZATION_CODE" || "CLIENT_CREDENTIALS" || "JWT_BEARER",
62+
* OAuth2ClientApplication: { // OAuth2ClientApplication
63+
* UserManagedClientApplicationClientId: "STRING_VALUE",
64+
* AWSManagedClientApplicationReference: "STRING_VALUE",
65+
* },
66+
* TokenUrl: "STRING_VALUE",
67+
* TokenUrlParametersMap: { // TokenUrlParametersMap
68+
* "<keys>": "STRING_VALUE",
69+
* },
70+
* AuthorizationCodeProperties: { // AuthorizationCodeProperties
71+
* AuthorizationCode: "STRING_VALUE",
72+
* RedirectUri: "STRING_VALUE",
73+
* },
74+
* },
75+
* },
76+
* ValidateCredentials: true || false,
5777
* },
5878
* };
5979
* const command = new UpdateConnectionCommand(input);

0 commit comments

Comments
 (0)