Skip to content

Commit

Permalink
feat(client-glue): AWS Glue now supports native SaaS connectivity: Sa…
Browse files Browse the repository at this point in the history
…lesforce connector available now
  • Loading branch information
awstools committed Jun 5, 2024
1 parent 659cea7 commit 759dc88
Show file tree
Hide file tree
Showing 13 changed files with 1,396 additions and 629 deletions.
28 changes: 25 additions & 3 deletions clients/client-glue/src/commands/CreateConnectionCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
import { CreateConnectionRequest, CreateConnectionResponse } from "../models/models_0";
import { CreateConnectionRequest, CreateConnectionResponse } from "../models/models_1";
import { de_CreateConnectionCommand, se_CreateConnectionCommand } from "../protocols/Aws_json1_1";

/**
Expand Down Expand Up @@ -40,7 +40,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
* ConnectionInput: { // ConnectionInput
* Name: "STRING_VALUE", // required
* Description: "STRING_VALUE",
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM", // required
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE", // required
* MatchCriteria: [ // MatchCriteria
* "STRING_VALUE",
* ],
Expand All @@ -54,14 +54,36 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
* ],
* AvailabilityZone: "STRING_VALUE",
* },
* AuthenticationConfiguration: { // AuthenticationConfigurationInput
* AuthenticationType: "BASIC" || "OAUTH2" || "CUSTOM",
* SecretArn: "STRING_VALUE",
* OAuth2Properties: { // OAuth2PropertiesInput
* OAuth2GrantType: "AUTHORIZATION_CODE" || "CLIENT_CREDENTIALS" || "JWT_BEARER",
* OAuth2ClientApplication: { // OAuth2ClientApplication
* UserManagedClientApplicationClientId: "STRING_VALUE",
* AWSManagedClientApplicationReference: "STRING_VALUE",
* },
* TokenUrl: "STRING_VALUE",
* TokenUrlParametersMap: { // TokenUrlParametersMap
* "<keys>": "STRING_VALUE",
* },
* AuthorizationCodeProperties: { // AuthorizationCodeProperties
* AuthorizationCode: "STRING_VALUE",
* RedirectUri: "STRING_VALUE",
* },
* },
* },
* ValidateCredentials: true || false,
* },
* Tags: { // TagsMap
* "<keys>": "STRING_VALUE",
* },
* };
* const command = new CreateConnectionCommand(input);
* const response = await client.send(command);
* // {};
* // { // CreateConnectionResponse
* // CreateConnectionStatus: "READY" || "IN_PROGRESS" || "FAILED",
* // };
*
* ```
*
Expand Down
2 changes: 1 addition & 1 deletion clients/client-glue/src/commands/CreateCrawlerCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
import { CreateCrawlerRequest, CreateCrawlerResponse } from "../models/models_0";
import { CreateCrawlerRequest, CreateCrawlerResponse } from "../models/models_1";
import { de_CreateCrawlerCommand, se_CreateCrawlerCommand } from "../protocols/Aws_json1_1";

/**
Expand Down
20 changes: 19 additions & 1 deletion clients/client-glue/src/commands/GetConnectionCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export interface GetConnectionCommandOutput extends GetConnectionResponse, __Met
* // Connection: { // Connection
* // Name: "STRING_VALUE",
* // Description: "STRING_VALUE",
* // ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM",
* // ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE",
* // MatchCriteria: [ // MatchCriteria
* // "STRING_VALUE",
* // ],
Expand All @@ -62,6 +62,24 @@ export interface GetConnectionCommandOutput extends GetConnectionResponse, __Met
* // CreationTime: new Date("TIMESTAMP"),
* // LastUpdatedTime: new Date("TIMESTAMP"),
* // LastUpdatedBy: "STRING_VALUE",
* // Status: "READY" || "IN_PROGRESS" || "FAILED",
* // StatusReason: "STRING_VALUE",
* // LastConnectionValidationTime: new Date("TIMESTAMP"),
* // AuthenticationConfiguration: { // AuthenticationConfiguration
* // AuthenticationType: "BASIC" || "OAUTH2" || "CUSTOM",
* // SecretArn: "STRING_VALUE",
* // OAuth2Properties: { // OAuth2Properties
* // OAuth2GrantType: "AUTHORIZATION_CODE" || "CLIENT_CREDENTIALS" || "JWT_BEARER",
* // OAuth2ClientApplication: { // OAuth2ClientApplication
* // UserManagedClientApplicationClientId: "STRING_VALUE",
* // AWSManagedClientApplicationReference: "STRING_VALUE",
* // },
* // TokenUrl: "STRING_VALUE",
* // TokenUrlParametersMap: { // TokenUrlParametersMap
* // "<keys>": "STRING_VALUE",
* // },
* // },
* // },
* // },
* // };
*
Expand Down
22 changes: 20 additions & 2 deletions clients/client-glue/src/commands/GetConnectionsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface GetConnectionsCommandOutput extends GetConnectionsResponse, __M
* MatchCriteria: [ // MatchCriteria
* "STRING_VALUE",
* ],
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM",
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE",
* },
* HidePassword: true || false,
* NextToken: "STRING_VALUE",
Expand All @@ -53,7 +53,7 @@ export interface GetConnectionsCommandOutput extends GetConnectionsResponse, __M
* // { // Connection
* // Name: "STRING_VALUE",
* // Description: "STRING_VALUE",
* // ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM",
* // ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE",
* // MatchCriteria: [ // MatchCriteria
* // "STRING_VALUE",
* // ],
Expand All @@ -70,6 +70,24 @@ export interface GetConnectionsCommandOutput extends GetConnectionsResponse, __M
* // CreationTime: new Date("TIMESTAMP"),
* // LastUpdatedTime: new Date("TIMESTAMP"),
* // LastUpdatedBy: "STRING_VALUE",
* // Status: "READY" || "IN_PROGRESS" || "FAILED",
* // StatusReason: "STRING_VALUE",
* // LastConnectionValidationTime: new Date("TIMESTAMP"),
* // AuthenticationConfiguration: { // AuthenticationConfiguration
* // AuthenticationType: "BASIC" || "OAUTH2" || "CUSTOM",
* // SecretArn: "STRING_VALUE",
* // OAuth2Properties: { // OAuth2Properties
* // OAuth2GrantType: "AUTHORIZATION_CODE" || "CLIENT_CREDENTIALS" || "JWT_BEARER",
* // OAuth2ClientApplication: { // OAuth2ClientApplication
* // UserManagedClientApplicationClientId: "STRING_VALUE",
* // AWSManagedClientApplicationReference: "STRING_VALUE",
* // },
* // TokenUrl: "STRING_VALUE",
* // TokenUrlParametersMap: { // TokenUrlParametersMap
* // "<keys>": "STRING_VALUE",
* // },
* // },
* // },
* // },
* // ],
* // NextToken: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
import { GetSchemaVersionInput, GetSchemaVersionResponse } from "../models/models_1";
import { GetSchemaVersionInput, GetSchemaVersionResponse } from "../models/models_2";
import { de_GetSchemaVersionCommand, se_GetSchemaVersionCommand } from "../protocols/Aws_json1_1";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
import { GetSchemaVersionsDiffInput, GetSchemaVersionsDiffResponse } from "../models/models_1";
import { GetSchemaVersionsDiffInput, GetSchemaVersionsDiffResponse } from "../models/models_2";
import { de_GetSchemaVersionsDiffCommand, se_GetSchemaVersionsDiffCommand } from "../protocols/Aws_json1_1";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
import { GetSecurityConfigurationRequest, GetSecurityConfigurationResponse } from "../models/models_1";
import { GetSecurityConfigurationRequest, GetSecurityConfigurationResponse } from "../models/models_2";
import { de_GetSecurityConfigurationCommand, se_GetSecurityConfigurationCommand } from "../protocols/Aws_json1_1";

/**
Expand Down
22 changes: 21 additions & 1 deletion clients/client-glue/src/commands/UpdateConnectionCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface UpdateConnectionCommandOutput extends UpdateConnectionResponse,
* ConnectionInput: { // ConnectionInput
* Name: "STRING_VALUE", // required
* Description: "STRING_VALUE",
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM", // required
* ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE", // required
* MatchCriteria: [ // MatchCriteria
* "STRING_VALUE",
* ],
Expand All @@ -54,6 +54,26 @@ export interface UpdateConnectionCommandOutput extends UpdateConnectionResponse,
* ],
* AvailabilityZone: "STRING_VALUE",
* },
* AuthenticationConfiguration: { // AuthenticationConfigurationInput
* AuthenticationType: "BASIC" || "OAUTH2" || "CUSTOM",
* SecretArn: "STRING_VALUE",
* OAuth2Properties: { // OAuth2PropertiesInput
* OAuth2GrantType: "AUTHORIZATION_CODE" || "CLIENT_CREDENTIALS" || "JWT_BEARER",
* OAuth2ClientApplication: { // OAuth2ClientApplication
* UserManagedClientApplicationClientId: "STRING_VALUE",
* AWSManagedClientApplicationReference: "STRING_VALUE",
* },
* TokenUrl: "STRING_VALUE",
* TokenUrlParametersMap: { // TokenUrlParametersMap
* "<keys>": "STRING_VALUE",
* },
* AuthorizationCodeProperties: { // AuthorizationCodeProperties
* AuthorizationCode: "STRING_VALUE",
* RedirectUri: "STRING_VALUE",
* },
* },
* },
* ValidateCredentials: true || false,
* },
* };
* const command = new UpdateConnectionCommand(input);
Expand Down
Loading

0 comments on commit 759dc88

Please sign in to comment.