IoTTwinMaker / Client / update_pricing_plan

update_pricing_plan#

IoTTwinMaker.Client.update_pricing_plan(**kwargs)#

Update the pricing plan.

See also: AWS API Documentation

Request Syntax

response = client.update_pricing_plan(
    pricingMode='BASIC'|'STANDARD'|'TIERED_BUNDLE',
    bundleNames=[
        'string',
    ]
)
Parameters:
  • pricingMode (string) –

    [REQUIRED]

    The pricing mode.

  • bundleNames (list) –

    The bundle names.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'currentPricingPlan': {
        'billableEntityCount': 123,
        'bundleInformation': {
            'bundleNames': [
                'string',
            ],
            'pricingTier': 'TIER_1'|'TIER_2'|'TIER_3'|'TIER_4'
        },
        'effectiveDateTime': datetime(2015, 1, 1),
        'pricingMode': 'BASIC'|'STANDARD'|'TIERED_BUNDLE',
        'updateDateTime': datetime(2015, 1, 1),
        'updateReason': 'DEFAULT'|'PRICING_TIER_UPDATE'|'ENTITY_COUNT_UPDATE'|'PRICING_MODE_UPDATE'|'OVERWRITTEN'
    },
    'pendingPricingPlan': {
        'billableEntityCount': 123,
        'bundleInformation': {
            'bundleNames': [
                'string',
            ],
            'pricingTier': 'TIER_1'|'TIER_2'|'TIER_3'|'TIER_4'
        },
        'effectiveDateTime': datetime(2015, 1, 1),
        'pricingMode': 'BASIC'|'STANDARD'|'TIERED_BUNDLE',
        'updateDateTime': datetime(2015, 1, 1),
        'updateReason': 'DEFAULT'|'PRICING_TIER_UPDATE'|'ENTITY_COUNT_UPDATE'|'PRICING_MODE_UPDATE'|'OVERWRITTEN'
    }
}

Response Structure

  • (dict) –

    • currentPricingPlan (dict) –

      Update the current pricing plan.

      • billableEntityCount (integer) –

        The billable entity count.

      • bundleInformation (dict) –

        The pricing plan’s bundle information.

        • bundleNames (list) –

          The bundle names.

          • (string) –

        • pricingTier (string) –

          The pricing tier.

      • effectiveDateTime (datetime) –

        The effective date and time of the pricing plan.

      • pricingMode (string) –

        The pricing mode.

      • updateDateTime (datetime) –

        The set date and time for updating a pricing plan.

      • updateReason (string) –

        The update reason for changing a pricing plan.

    • pendingPricingPlan (dict) –

      Update the pending pricing plan.

      • billableEntityCount (integer) –

        The billable entity count.

      • bundleInformation (dict) –

        The pricing plan’s bundle information.

        • bundleNames (list) –

          The bundle names.

          • (string) –

        • pricingTier (string) –

          The pricing tier.

      • effectiveDateTime (datetime) –

        The effective date and time of the pricing plan.

      • pricingMode (string) –

        The pricing mode.

      • updateDateTime (datetime) –

        The set date and time for updating a pricing plan.

      • updateReason (string) –

        The update reason for changing a pricing plan.

Exceptions

  • IoTTwinMaker.Client.exceptions.InternalServerException

  • IoTTwinMaker.Client.exceptions.AccessDeniedException

  • IoTTwinMaker.Client.exceptions.ThrottlingException

  • IoTTwinMaker.Client.exceptions.ValidationException