get_configuration_profile
async
¶
get_configuration_profile(
application_id: Name,
configuration_profile_id: LongName,
*,
config_overrides: Optional[AsyncAppConfigClientConfig] = None,
) -> ConfigurationProfile
Retrieves information about a configuration profile.
Parameters:
-
application_id(Name) –The ID of the application that includes the configuration profile you want to get.
-
configuration_profile_id(LongName) –The ID of the configuration profile that you want to get.
Raises:
-
BadRequestException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
InternalServerException–There was an internal failure in the AppConfig service.
-
ResourceNotFoundException–The requested resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To retrieve configuration profile details The following get-configuration-profile example returns the details of the specified configuration profile.
>>> await client.get_configuration_profile(application_id='339ohji', configuration_profile_id='ur8hx2f')
Source code in docs_src/capo_appconfig/_services/async_app_config.py
1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 | |