Skip to content

Commit aaa2d3e

Browse files
author
AWS
committed
AWS Glue Update: This change is for releasing TestConnection api SDK model
1 parent 9ed8c32 commit aaa2d3e

File tree

2 files changed

+67
-0
lines changed

2 files changed

+67
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Glue",
4+
"contributor": "",
5+
"description": "This change is for releasing TestConnection api SDK model"
6+
}

services/glue/src/main/resources/codegen-resources/service-2.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3309,6 +3309,27 @@
33093309
],
33103310
"documentation":"<p>Adds tags to a resource. A tag is a label you can assign to an Amazon Web Services resource. In Glue, you can tag only certain resources. For information about what resources you can tag, see <a href=\"https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html\">Amazon Web Services Tags in Glue</a>.</p>"
33113311
},
3312+
"TestConnection":{
3313+
"name":"TestConnection",
3314+
"http":{
3315+
"method":"POST",
3316+
"requestUri":"/"
3317+
},
3318+
"input":{"shape":"TestConnectionRequest"},
3319+
"output":{"shape":"TestConnectionResponse"},
3320+
"errors":[
3321+
{"shape":"InvalidInputException"},
3322+
{"shape":"OperationTimeoutException"},
3323+
{"shape":"ResourceNumberLimitExceededException"},
3324+
{"shape":"GlueEncryptionException"},
3325+
{"shape":"FederationSourceException"},
3326+
{"shape":"AccessDeniedException"},
3327+
{"shape":"EntityNotFoundException"},
3328+
{"shape":"ConflictException"},
3329+
{"shape":"InternalServiceException"}
3330+
],
3331+
"documentation":"<p>Tests a connection to a service to validate the service credentials that you provide.</p> <p>You can either provide an existing connection name or a <code>TestConnectionInput</code> for testing a non-existing connection input. Providing both at the same time will cause an error.</p> <p>If the action is successful, the service sends back an HTTP 200 response.</p>"
3332+
},
33123333
"UntagResource":{
33133334
"name":"UntagResource",
33143335
"http":{
@@ -22107,6 +22128,46 @@
2210722128
"FIND_MATCHES"
2210822129
]
2210922130
},
22131+
"TestConnectionInput":{
22132+
"type":"structure",
22133+
"required":[
22134+
"ConnectionType",
22135+
"ConnectionProperties"
22136+
],
22137+
"members":{
22138+
"ConnectionType":{
22139+
"shape":"ConnectionType",
22140+
"documentation":"<p>The type of connection to test. This operation is only available for the <code>JDBC</code> or <code>SALESFORCE</code> connection types.</p>"
22141+
},
22142+
"ConnectionProperties":{
22143+
"shape":"ConnectionProperties",
22144+
"documentation":"<p>The key-value pairs that define parameters for the connection.</p> <p>JDBC connections use the following connection properties:</p> <ul> <li> <p>Required: All of (<code>HOST</code>, <code>PORT</code>, <code>JDBC_ENGINE</code>) or <code>JDBC_CONNECTION_URL</code>.</p> </li> <li> <p>Required: All of (<code>USERNAME</code>, <code>PASSWORD</code>) or <code>SECRET_ID</code>.</p> </li> <li> <p>Optional: <code>JDBC_ENFORCE_SSL</code>, <code>CUSTOM_JDBC_CERT</code>, <code>CUSTOM_JDBC_CERT_STRING</code>, <code>SKIP_CUSTOM_JDBC_CERT_VALIDATION</code>. These parameters are used to configure SSL with JDBC.</p> </li> </ul> <p>SALESFORCE connections require the <code>AuthenticationConfiguration</code> member to be configured.</p>"
22145+
},
22146+
"AuthenticationConfiguration":{
22147+
"shape":"AuthenticationConfigurationInput",
22148+
"documentation":"<p>A structure containing the authentication configuration in the TestConnection request. Required for a connection to Salesforce using OAuth authentication.</p>"
22149+
}
22150+
},
22151+
"documentation":"<p>A structure that is used to specify testing a connection to a service.</p>"
22152+
},
22153+
"TestConnectionRequest":{
22154+
"type":"structure",
22155+
"members":{
22156+
"ConnectionName":{
22157+
"shape":"NameString",
22158+
"documentation":"<p>Optional. The name of the connection to test. If only name is provided, the operation will get the connection and use that for testing.</p>"
22159+
},
22160+
"TestConnectionInput":{
22161+
"shape":"TestConnectionInput",
22162+
"documentation":"<p>A structure that is used to specify testing a connection to a service.</p>"
22163+
}
22164+
}
22165+
},
22166+
"TestConnectionResponse":{
22167+
"type":"structure",
22168+
"members":{
22169+
}
22170+
},
2211022171
"ThrottlingException":{
2211122172
"type":"structure",
2211222173
"members":{

0 commit comments

Comments
 (0)