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

     1  {
     2    "version": "2.0",
     3    "service": "<p>AWS Single Sign-On (SSO) OpenID Connect (OIDC) is a web service that enables a client (such as AWS CLI or a native application) to register with AWS SSO. The service also enables the client to fetch the user’s access token upon successful authentication and authorization with AWS SSO. This service conforms with the OAuth 2.0 based implementation of the device authorization grant standard (<a href=\"https://tools.ietf.org/html/rfc8628\">https://tools.ietf.org/html/rfc8628</a>).</p> <p>For general information about AWS SSO, see <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html\">What is AWS Single Sign-On?</a> in the <i>AWS SSO User Guide</i>.</p> <p>This API reference guide describes the AWS SSO OIDC operations that you can call programatically and includes detailed information on data types and errors.</p> <note> <p>AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms such as Java, Ruby, .Net, iOS, and Android. The SDKs provide a convenient way to create programmatic access to AWS SSO and other AWS services. For more information about the AWS SDKs, including how to download and install them, see <a href=\"http://aws.amazon.com/tools/\">Tools for Amazon Web Services</a>.</p> </note>",
     4    "operations": {
     5      "CreateToken": "<p>Creates and returns an access token for the authorized client. The access token issued will be used to fetch short-term credentials for the assigned roles in the AWS account.</p>",
     6      "RegisterClient": "<p>Registers a client with AWS SSO. This allows clients to initiate device authorization. The output should be persisted for reuse through many authentication requests.</p>",
     7      "StartDeviceAuthorization": "<p>Initiates device authorization by requesting a pair of verification codes from the authorization service.</p>"
     8    },
     9    "shapes": {
    10      "AccessDeniedException": {
    11        "base": "<p>You do not have sufficient access to perform this action.</p>",
    12        "refs": {
    13        }
    14      },
    15      "AccessToken": {
    16        "base": null,
    17        "refs": {
    18          "CreateTokenResponse$accessToken": "<p>An opaque token to access AWS SSO resources assigned to a user.</p>"
    19        }
    20      },
    21      "AuthCode": {
    22        "base": null,
    23        "refs": {
    24          "CreateTokenRequest$code": "<p>The authorization code received from the authorization service. This parameter is required to perform an authorization grant request to get access to a token.</p>"
    25        }
    26      },
    27      "AuthorizationPendingException": {
    28        "base": "<p>Indicates that a request to authorize a client with an access user session token is pending.</p>",
    29        "refs": {
    30        }
    31      },
    32      "ClientId": {
    33        "base": null,
    34        "refs": {
    35          "CreateTokenRequest$clientId": "<p>The unique identifier string for each client. This value should come from the persisted result of the <a>RegisterClient</a> API.</p>",
    36          "RegisterClientResponse$clientId": "<p>The unique identifier string for each client. This client uses this identifier to get authenticated by the service in subsequent calls.</p>",
    37          "StartDeviceAuthorizationRequest$clientId": "<p>The unique identifier string for the client that is registered with AWS SSO. This value should come from the persisted result of the <a>RegisterClient</a> API operation.</p>"
    38        }
    39      },
    40      "ClientName": {
    41        "base": null,
    42        "refs": {
    43          "RegisterClientRequest$clientName": "<p>The friendly name of the client.</p>"
    44        }
    45      },
    46      "ClientSecret": {
    47        "base": null,
    48        "refs": {
    49          "CreateTokenRequest$clientSecret": "<p>A secret string generated for the client. This value should come from the persisted result of the <a>RegisterClient</a> API.</p>",
    50          "RegisterClientResponse$clientSecret": "<p>A secret string generated for the client. The client will use this string to get authenticated by the service in subsequent calls.</p>",
    51          "StartDeviceAuthorizationRequest$clientSecret": "<p>A secret string that is generated for the client. This value should come from the persisted result of the <a>RegisterClient</a> API operation.</p>"
    52        }
    53      },
    54      "ClientType": {
    55        "base": null,
    56        "refs": {
    57          "RegisterClientRequest$clientType": "<p>The type of client. The service supports only <code>public</code> as a client type. Anything other than public will be rejected by the service.</p>"
    58        }
    59      },
    60      "CreateTokenRequest": {
    61        "base": null,
    62        "refs": {
    63        }
    64      },
    65      "CreateTokenResponse": {
    66        "base": null,
    67        "refs": {
    68        }
    69      },
    70      "DeviceCode": {
    71        "base": null,
    72        "refs": {
    73          "CreateTokenRequest$deviceCode": "<p>Used only when calling this API for the device code grant type. This short-term code is used to identify this authentication attempt. This should come from an in-memory reference to the result of the <a>StartDeviceAuthorization</a> API.</p>",
    74          "StartDeviceAuthorizationResponse$deviceCode": "<p>The short-lived code that is used by the device when polling for a session token.</p>"
    75        }
    76      },
    77      "Error": {
    78        "base": null,
    79        "refs": {
    80          "AccessDeniedException$error": null,
    81          "AuthorizationPendingException$error": null,
    82          "ExpiredTokenException$error": null,
    83          "InternalServerException$error": null,
    84          "InvalidClientException$error": null,
    85          "InvalidClientMetadataException$error": null,
    86          "InvalidGrantException$error": null,
    87          "InvalidRequestException$error": null,
    88          "InvalidScopeException$error": null,
    89          "SlowDownException$error": null,
    90          "UnauthorizedClientException$error": null,
    91          "UnsupportedGrantTypeException$error": null
    92        }
    93      },
    94      "ErrorDescription": {
    95        "base": null,
    96        "refs": {
    97          "AccessDeniedException$error_description": null,
    98          "AuthorizationPendingException$error_description": null,
    99          "ExpiredTokenException$error_description": null,
   100          "InternalServerException$error_description": null,
   101          "InvalidClientException$error_description": null,
   102          "InvalidClientMetadataException$error_description": null,
   103          "InvalidGrantException$error_description": null,
   104          "InvalidRequestException$error_description": null,
   105          "InvalidScopeException$error_description": null,
   106          "SlowDownException$error_description": null,
   107          "UnauthorizedClientException$error_description": null,
   108          "UnsupportedGrantTypeException$error_description": null
   109        }
   110      },
   111      "ExpirationInSeconds": {
   112        "base": null,
   113        "refs": {
   114          "CreateTokenResponse$expiresIn": "<p>Indicates the time in seconds when an access token will expire.</p>",
   115          "StartDeviceAuthorizationResponse$expiresIn": "<p>Indicates the number of seconds in which the verification code will become invalid.</p>"
   116        }
   117      },
   118      "ExpiredTokenException": {
   119        "base": "<p>Indicates that the token issued by the service is expired and is no longer valid.</p>",
   120        "refs": {
   121        }
   122      },
   123      "GrantType": {
   124        "base": null,
   125        "refs": {
   126          "CreateTokenRequest$grantType": "<p>Supports grant types for authorization code, refresh token, and device code request.</p>"
   127        }
   128      },
   129      "IdToken": {
   130        "base": null,
   131        "refs": {
   132          "CreateTokenResponse$idToken": "<p>The identifier of the user that associated with the access token, if present.</p>"
   133        }
   134      },
   135      "InternalServerException": {
   136        "base": "<p>Indicates that an error from the service occurred while trying to process a request.</p>",
   137        "refs": {
   138        }
   139      },
   140      "IntervalInSeconds": {
   141        "base": null,
   142        "refs": {
   143          "StartDeviceAuthorizationResponse$interval": "<p>Indicates the number of seconds the client must wait between attempts when polling for a session.</p>"
   144        }
   145      },
   146      "InvalidClientException": {
   147        "base": "<p>Indicates that the <code>clientId</code> or <code>clientSecret</code> in the request is invalid. For example, this can occur when a client sends an incorrect <code>clientId</code> or an expired <code>clientSecret</code>.</p>",
   148        "refs": {
   149        }
   150      },
   151      "InvalidClientMetadataException": {
   152        "base": "<p>Indicates that the client information sent in the request during registration is invalid.</p>",
   153        "refs": {
   154        }
   155      },
   156      "InvalidGrantException": {
   157        "base": "<p>Indicates that a request contains an invalid grant. This can occur if a client makes a <a>CreateToken</a> request with an invalid grant type.</p>",
   158        "refs": {
   159        }
   160      },
   161      "InvalidRequestException": {
   162        "base": "<p>Indicates that something is wrong with the input to the request. For example, a required parameter might be missing or out of range.</p>",
   163        "refs": {
   164        }
   165      },
   166      "InvalidScopeException": {
   167        "base": "<p>Indicates that the scope provided in the request is invalid.</p>",
   168        "refs": {
   169        }
   170      },
   171      "LongTimeStampType": {
   172        "base": null,
   173        "refs": {
   174          "RegisterClientResponse$clientIdIssuedAt": "<p>Indicates the time at which the <code>clientId</code> and <code>clientSecret</code> were issued.</p>",
   175          "RegisterClientResponse$clientSecretExpiresAt": "<p>Indicates the time at which the <code>clientId</code> and <code>clientSecret</code> will become invalid.</p>"
   176        }
   177      },
   178      "RefreshToken": {
   179        "base": null,
   180        "refs": {
   181          "CreateTokenRequest$refreshToken": "<p>The token used to obtain an access token in the event that the access token is invalid or expired. This token is not issued by the service.</p>",
   182          "CreateTokenResponse$refreshToken": "<p>A token that, if present, can be used to refresh a previously issued access token that might have expired.</p>"
   183        }
   184      },
   185      "RegisterClientRequest": {
   186        "base": null,
   187        "refs": {
   188        }
   189      },
   190      "RegisterClientResponse": {
   191        "base": null,
   192        "refs": {
   193        }
   194      },
   195      "Scope": {
   196        "base": null,
   197        "refs": {
   198          "Scopes$member": null
   199        }
   200      },
   201      "Scopes": {
   202        "base": null,
   203        "refs": {
   204          "CreateTokenRequest$scope": "<p>The list of scopes that is defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.</p>",
   205          "RegisterClientRequest$scopes": "<p>The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.</p>"
   206        }
   207      },
   208      "SlowDownException": {
   209        "base": "<p>Indicates that the client is making the request too frequently and is more than the service can handle. </p>",
   210        "refs": {
   211        }
   212      },
   213      "StartDeviceAuthorizationRequest": {
   214        "base": null,
   215        "refs": {
   216        }
   217      },
   218      "StartDeviceAuthorizationResponse": {
   219        "base": null,
   220        "refs": {
   221        }
   222      },
   223      "TokenType": {
   224        "base": null,
   225        "refs": {
   226          "CreateTokenResponse$tokenType": "<p>Used to notify the client that the returned token is an access token. The supported type is <code>BearerToken</code>.</p>"
   227        }
   228      },
   229      "URI": {
   230        "base": null,
   231        "refs": {
   232          "CreateTokenRequest$redirectUri": "<p>The location of the application that will receive the authorization code. Users authorize the service to send the request to this location.</p>",
   233          "RegisterClientResponse$authorizationEndpoint": "<p>The endpoint where the client can request authorization.</p>",
   234          "RegisterClientResponse$tokenEndpoint": "<p>The endpoint where the client can get an access token.</p>",
   235          "StartDeviceAuthorizationRequest$startUrl": "<p>The URL for the AWS SSO user portal. For more information, see <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/using-the-portal.html\">Using the User Portal</a> in the <i>AWS Single Sign-On User Guide</i>.</p>",
   236          "StartDeviceAuthorizationResponse$verificationUri": "<p>The URI of the verification page that takes the <code>userCode</code> to authorize the device.</p>",
   237          "StartDeviceAuthorizationResponse$verificationUriComplete": "<p>An alternate URL that the client can use to automatically launch a browser. This process skips the manual step in which the user visits the verification page and enters their code.</p>"
   238        }
   239      },
   240      "UnauthorizedClientException": {
   241        "base": "<p>Indicates that the client is not currently authorized to make the request. This can happen when a <code>clientId</code> is not issued for a public client.</p>",
   242        "refs": {
   243        }
   244      },
   245      "UnsupportedGrantTypeException": {
   246        "base": "<p>Indicates that the grant type in the request is not supported by the service.</p>",
   247        "refs": {
   248        }
   249      },
   250      "UserCode": {
   251        "base": null,
   252        "refs": {
   253          "StartDeviceAuthorizationResponse$userCode": "<p>A one-time user verification code. This is needed to authorize an in-use device.</p>"
   254        }
   255      }
   256    }
   257  }