Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.
Parameters:
-
next_token
(Optional[PaginationToken], default:
None
)
–
If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.
Raises:
Source code in docs_src/capo_workspaces/_services/work_spaces.py
| def describe_account_modifications(
self,
*,
config_overrides: Optional[WorkSpacesClientConfig] = None,
next_token: Optional[
"capo_workspaces.types.pagination_token.PaginationToken"
] = None,
) -> "capo_workspaces.types.describe_account_modifications_result.DescribeAccountModificationsResult":
"""<p>Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.</p>
Args:
next_token: <p>If you received a <code>NextToken</code> from a previous call that was paginated, provide this token to receive the next set of results.</p>
Raises:
capo_workspaces.errors.access_denied_exception.AccessDeniedException: <p>The user is not authorized to access a resource.</p>
capo_workspaces.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_workspaces.types.describe_account_modifications_request.DescribeAccountModificationsRequest]",
) -> OperationResponse[
"capo_workspaces.types.describe_account_modifications_result.DescribeAccountModificationsResult"
]:
import capo_workspaces._operations.workspaces_service.describe_account_modifications
output, http_response = (
capo_workspaces._operations.workspaces_service.describe_account_modifications.describe_account_modifications(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DescribeAccountModifications")
)
input_: capo_workspaces.types.describe_account_modifications_request.DescribeAccountModificationsRequest = {}
if next_token is not None:
input_["next_token"] = next_token
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|