@@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
6
6
7
7
import { commonParams } from "../endpoint/EndpointParameters" ;
8
8
import { GlueClientResolvedConfig , ServiceInputTypes , ServiceOutputTypes } from "../GlueClient" ;
9
- import { CreateConnectionRequest , CreateConnectionResponse } from "../models/models_0 " ;
9
+ import { CreateConnectionRequest , CreateConnectionResponse } from "../models/models_1 " ;
10
10
import { de_CreateConnectionCommand , se_CreateConnectionCommand } from "../protocols/Aws_json1_1" ;
11
11
12
12
/**
@@ -40,7 +40,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
40
40
* ConnectionInput: { // ConnectionInput
41
41
* Name: "STRING_VALUE", // required
42
42
* Description: "STRING_VALUE",
43
- * ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM", // required
43
+ * ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE" , // required
44
44
* MatchCriteria: [ // MatchCriteria
45
45
* "STRING_VALUE",
46
46
* ],
@@ -54,14 +54,36 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
54
54
* ],
55
55
* AvailabilityZone: "STRING_VALUE",
56
56
* },
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,
57
77
* },
58
78
* Tags: { // TagsMap
59
79
* "<keys>": "STRING_VALUE",
60
80
* },
61
81
* };
62
82
* const command = new CreateConnectionCommand(input);
63
83
* const response = await client.send(command);
64
- * // {};
84
+ * // { // CreateConnectionResponse
85
+ * // CreateConnectionStatus: "READY" || "IN_PROGRESS" || "FAILED",
86
+ * // };
65
87
*
66
88
* ```
67
89
*
0 commit comments