SignInClient.put_resource_permission_statement
rboto-signin==0.4.0 · Service index · Types
Model summary (excerpt): Create a permission statement in the account's SignIn resource-based policy
Install and imports
from rboto import SignInClient
from rboto_signin.types import (
PutResourcePermissionStatementOutput,
)
Signature
async def put_resource_permission_statement(
*,
source_vpc: str | None = None,
signin_source_vpce: str | None = None,
console_source_vpce: str | None = None,
vpc_source_ip: str | None = None,
source_ip: str | None = None,
requested_region: str | None = None,
excluded_principal: str | None = None,
client_token: str | None = None,
) -> PutResourcePermissionStatementOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
source_vpc |
No | VPC identifier to restrict console access |
signin_source_vpce |
No | SignIn VPC endpoint identifier |
console_source_vpce |
No | Console VPC endpoint identifier |
vpc_source_ip |
No | Source IP address within VPC |
source_ip |
No | Source IP address |
requested_region |
No | AWS region where the VPC and VPC endpoint reside Required when sourceVpc or signinSourceVpce/consoleSourceVpce is provided |
excluded_principal |
No | Principal to exclude from the permission statement |
client_token |
No | Idempotency token for the request |
Output
PutResourcePermissionStatementOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
statement_id |
str |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
PutResourcePermissionStatementOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_signin.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ServiceQuotaExceededError, TooManyRequestsError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.