create_agent_runtime
¶
create_agent_runtime(
agent_runtime_name: AgentRuntimeName,
agent_runtime_artifact: AgentRuntimeArtifact,
role_arn: RoleArn,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = None,
network_configuration: Optional[NetworkConfiguration] = None,
client_token: Optional[ClientToken] = None,
description: Optional[Description] = None,
authorizer_configuration: Optional[AuthorizerConfiguration] = None,
request_header_configuration: Optional[RequestHeaderConfiguration] = None,
protocol_configuration: Optional[ProtocolConfiguration] = None,
lifecycle_configuration: Optional[LifecycleConfiguration] = None,
environment_variables: Optional[EnvironmentVariablesMap] = None,
filesystem_configurations: Optional[FilesystemConfigurations] = None,
capacity_provider_configuration: Optional[CapacityProviderConfiguration] = None,
tags: Optional[TagsMap] = None,
platform_version: Optional[PlatformVersion] = None,
) -> CreateAgentRuntimeResponse
Creates an Amazon Bedrock AgentCore Runtime.
Parameters:
-
agent_runtime_name(AgentRuntimeName) –The name of the AgentCore Runtime.
-
agent_runtime_artifact(AgentRuntimeArtifact) –The artifact of the AgentCore Runtime.
-
role_arn(RoleArn) –The IAM role ARN that provides permissions for the AgentCore Runtime.
-
network_configuration(Optional[NetworkConfiguration], default:None) –The network configuration for the AgentCore Runtime.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure idempotency of the request.
-
description(Optional[Description], default:None) –The description of the AgentCore Runtime.
-
authorizer_configuration(Optional[AuthorizerConfiguration], default:None) –The authorizer configuration for the AgentCore Runtime.
-
request_header_configuration(Optional[RequestHeaderConfiguration], default:None) –Configuration for HTTP request headers that will be passed through to the runtime.
-
lifecycle_configuration(Optional[LifecycleConfiguration], default:None) –The life cycle configuration for the AgentCore Runtime.
-
environment_variables(Optional[EnvironmentVariablesMap], default:None) –Environment variables to set in the AgentCore Runtime environment.
-
filesystem_configurations(Optional[FilesystemConfigurations], default:None) –The filesystem configurations to mount into the AgentCore Runtime. Use filesystem configurations to provide persistent storage to your AgentCore Runtime sessions.
-
capacity_provider_configuration(Optional[CapacityProviderConfiguration], default:None) –The capacity provider configuration for the AgentCore Runtime. Use a capacity provider to run the AgentCore Runtime on the Instances compute type, which provisions Amazon Web Services managed compute in your account.
-
tags(Optional[TagsMap], default:None) –A map of tag keys and values to assign to the agent runtime. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
-
platform_version(Optional[PlatformVersion], default:None) –The version of the runtime platform to use for the AgentCore Runtime.
Raises:
-
AccessDeniedException–This exception is thrown when a request is denied per access permissions
-
ConflictException–This exception is thrown when there is a conflict performing an operation
-
InternalServerException–This exception is thrown if there was an unexpected error during processing of request
-
ServiceQuotaExceededException–This exception is thrown when a request is made beyond the service quota
-
ThrottlingException–This exception is thrown when the number of requests exceeds the limit
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agentcore_control/_services/bedrock_agent_core_control.py
1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 | |