/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the sns-2010-03-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SimpleNotificationService.Model { /// /// Response for GetSubscriptionAttributes action. /// public partial class GetSubscriptionAttributesResponse : AmazonWebServiceResponse { private Dictionary _attributes = new Dictionary(); /// /// Gets and sets the property Attributes. /// /// A map of the subscription's attributes. Attributes in this map include the following: /// ///
  • /// /// ConfirmationWasAuthenticatedtrue if the subscription /// confirmation request was authenticated. /// ///
  • /// /// DeliveryPolicy – The JSON serialization of the subscription's delivery /// policy. /// ///
  • /// /// EffectiveDeliveryPolicy – The JSON serialization of the effective delivery /// policy that takes into account the topic delivery policy and account system defaults. /// ///
  • /// /// FilterPolicy – The filter policy JSON that is assigned to the subscription. /// ///
  • /// /// Owner – The AWS account ID of the subscription's owner. /// ///
  • /// /// PendingConfirmationtrue if the subscription hasn't been /// confirmed. To confirm a pending subscription, call the ConfirmSubscription /// action with a confirmation token. /// ///
  • /// /// RawMessageDeliverytrue if raw message delivery is enabled /// for the subscription. Raw messages are free of JSON formatting and can be sent to /// HTTP/S and Amazon SQS endpoints. /// ///
  • /// /// RedrivePolicy – When specified, sends undeliverable messages to the /// specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client /// errors (for example, when the subscribed endpoint is unreachable) or server errors /// (for example, when the service that powers the subscribed endpoint becomes unavailable) /// are held in the dead-letter queue for further analysis or reprocessing. /// ///
  • /// /// SubscriptionArn – The subscription's ARN. /// ///
  • /// /// TopicArn – The topic ARN that the subscription is associated with. /// ///
///
public Dictionary Attributes { get { return this._attributes; } set { this._attributes = value; } } // Check to see if Attributes property is set internal bool IsSetAttributes() { return this._attributes != null && this._attributes.Count > 0; } } }