Skip to content

Commit 8d9fae8

Browse files
author
AWS
committed
Amazon DataZone Update: Introduces GetEnvironmentCredentials operation to SDK
1 parent 29c2bfe commit 8d9fae8

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-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": "Amazon DataZone",
4+
"contributor": "",
5+
"description": "Introduces GetEnvironmentCredentials operation to SDK"
6+
}

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

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,6 +1126,25 @@
11261126
],
11271127
"documentation":"<p>Gets the blueprint configuration in Amazon DataZone.</p>"
11281128
},
1129+
"GetEnvironmentCredentials":{
1130+
"name":"GetEnvironmentCredentials",
1131+
"http":{
1132+
"method":"GET",
1133+
"requestUri":"/v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/credentials",
1134+
"responseCode":200
1135+
},
1136+
"input":{"shape":"GetEnvironmentCredentialsInput"},
1137+
"output":{"shape":"GetEnvironmentCredentialsOutput"},
1138+
"errors":[
1139+
{"shape":"InternalServerException"},
1140+
{"shape":"ResourceNotFoundException"},
1141+
{"shape":"AccessDeniedException"},
1142+
{"shape":"ThrottlingException"},
1143+
{"shape":"ValidationException"},
1144+
{"shape":"UnauthorizedException"}
1145+
],
1146+
"documentation":"<p>Gets the credentials of an environment in Amazon DataZone.</p>"
1147+
},
11291148
"GetEnvironmentProfile":{
11301149
"name":"GetEnvironmentProfile",
11311150
"http":{
@@ -8062,6 +8081,49 @@
80628081
}
80638082
}
80648083
},
8084+
"GetEnvironmentCredentialsInput":{
8085+
"type":"structure",
8086+
"required":[
8087+
"domainIdentifier",
8088+
"environmentIdentifier"
8089+
],
8090+
"members":{
8091+
"domainIdentifier":{
8092+
"shape":"DomainId",
8093+
"documentation":"<p>The ID of the Amazon DataZone domain in which this environment and its credentials exist.</p>",
8094+
"location":"uri",
8095+
"locationName":"domainIdentifier"
8096+
},
8097+
"environmentIdentifier":{
8098+
"shape":"EnvironmentId",
8099+
"documentation":"<p>The ID of the environment whose credentials this operation gets.</p>",
8100+
"location":"uri",
8101+
"locationName":"environmentIdentifier"
8102+
}
8103+
}
8104+
},
8105+
"GetEnvironmentCredentialsOutput":{
8106+
"type":"structure",
8107+
"members":{
8108+
"accessKeyId":{
8109+
"shape":"String",
8110+
"documentation":"<p>The access key ID of the environment.</p>"
8111+
},
8112+
"expiration":{
8113+
"shape":"SyntheticTimestamp_date_time",
8114+
"documentation":"<p>The expiration timestamp of the environment credentials.</p>"
8115+
},
8116+
"secretAccessKey":{
8117+
"shape":"String",
8118+
"documentation":"<p>The secret access key of the environment credentials.</p>"
8119+
},
8120+
"sessionToken":{
8121+
"shape":"String",
8122+
"documentation":"<p>The session token of the environment credentials.</p>"
8123+
}
8124+
},
8125+
"sensitive":true
8126+
},
80658127
"GetEnvironmentInput":{
80668128
"type":"structure",
80678129
"required":[

0 commit comments

Comments
 (0)