/* * 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 ssm-2014-11-06.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.SimpleSystemsManagement.Model { /// /// This is the response object from the StartSession operation. /// public partial class StartSessionResponse : AmazonWebServiceResponse { private string _sessionId; private string _streamUrl; private string _tokenValue; /// /// Gets and sets the property SessionId. /// /// The ID of the session. /// /// [AWSProperty(Min=1, Max=96)] public string SessionId { get { return this._sessionId; } set { this._sessionId = value; } } // Check to see if SessionId property is set internal bool IsSetSessionId() { return this._sessionId != null; } /// /// Gets and sets the property StreamUrl. /// /// A URL back to SSM Agent on the managed node that the Session Manager client uses to /// send commands and receive output from the node. Format: wss://ssmmessages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output) /// /// /// /// /// region represents the Region identifier for an Amazon Web Services Region /// supported by Amazon Web Services Systems Manager, such as us-east-2 for /// the US East (Ohio) Region. For a list of supported region values, see the Region /// column in Systems /// Manager service endpoints in the Amazon Web Services General Reference. /// /// /// /// session-id represents the ID of a Session Manager session, such as 1a2b3c4dEXAMPLE. /// /// public string StreamUrl { get { return this._streamUrl; } set { this._streamUrl = value; } } // Check to see if StreamUrl property is set internal bool IsSetStreamUrl() { return this._streamUrl != null; } /// /// Gets and sets the property TokenValue. /// /// An encrypted token value containing session and caller information. This token is /// used to authenticate the connection to the managed node, and is valid only long enough /// to ensure the connection is successful. Never share your session's token. /// /// [AWSProperty(Min=0, Max=300)] public string TokenValue { get { return this._tokenValue; } set { this._tokenValue = value; } } // Check to see if TokenValue property is set internal bool IsSetTokenValue() { return this._tokenValue != null; } } }