Skip to content

UpdateAppRequest

Source code in docs_src/capo_appmonetization/types/update_app_request.py
class UpdateAppRequest(TypedDict, closed=True):
    app_id: "capo_appmonetization.types.app_id.AppId"
    """The ID of the app to update. You can identify the app by either its ID or its Amazon Resource Name (ARN). If you provide both, they must refer to the same app."""
    name: NotRequired["capo_appmonetization.types.app_name.AppName"]
    """A human-readable display name for the app."""
    description: NotRequired[
        "capo_appmonetization.types.app_description.AppDescription"
    ]
    """The new description. An empty string clears it; omitting the member keeps the current one."""
    identifier: NotRequired["capo_appmonetization.types.resource_arn.ResourceArn"]
    """The Amazon Resource Name (ARN) of the app. You can identify the app by either its ID or its ARN. If you provide both, they must refer to the same app. A sandbox ARN names the app's sandbox; if you also send scope, the two must name the same environment."""
    scope: NotRequired["capo_appmonetization.types.request_scope.RequestScope"]
    """The environment to act on: live or sandbox. Optional. You can name the environment with this member, with a sandbox resource ARN, or both; if you send both they must name the same environment, or the request is rejected."""
    cost_tracking: NotRequired[
        "capo_appmonetization.types.cost_tracking_configuration.CostTrackingConfiguration"
    ]
    """Optional cost-tracking configuration: the IAM role AWS App Monetization uses to track this app's AWS costs. Passing a role also requires permission for iam:PassRole on it. You can send it with or without a new name or description."""

app_id instance-attribute

app_id: AppId

The ID of the app to update. You can identify the app by either its ID or its Amazon Resource Name (ARN). If you provide both, they must refer to the same app.

cost_tracking instance-attribute

cost_tracking: NotRequired[CostTrackingConfiguration]

Optional cost-tracking configuration: the IAM role AWS App Monetization uses to track this app's AWS costs. Passing a role also requires permission for iam:PassRole on it. You can send it with or without a new name or description.

description instance-attribute

description: NotRequired[AppDescription]

The new description. An empty string clears it; omitting the member keeps the current one.

identifier instance-attribute

identifier: NotRequired[ResourceArn]

The Amazon Resource Name (ARN) of the app. You can identify the app by either its ID or its ARN. If you provide both, they must refer to the same app. A sandbox ARN names the app's sandbox; if you also send scope, the two must name the same environment.

name instance-attribute

name: NotRequired[AppName]

A human-readable display name for the app.

scope instance-attribute

scope: NotRequired[RequestScope]

The environment to act on: live or sandbox. Optional. You can name the environment with this member, with a sandbox resource ARN, or both; if you send both they must name the same environment, or the request is rejected.