list_rotations
async
¶
list_rotations(
*,
config_overrides: Optional[AsyncSSMContactsClientConfig] = None,
rotation_name_prefix: Optional[RotationName] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListRotationsResult
Retrieves a list of on-call rotations.
Parameters:
-
rotation_name_prefix(Optional[RotationName], default:None) –A filter to include rotations in list results based on their common prefix. For example, entering prod returns a list of all rotation names that begin with
prod, such asproductionandprod-1. -
next_token(Optional[PaginationToken], default:None) –A token to start the list. Use this token to get the next set of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this operation.
-
InternalServerException–Unexpected error occurred while processing the request.
-
ResourceNotFoundException–Request references a resource that doesn't exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm_contacts/_services/async_ssm_contacts.py
2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 | |