list_cross_account_resources
¶
list_cross_account_resources(
resource_owner_aws_account_id: AwsAccountId,
*,
config_overrides: Optional[GlobalAcceleratorClientConfig] = None,
accelerator_arn: Optional[GenericString] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[GenericString] = None,
) -> ListCrossAccountResourcesResponse
List the cross-account resources available to work with.
Parameters:
-
accelerator_arn(Optional[GenericString], default:None) –The Amazon Resource Name (ARN) of an accelerator in a cross-account attachment.
-
resource_owner_aws_account_id(AwsAccountId) –The account ID of a resource owner in a cross-account attachment.
-
max_results(Optional[MaxResults], default:None) –The number of cross-account resource objects that you want to return with this call. The default value is 10.
-
next_token(Optional[GenericString], default:None) –The token for the next set of results. You receive this token from a previous call.
Raises:
-
AcceleratorNotFoundException–The accelerator that you specified doesn't exist.
-
AccessDeniedException–You don't have access permission.
-
InternalServiceErrorException–There was an internal error for Global Accelerator.
-
InvalidArgumentException–An argument that you specified is invalid.
-
InvalidNextTokenException–There isn't another item to return.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_global_accelerator/_services/global_accelerator.py
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 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 | |