Amazon.Budgets.AmazonBudgetsClient.CreateSubscriber C# (CSharp) Method

CreateSubscriber() public method

Create a new Subscriber for a notification
/// The exception is thrown when customer tries to create a record (e.g. budget), but /// the number this record already exceeds the limitation. /// /// The exception is thrown when customer tries to create a record (e.g. budget) that /// already exists. /// /// This exception is thrown on an unknown internal failure. /// /// This exception is thrown if any request is given an invalid parameter. E.g., if a /// required Date field is null. ///
public CreateSubscriber ( CreateSubscriberRequest request ) : CreateSubscriberResponse
request Amazon.Budgets.Model.CreateSubscriberRequest Container for the necessary parameters to execute the CreateSubscriber service method.
return CreateSubscriberResponse
        public CreateSubscriberResponse CreateSubscriber(CreateSubscriberRequest request)
        {
            var marshaller = new CreateSubscriberRequestMarshaller();
            var unmarshaller = CreateSubscriberResponseUnmarshaller.Instance;

            return Invoke<CreateSubscriberRequest,CreateSubscriberResponse>(request, marshaller, unmarshaller);
        }