github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/sso/2019-06-10/api-2.json (about)

     1  {
     2    "version":"2.0",
     3    "metadata":{
     4      "apiVersion":"2019-06-10",
     5      "endpointPrefix":"portal.sso",
     6      "jsonVersion":"1.1",
     7      "protocol":"rest-json",
     8      "serviceAbbreviation":"SSO",
     9      "serviceFullName":"AWS Single Sign-On",
    10      "serviceId":"SSO",
    11      "signatureVersion":"v4",
    12      "signingName":"awsssoportal",
    13      "uid":"sso-2019-06-10"
    14    },
    15    "operations":{
    16      "GetRoleCredentials":{
    17        "name":"GetRoleCredentials",
    18        "http":{
    19          "method":"GET",
    20          "requestUri":"/federation/credentials"
    21        },
    22        "input":{"shape":"GetRoleCredentialsRequest"},
    23        "output":{"shape":"GetRoleCredentialsResponse"},
    24        "errors":[
    25          {"shape":"InvalidRequestException"},
    26          {"shape":"UnauthorizedException"},
    27          {"shape":"TooManyRequestsException"},
    28          {"shape":"ResourceNotFoundException"}
    29        ],
    30        "authtype":"none"
    31      },
    32      "ListAccountRoles":{
    33        "name":"ListAccountRoles",
    34        "http":{
    35          "method":"GET",
    36          "requestUri":"/assignment/roles"
    37        },
    38        "input":{"shape":"ListAccountRolesRequest"},
    39        "output":{"shape":"ListAccountRolesResponse"},
    40        "errors":[
    41          {"shape":"InvalidRequestException"},
    42          {"shape":"UnauthorizedException"},
    43          {"shape":"TooManyRequestsException"},
    44          {"shape":"ResourceNotFoundException"}
    45        ],
    46        "authtype":"none"
    47      },
    48      "ListAccounts":{
    49        "name":"ListAccounts",
    50        "http":{
    51          "method":"GET",
    52          "requestUri":"/assignment/accounts"
    53        },
    54        "input":{"shape":"ListAccountsRequest"},
    55        "output":{"shape":"ListAccountsResponse"},
    56        "errors":[
    57          {"shape":"InvalidRequestException"},
    58          {"shape":"UnauthorizedException"},
    59          {"shape":"TooManyRequestsException"},
    60          {"shape":"ResourceNotFoundException"}
    61        ],
    62        "authtype":"none"
    63      },
    64      "Logout":{
    65        "name":"Logout",
    66        "http":{
    67          "method":"POST",
    68          "requestUri":"/logout"
    69        },
    70        "input":{"shape":"LogoutRequest"},
    71        "errors":[
    72          {"shape":"InvalidRequestException"},
    73          {"shape":"UnauthorizedException"},
    74          {"shape":"TooManyRequestsException"}
    75        ],
    76        "authtype":"none"
    77      }
    78    },
    79    "shapes":{
    80      "AccessKeyType":{"type":"string"},
    81      "AccessTokenType":{
    82        "type":"string",
    83        "sensitive":true
    84      },
    85      "AccountIdType":{"type":"string"},
    86      "AccountInfo":{
    87        "type":"structure",
    88        "members":{
    89          "accountId":{"shape":"AccountIdType"},
    90          "accountName":{"shape":"AccountNameType"},
    91          "emailAddress":{"shape":"EmailAddressType"}
    92        }
    93      },
    94      "AccountListType":{
    95        "type":"list",
    96        "member":{"shape":"AccountInfo"}
    97      },
    98      "AccountNameType":{"type":"string"},
    99      "EmailAddressType":{
   100        "type":"string",
   101        "max":254,
   102        "min":1
   103      },
   104      "ErrorDescription":{"type":"string"},
   105      "ExpirationTimestampType":{"type":"long"},
   106      "GetRoleCredentialsRequest":{
   107        "type":"structure",
   108        "required":[
   109          "roleName",
   110          "accountId",
   111          "accessToken"
   112        ],
   113        "members":{
   114          "roleName":{
   115            "shape":"RoleNameType",
   116            "location":"querystring",
   117            "locationName":"role_name"
   118          },
   119          "accountId":{
   120            "shape":"AccountIdType",
   121            "location":"querystring",
   122            "locationName":"account_id"
   123          },
   124          "accessToken":{
   125            "shape":"AccessTokenType",
   126            "location":"header",
   127            "locationName":"x-amz-sso_bearer_token"
   128          }
   129        }
   130      },
   131      "GetRoleCredentialsResponse":{
   132        "type":"structure",
   133        "members":{
   134          "roleCredentials":{"shape":"RoleCredentials"}
   135        }
   136      },
   137      "InvalidRequestException":{
   138        "type":"structure",
   139        "members":{
   140          "message":{"shape":"ErrorDescription"}
   141        },
   142        "error":{"httpStatusCode":400},
   143        "exception":true
   144      },
   145      "ListAccountRolesRequest":{
   146        "type":"structure",
   147        "required":[
   148          "accessToken",
   149          "accountId"
   150        ],
   151        "members":{
   152          "nextToken":{
   153            "shape":"NextTokenType",
   154            "location":"querystring",
   155            "locationName":"next_token"
   156          },
   157          "maxResults":{
   158            "shape":"MaxResultType",
   159            "location":"querystring",
   160            "locationName":"max_result"
   161          },
   162          "accessToken":{
   163            "shape":"AccessTokenType",
   164            "location":"header",
   165            "locationName":"x-amz-sso_bearer_token"
   166          },
   167          "accountId":{
   168            "shape":"AccountIdType",
   169            "location":"querystring",
   170            "locationName":"account_id"
   171          }
   172        }
   173      },
   174      "ListAccountRolesResponse":{
   175        "type":"structure",
   176        "members":{
   177          "nextToken":{"shape":"NextTokenType"},
   178          "roleList":{"shape":"RoleListType"}
   179        }
   180      },
   181      "ListAccountsRequest":{
   182        "type":"structure",
   183        "required":["accessToken"],
   184        "members":{
   185          "nextToken":{
   186            "shape":"NextTokenType",
   187            "location":"querystring",
   188            "locationName":"next_token"
   189          },
   190          "maxResults":{
   191            "shape":"MaxResultType",
   192            "location":"querystring",
   193            "locationName":"max_result"
   194          },
   195          "accessToken":{
   196            "shape":"AccessTokenType",
   197            "location":"header",
   198            "locationName":"x-amz-sso_bearer_token"
   199          }
   200        }
   201      },
   202      "ListAccountsResponse":{
   203        "type":"structure",
   204        "members":{
   205          "nextToken":{"shape":"NextTokenType"},
   206          "accountList":{"shape":"AccountListType"}
   207        }
   208      },
   209      "LogoutRequest":{
   210        "type":"structure",
   211        "required":["accessToken"],
   212        "members":{
   213          "accessToken":{
   214            "shape":"AccessTokenType",
   215            "location":"header",
   216            "locationName":"x-amz-sso_bearer_token"
   217          }
   218        }
   219      },
   220      "MaxResultType":{
   221        "type":"integer",
   222        "box":true,
   223        "max":100,
   224        "min":1
   225      },
   226      "NextTokenType":{"type":"string"},
   227      "ResourceNotFoundException":{
   228        "type":"structure",
   229        "members":{
   230          "message":{"shape":"ErrorDescription"}
   231        },
   232        "error":{"httpStatusCode":404},
   233        "exception":true
   234      },
   235      "RoleCredentials":{
   236        "type":"structure",
   237        "members":{
   238          "accessKeyId":{"shape":"AccessKeyType"},
   239          "secretAccessKey":{"shape":"SecretAccessKeyType"},
   240          "sessionToken":{"shape":"SessionTokenType"},
   241          "expiration":{"shape":"ExpirationTimestampType"}
   242        }
   243      },
   244      "RoleInfo":{
   245        "type":"structure",
   246        "members":{
   247          "roleName":{"shape":"RoleNameType"},
   248          "accountId":{"shape":"AccountIdType"}
   249        }
   250      },
   251      "RoleListType":{
   252        "type":"list",
   253        "member":{"shape":"RoleInfo"}
   254      },
   255      "RoleNameType":{"type":"string"},
   256      "SecretAccessKeyType":{
   257        "type":"string",
   258        "sensitive":true
   259      },
   260      "SessionTokenType":{
   261        "type":"string",
   262        "sensitive":true
   263      },
   264      "TooManyRequestsException":{
   265        "type":"structure",
   266        "members":{
   267          "message":{"shape":"ErrorDescription"}
   268        },
   269        "error":{"httpStatusCode":429},
   270        "exception":true
   271      },
   272      "UnauthorizedException":{
   273        "type":"structure",
   274        "members":{
   275          "message":{"shape":"ErrorDescription"}
   276        },
   277        "error":{"httpStatusCode":401},
   278        "exception":true
   279      }
   280    }
   281  }