Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describe an existing Authorizers
resource.
- getAuthorizers :: Text -> GetAuthorizers
- data GetAuthorizers
- gaLimit :: Lens' GetAuthorizers (Maybe Int)
- gaPosition :: Lens' GetAuthorizers (Maybe Text)
- gaRestAPIId :: Lens' GetAuthorizers Text
- getAuthorizersResponse :: Int -> GetAuthorizersResponse
- data GetAuthorizersResponse
- garsItems :: Lens' GetAuthorizersResponse [Authorizer]
- garsPosition :: Lens' GetAuthorizersResponse (Maybe Text)
- garsResponseStatus :: Lens' GetAuthorizersResponse Int
Creating a Request
Creates a value of GetAuthorizers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gaLimit
- Limit the number ofAuthorizer
resources in the response.gaPosition
- If not allAuthorizer
resources in the response were present, the position will specify where to start the next page of results.gaRestAPIId
- TheRestApi
identifier for theAuthorizers
resource.
data GetAuthorizers Source #
Request to describe an existing Authorizers
resource.
See: getAuthorizers
smart constructor.
Request Lenses
gaLimit :: Lens' GetAuthorizers (Maybe Int) Source #
Limit the number of Authorizer
resources in the response.
gaPosition :: Lens' GetAuthorizers (Maybe Text) Source #
If not all Authorizer
resources in the response were present, the position will specify where to start the next page of results.
gaRestAPIId :: Lens' GetAuthorizers Text Source #
The RestApi
identifier for the Authorizers
resource.
Destructuring the Response
getAuthorizersResponse Source #
Creates a value of GetAuthorizersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
garsItems
- Gets the current list ofAuthorizer
resources in the collection.garsPosition
- Undocumented member.garsResponseStatus
- -- | The response status code.
data GetAuthorizersResponse Source #
Represents a collection of Authorizer
resources.
See: getAuthorizersResponse
smart constructor.
Response Lenses
garsItems :: Lens' GetAuthorizersResponse [Authorizer] Source #
Gets the current list of Authorizer
resources in the collection.
garsPosition :: Lens' GetAuthorizersResponse (Maybe Text) Source #
Undocumented member.
garsResponseStatus :: Lens' GetAuthorizersResponse Int Source #
- - | The response status code.