Skip to content

delete_role_permissions_boundary

Operation

delete_role_permissions_boundary

delete_role_permissions_boundary(request: DeleteRolePermissionsBoundaryInput | DeleteRolePermissionsBoundaryInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteRolePermissionsBoundaryInputDict]) -> DeleteRolePermissionsBoundaryOutput

Deletes the permissions boundary for the specified IAM role.

You cannot set the boundary for a service-linked role.

Warning

Deleting the permissions boundary for a role might increase its permissions. For example, it might allow anyone who assumes the role to perform all the actions granted in its permissions policies.

Parameters:

Name Type Description Default
request DeleteRolePermissionsBoundaryInput | DeleteRolePermissionsBoundaryInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[DeleteRolePermissionsBoundaryInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeleteRolePermissionsBoundaryOutput

An instance of DeleteRolePermissionsBoundaryOutput.

delete_role_permissions_boundary async

delete_role_permissions_boundary(request: DeleteRolePermissionsBoundaryInput | DeleteRolePermissionsBoundaryInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteRolePermissionsBoundaryInputDict]) -> DeleteRolePermissionsBoundaryOutput

Deletes the permissions boundary for the specified IAM role.

You cannot set the boundary for a service-linked role.

Warning

Deleting the permissions boundary for a role might increase its permissions. For example, it might allow anyone who assumes the role to perform all the actions granted in its permissions policies.

Parameters:

Name Type Description Default
request DeleteRolePermissionsBoundaryInput | DeleteRolePermissionsBoundaryInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[DeleteRolePermissionsBoundaryInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeleteRolePermissionsBoundaryOutput

An instance of DeleteRolePermissionsBoundaryOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

DeleteRolePermissionsBoundaryInputDict

Bases: TypedDict

Dictionary form of DeleteRolePermissionsBoundaryInput.

Attributes

role_name instance-attribute
role_name: Required[str]

The name (friendly name, not ARN) of the IAM role from which you want to remove the permissions boundary.

DeleteRolePermissionsBoundaryInput dataclass

Bases: _SerdeShape

Dataclass for DeleteRolePermissionsBoundaryInput structure.

Attributes

role_name class-attribute instance-attribute
role_name: str | None = ...

The name (friendly name, not ARN) of the IAM role from which you want to remove the permissions boundary.

Output

DeleteRolePermissionsBoundaryOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteRolePermissionsBoundaryOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.