Copyright | (c) 2013-2021 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 |
Lists the cross-account permissions associated with a signing profile.
Synopsis
- data ListProfilePermissions = ListProfilePermissions' {
- nextToken :: Maybe Text
- profileName :: Text
- newListProfilePermissions :: Text -> ListProfilePermissions
- listProfilePermissions_nextToken :: Lens' ListProfilePermissions (Maybe Text)
- listProfilePermissions_profileName :: Lens' ListProfilePermissions Text
- data ListProfilePermissionsResponse = ListProfilePermissionsResponse' {
- policySizeBytes :: Maybe Int
- nextToken :: Maybe Text
- permissions :: Maybe [Permission]
- revisionId :: Maybe Text
- httpStatus :: Int
- newListProfilePermissionsResponse :: Int -> ListProfilePermissionsResponse
- listProfilePermissionsResponse_policySizeBytes :: Lens' ListProfilePermissionsResponse (Maybe Int)
- listProfilePermissionsResponse_nextToken :: Lens' ListProfilePermissionsResponse (Maybe Text)
- listProfilePermissionsResponse_permissions :: Lens' ListProfilePermissionsResponse (Maybe [Permission])
- listProfilePermissionsResponse_revisionId :: Lens' ListProfilePermissionsResponse (Maybe Text)
- listProfilePermissionsResponse_httpStatus :: Lens' ListProfilePermissionsResponse Int
Creating a Request
data ListProfilePermissions Source #
See: newListProfilePermissions
smart constructor.
ListProfilePermissions' | |
|
Instances
newListProfilePermissions Source #
Create a value of ListProfilePermissions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListProfilePermissions'
, listProfilePermissions_nextToken
- String for specifying the next set of paginated results.
$sel:profileName:ListProfilePermissions'
, listProfilePermissions_profileName
- Name of the signing profile containing the cross-account permissions.
Request Lenses
listProfilePermissions_nextToken :: Lens' ListProfilePermissions (Maybe Text) Source #
String for specifying the next set of paginated results.
listProfilePermissions_profileName :: Lens' ListProfilePermissions Text Source #
Name of the signing profile containing the cross-account permissions.
Destructuring the Response
data ListProfilePermissionsResponse Source #
See: newListProfilePermissionsResponse
smart constructor.
ListProfilePermissionsResponse' | |
|
Instances
newListProfilePermissionsResponse Source #
Create a value of ListProfilePermissionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:policySizeBytes:ListProfilePermissionsResponse'
, listProfilePermissionsResponse_policySizeBytes
- Total size of the policy associated with the Signing Profile in bytes.
$sel:nextToken:ListProfilePermissions'
, listProfilePermissionsResponse_nextToken
- String for specifying the next set of paginated results.
$sel:permissions:ListProfilePermissionsResponse'
, listProfilePermissionsResponse_permissions
- List of permissions associated with the Signing Profile.
$sel:revisionId:ListProfilePermissionsResponse'
, listProfilePermissionsResponse_revisionId
- The identifier for the current revision of profile permissions.
$sel:httpStatus:ListProfilePermissionsResponse'
, listProfilePermissionsResponse_httpStatus
- The response's http status code.
Response Lenses
listProfilePermissionsResponse_policySizeBytes :: Lens' ListProfilePermissionsResponse (Maybe Int) Source #
Total size of the policy associated with the Signing Profile in bytes.
listProfilePermissionsResponse_nextToken :: Lens' ListProfilePermissionsResponse (Maybe Text) Source #
String for specifying the next set of paginated results.
listProfilePermissionsResponse_permissions :: Lens' ListProfilePermissionsResponse (Maybe [Permission]) Source #
List of permissions associated with the Signing Profile.
listProfilePermissionsResponse_revisionId :: Lens' ListProfilePermissionsResponse (Maybe Text) Source #
The identifier for the current revision of profile permissions.
listProfilePermissionsResponse_httpStatus :: Lens' ListProfilePermissionsResponse Int Source #
The response's http status code.