update_application
¶
update_application(
arn: ArnOrUUID,
*,
config_overrides: Optional[AppIntegrationsClientConfig] = None,
name: Optional[ApplicationName] = None,
description: Optional[Description] = None,
application_source_config: Optional[ApplicationSourceConfig] = None,
subscriptions: Optional[SubscriptionList] = None,
publications: Optional[PublicationList] = None,
permissions: Optional[PermissionList] = None,
is_service: Optional[Boolean] = None,
initialization_timeout: Optional[InitializationTimeout] = None,
application_config: Optional[ApplicationConfig] = None,
iframe_config: Optional[IframeConfig] = None,
application_type: Optional[ApplicationType] = None,
auth_config: Optional[AuthConfig] = None,
) -> UpdateApplicationResponse
Updates and persists an Application resource.
Parameters:
-
arn(ArnOrUUID) –The Amazon Resource Name (ARN) of the Application.
-
name(Optional[ApplicationName], default:None) –The name of the application.
-
description(Optional[Description], default:None) –The description of the application.
-
application_source_config(Optional[ApplicationSourceConfig], default:None) –The configuration for where the application should be loaded from.
-
subscriptions(Optional[SubscriptionList], default:None) –The events that the application subscribes.
-
publications(Optional[PublicationList], default:None) –The events that the application publishes.
-
permissions(Optional[PermissionList], default:None) –The configuration of events or requests that the application has access to.
-
is_service(Optional[Boolean], default:None) –Indicates whether the application is a service.
-
initialization_timeout(Optional[InitializationTimeout], default:None) –The maximum time in milliseconds allowed to establish a connection with the workspace.
-
application_config(Optional[ApplicationConfig], default:None) –The configuration settings for the application.
-
iframe_config(Optional[IframeConfig], default:None) –The iframe configuration for the application.
-
application_type(Optional[ApplicationType], default:None) –The type of application.
-
auth_config(Optional[AuthConfig], default:None) –The authentication settings that Connect Customer uses when calling the external application.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request conflicts with the current state of the resource. Verify the application's current state and retry the request.
-
InternalServiceError–Request processing failed due to an error or failure with the service.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnsupportedOperationException–The operation is not supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To update an application The following updates an existing application named with a new name.
>>> client.update_application(arn='arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e', name='My New Application Name')
Source code in docs_src/capo_appintegrations/_services/app_integrations.py
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 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 | |