| 1 |
{ |
| 2 |
"version":"2.0", |
| 3 |
"metadata":{ |
| 4 |
"apiVersion":"2023-11-26", |
| 5 |
"endpointPrefix":"eks-auth", |
| 6 |
"jsonVersion":"1.1", |
| 7 |
"protocol":"rest-json", |
| 8 |
"serviceFullName":"Amazon EKS Auth", |
| 9 |
"serviceId":"EKS Auth", |
| 10 |
"signatureVersion":"v4", |
| 11 |
"signingName":"eks-auth", |
| 12 |
"uid":"eks-auth-2023-11-26" |
| 13 |
}, |
| 14 |
"operations":{ |
| 15 |
"AssumeRoleForPodIdentity":{ |
| 16 |
"name":"AssumeRoleForPodIdentity", |
| 17 |
"http":{ |
| 18 |
"method":"POST", |
| 19 |
"requestUri":"/clusters/{clusterName}/assume-role-for-pod-identity", |
| 20 |
"responseCode":200 |
| 21 |
}, |
| 22 |
"input":{"shape":"AssumeRoleForPodIdentityRequest"}, |
| 23 |
"output":{"shape":"AssumeRoleForPodIdentityResponse"}, |
| 24 |
"errors":[ |
| 25 |
{"shape":"ThrottlingException"}, |
| 26 |
{"shape":"InvalidRequestException"}, |
| 27 |
{"shape":"AccessDeniedException"}, |
| 28 |
{"shape":"InternalServerException"}, |
| 29 |
{"shape":"InvalidTokenException"}, |
| 30 |
{"shape":"InvalidParameterException"}, |
| 31 |
{"shape":"ExpiredTokenException"}, |
| 32 |
{"shape":"ResourceNotFoundException"}, |
| 33 |
{"shape":"ServiceUnavailableException"} |
| 34 |
] |
| 35 |
} |
| 36 |
}, |
| 37 |
"shapes":{ |
| 38 |
"AccessDeniedException":{ |
| 39 |
"type":"structure", |
| 40 |
"members":{ |
| 41 |
"message":{"shape":"String"} |
| 42 |
}, |
| 43 |
"error":{ |
| 44 |
"httpStatusCode":400, |
| 45 |
"senderFault":true |
| 46 |
}, |
| 47 |
"exception":true |
| 48 |
}, |
| 49 |
"AssumeRoleForPodIdentityRequest":{ |
| 50 |
"type":"structure", |
| 51 |
"required":[ |
| 52 |
"clusterName", |
| 53 |
"token" |
| 54 |
], |
| 55 |
"members":{ |
| 56 |
"clusterName":{ |
| 57 |
"shape":"ClusterName", |
| 58 |
"location":"uri", |
| 59 |
"locationName":"clusterName" |
| 60 |
}, |
| 61 |
"token":{"shape":"JwtToken"} |
| 62 |
} |
| 63 |
}, |
| 64 |
"AssumeRoleForPodIdentityResponse":{ |
| 65 |
"type":"structure", |
| 66 |
"required":[ |
| 67 |
"subject", |
| 68 |
"audience", |
| 69 |
"podIdentityAssociation", |
| 70 |
"assumedRoleUser", |
| 71 |
"credentials" |
| 72 |
], |
| 73 |
"members":{ |
| 74 |
"subject":{"shape":"Subject"}, |
| 75 |
"audience":{"shape":"String"}, |
| 76 |
"podIdentityAssociation":{"shape":"PodIdentityAssociation"}, |
| 77 |
"assumedRoleUser":{"shape":"AssumedRoleUser"}, |
| 78 |
"credentials":{"shape":"Credentials"} |
| 79 |
} |
| 80 |
}, |
| 81 |
"AssumedRoleUser":{ |
| 82 |
"type":"structure", |
| 83 |
"required":[ |
| 84 |
"arn", |
| 85 |
"assumeRoleId" |
| 86 |
], |
| 87 |
"members":{ |
| 88 |
"arn":{"shape":"String"}, |
| 89 |
"assumeRoleId":{"shape":"String"} |
| 90 |
} |
| 91 |
}, |
| 92 |
"ClusterName":{ |
| 93 |
"type":"string", |
| 94 |
"max":100, |
| 95 |
"min":1, |
| 96 |
"pattern":"[0-9A-Za-z][A-Za-z0-9\\-_]*" |
| 97 |
}, |
| 98 |
"Credentials":{ |
| 99 |
"type":"structure", |
| 100 |
"required":[ |
| 101 |
"sessionToken", |
| 102 |
"secretAccessKey", |
| 103 |
"accessKeyId", |
| 104 |
"expiration" |
| 105 |
], |
| 106 |
"members":{ |
| 107 |
"sessionToken":{"shape":"String"}, |
| 108 |
"secretAccessKey":{"shape":"String"}, |
| 109 |
"accessKeyId":{"shape":"String"}, |
| 110 |
"expiration":{"shape":"Timestamp"} |
| 111 |
}, |
| 112 |
"sensitive":true |
| 113 |
}, |
| 114 |
"ExpiredTokenException":{ |
| 115 |
"type":"structure", |
| 116 |
"members":{ |
| 117 |
"message":{"shape":"String"} |
| 118 |
}, |
| 119 |
"error":{ |
| 120 |
"httpStatusCode":400, |
| 121 |
"senderFault":true |
| 122 |
}, |
| 123 |
"exception":true |
| 124 |
}, |
| 125 |
"InternalServerException":{ |
| 126 |
"type":"structure", |
| 127 |
"members":{ |
| 128 |
"message":{"shape":"String"} |
| 129 |
}, |
| 130 |
"error":{"httpStatusCode":500}, |
| 131 |
"exception":true, |
| 132 |
"fault":true |
| 133 |
}, |
| 134 |
"InvalidParameterException":{ |
| 135 |
"type":"structure", |
| 136 |
"members":{ |
| 137 |
"message":{"shape":"String"} |
| 138 |
}, |
| 139 |
"error":{ |
| 140 |
"httpStatusCode":400, |
| 141 |
"senderFault":true |
| 142 |
}, |
| 143 |
"exception":true |
| 144 |
}, |
| 145 |
"InvalidRequestException":{ |
| 146 |
"type":"structure", |
| 147 |
"members":{ |
| 148 |
"message":{"shape":"String"} |
| 149 |
}, |
| 150 |
"error":{ |
| 151 |
"httpStatusCode":400, |
| 152 |
"senderFault":true |
| 153 |
}, |
| 154 |
"exception":true |
| 155 |
}, |
| 156 |
"InvalidTokenException":{ |
| 157 |
"type":"structure", |
| 158 |
"members":{ |
| 159 |
"message":{"shape":"String"} |
| 160 |
}, |
| 161 |
"error":{ |
| 162 |
"httpStatusCode":400, |
| 163 |
"senderFault":true |
| 164 |
}, |
| 165 |
"exception":true |
| 166 |
}, |
| 167 |
"JwtToken":{ |
| 168 |
"type":"string", |
| 169 |
"min":1, |
| 170 |
"pattern":"[A-Za-z0-9-_=]+\\.[A-Za-z0-9-_=]+\\.[A-Za-z0-9-_=]+", |
| 171 |
"sensitive":true |
| 172 |
}, |
| 173 |
"PodIdentityAssociation":{ |
| 174 |
"type":"structure", |
| 175 |
"required":[ |
| 176 |
"associationArn", |
| 177 |
"associationId" |
| 178 |
], |
| 179 |
"members":{ |
| 180 |
"associationArn":{"shape":"String"}, |
| 181 |
"associationId":{"shape":"String"} |
| 182 |
} |
| 183 |
}, |
| 184 |
"ResourceNotFoundException":{ |
| 185 |
"type":"structure", |
| 186 |
"members":{ |
| 187 |
"message":{"shape":"String"} |
| 188 |
}, |
| 189 |
"error":{ |
| 190 |
"httpStatusCode":404, |
| 191 |
"senderFault":true |
| 192 |
}, |
| 193 |
"exception":true |
| 194 |
}, |
| 195 |
"ServiceUnavailableException":{ |
| 196 |
"type":"structure", |
| 197 |
"members":{ |
| 198 |
"message":{"shape":"String"} |
| 199 |
}, |
| 200 |
"error":{"httpStatusCode":503}, |
| 201 |
"exception":true, |
| 202 |
"fault":true |
| 203 |
}, |
| 204 |
"String":{"type":"string"}, |
| 205 |
"Subject":{ |
| 206 |
"type":"structure", |
| 207 |
"required":[ |
| 208 |
"namespace", |
| 209 |
"serviceAccount" |
| 210 |
], |
| 211 |
"members":{ |
| 212 |
"namespace":{"shape":"String"}, |
| 213 |
"serviceAccount":{"shape":"String"} |
| 214 |
} |
| 215 |
}, |
| 216 |
"ThrottlingException":{ |
| 217 |
"type":"structure", |
| 218 |
"members":{ |
| 219 |
"message":{"shape":"String"} |
| 220 |
}, |
| 221 |
"error":{ |
| 222 |
"httpStatusCode":429, |
| 223 |
"senderFault":true |
| 224 |
}, |
| 225 |
"exception":true |
| 226 |
}, |
| 227 |
"Timestamp":{"type":"timestamp"} |
| 228 |
} |
| 229 |
} |