Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . budgets ]

update-subscriber

Description

Updates a subscriber.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  update-subscriber
--account-id <value>
--budget-name <value>
--notification <value>
--old-subscriber <value>
--new-subscriber <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--account-id (string)

The accountId that is associated with the budget whose subscriber you want to update.

--budget-name (string)

The name of the budget whose subscriber you want to update.

--notification (structure)

The notification whose subscriber you want to update.

Shorthand Syntax:

NotificationType=string,ComparisonOperator=string,Threshold=double,ThresholdType=string

JSON Syntax:

{
  "NotificationType": "ACTUAL"|"FORECASTED",
  "ComparisonOperator": "GREATER_THAN"|"LESS_THAN"|"EQUAL_TO",
  "Threshold": double,
  "ThresholdType": "PERCENTAGE"|"ABSOLUTE_VALUE"
}

--old-subscriber (structure)

The previous subscriber associated with a budget notification.

Shorthand Syntax:

SubscriptionType=string,Address=string

JSON Syntax:

{
  "SubscriptionType": "SNS"|"EMAIL",
  "Address": "string"
}

--new-subscriber (structure)

The updated subscriber associated with a budget notification.

Shorthand Syntax:

SubscriptionType=string,Address=string

JSON Syntax:

{
  "SubscriptionType": "SNS"|"EMAIL",
  "Address": "string"
}

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output