/* * Copyright 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 sts-2011-06-15.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SecurityToken.Model { /// /// Container for the parameters to the DecodeAuthorizationMessage operation. /// Decodes additional information about the authorization status of a request from an /// encoded message returned in response to an Amazon Web Services request. /// /// /// /// For example, if a user is not authorized to perform an operation that he or she has /// requested, the request returns a Client.UnauthorizedOperation response /// (an HTTP 403 response). Some Amazon Web Services operations additionally return an /// encoded message that can provide details about this authorization failure. /// /// /// /// Only certain Amazon Web Services operations return an encoded authorization message. /// The documentation for an individual operation indicates whether that operation returns /// an encoded message in addition to returning an HTTP code. /// /// /// /// The message is encoded because the details of the authorization status can contain /// privileged information that the user who requested the operation should not see. To /// decode an authorization status message, a user must be granted permissions through /// an IAM policy /// to request the DecodeAuthorizationMessage (sts:DecodeAuthorizationMessage) /// action. /// /// /// /// The decoded message includes the following type of information: /// /// /// public partial class DecodeAuthorizationMessageRequest : AmazonSecurityTokenServiceRequest { private string _encodedMessage; /// /// Gets and sets the property EncodedMessage. /// /// The encoded message that was returned with the response. /// /// [AWSProperty(Required=true, Min=1, Max=10240)] public string EncodedMessage { get { return this._encodedMessage; } set { this._encodedMessage = value; } } // Check to see if EncodedMessage property is set internal bool IsSetEncodedMessage() { return this._encodedMessage != null; } } }