Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves the service role that is attached to the account.
- getServiceRoleForAccount :: GetServiceRoleForAccount
- data GetServiceRoleForAccount
- getServiceRoleForAccountResponse :: Int -> GetServiceRoleForAccountResponse
- data GetServiceRoleForAccountResponse
- gsrfarsAssociatedAt :: Lens' GetServiceRoleForAccountResponse (Maybe Text)
- gsrfarsRoleARN :: Lens' GetServiceRoleForAccountResponse (Maybe Text)
- gsrfarsResponseStatus :: Lens' GetServiceRoleForAccountResponse Int
Creating a Request
getServiceRoleForAccount :: GetServiceRoleForAccount Source #
Creates a value of GetServiceRoleForAccount
with the minimum fields required to make a request.
data GetServiceRoleForAccount Source #
See: getServiceRoleForAccount
smart constructor.
Destructuring the Response
getServiceRoleForAccountResponse Source #
Creates a value of GetServiceRoleForAccountResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsrfarsAssociatedAt
- Time when the service role was associated to the account.gsrfarsRoleARN
- Role arn which is associated to the account.gsrfarsResponseStatus
- -- | The response status code.
data GetServiceRoleForAccountResponse Source #
See: getServiceRoleForAccountResponse
smart constructor.
Response Lenses
gsrfarsAssociatedAt :: Lens' GetServiceRoleForAccountResponse (Maybe Text) Source #
Time when the service role was associated to the account.
gsrfarsRoleARN :: Lens' GetServiceRoleForAccountResponse (Maybe Text) Source #
Role arn which is associated to the account.
gsrfarsResponseStatus :: Lens' GetServiceRoleForAccountResponse Int Source #
- - | The response status code.