| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Signer.ListProfilePermissions
Description
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' {
- nextToken :: Maybe Text
- permissions :: Maybe [Permission]
- policySizeBytes :: Maybe Int
- revisionId :: Maybe Text
- httpStatus :: Int
- newListProfilePermissionsResponse :: Int -> ListProfilePermissionsResponse
- listProfilePermissionsResponse_nextToken :: Lens' ListProfilePermissionsResponse (Maybe Text)
- listProfilePermissionsResponse_permissions :: Lens' ListProfilePermissionsResponse (Maybe [Permission])
- listProfilePermissionsResponse_policySizeBytes :: Lens' ListProfilePermissionsResponse (Maybe Int)
- listProfilePermissionsResponse_revisionId :: Lens' ListProfilePermissionsResponse (Maybe Text)
- listProfilePermissionsResponse_httpStatus :: Lens' ListProfilePermissionsResponse Int
Creating a Request
data ListProfilePermissions Source #
See: newListProfilePermissions smart constructor.
Constructors
| ListProfilePermissions' | |
Fields
| |
Instances
newListProfilePermissions Source #
Arguments
| :: Text | |
| -> ListProfilePermissions |
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:
ListProfilePermissions, listProfilePermissions_nextToken - String for specifying the next set of paginated results.
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.
Constructors
| ListProfilePermissionsResponse' | |
Fields
| |
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:
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:policySizeBytes:ListProfilePermissionsResponse', listProfilePermissionsResponse_policySizeBytes - Total size of the policy associated with the Signing Profile in bytes.
$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_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_policySizeBytes :: Lens' ListProfilePermissionsResponse (Maybe Int) Source #
Total size of the policy associated with the Signing Profile in bytes.
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.