get_associated_resource
¶
get_associated_resource(
application: ApplicationSpecifier,
resource_type: ResourceType,
resource: ResourceSpecifier,
*,
config_overrides: Optional[ServiceCatalogAppRegistryClientConfig] = None,
next_token: Optional[NextToken] = None,
resource_tag_status: Optional[GetAssociatedResourceFilter] = None,
max_results: Optional[MaxResults] = None,
) -> GetAssociatedResourceResponse
Gets the resource associated with the application.
Parameters:
-
application(ApplicationSpecifier) –The name, ID, or ARN of the application.
-
resource_type(ResourceType) –The type of resource associated with the application.
-
resource(ResourceSpecifier) –The name or ID of the resource associated with the application.
-
next_token(Optional[NextToken], default:None) –A unique pagination token for each page of results. Make the call again with the returned token to retrieve the next page of results.
-
resource_tag_status(Optional[GetAssociatedResourceFilter], default:None) –States whether an application tag is applied, not applied, in the process of being applied, or skipped.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return. If the parameter is omitted, it defaults to 25. The value is optional.
Raises:
-
InternalServerException–The service is experiencing internal problems.
-
ResourceNotFoundException–The specified resource does not exist.
-
ValidationException–The request has invalid or missing parameters.
-
UnknownServiceError–The service returned an error code this client does not model.