aws-sdk-ssm 1.25.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +238 -9
- data/lib/aws-sdk-ssm/client_api.rb +154 -0
- data/lib/aws-sdk-ssm/types.rb +446 -5
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 52a71888acd8ecf52a83b5fbeb6655fc399b46cf
         | 
| 4 | 
            +
              data.tar.gz: 2339ea6303368a8633f8872d32bccef645f84459
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: bfcb444b15103be29f82fce1a9afcd4026b68099169fc5b51400aca8bf8680f2d805edf368dd3354a5634ed4cb34590bb4078ddb3f5d15a6fc8ccfe19b049e9a
         | 
| 7 | 
            +
              data.tar.gz: 44443da8bbcf5deb7ba791329d9ed2a0a690f017c4f909de0149b64f707fd9f1657e99af8c1367711e4d87e66308e5f78e6f888c71583c74434654d1e1a9e500
         | 
    
        data/lib/aws-sdk-ssm.rb
    CHANGED
    
    
    
        data/lib/aws-sdk-ssm/client.rb
    CHANGED
    
    | @@ -637,7 +637,7 @@ module Aws::SSM | |
| 637 637 | 
             
                #   resp = client.create_document({
         | 
| 638 638 | 
             
                #     content: "DocumentContent", # required
         | 
| 639 639 | 
             
                #     name: "DocumentName", # required
         | 
| 640 | 
            -
                #     document_type: "Command", # accepts Command, Policy, Automation
         | 
| 640 | 
            +
                #     document_type: "Command", # accepts Command, Policy, Automation, Session
         | 
| 641 641 | 
             
                #     document_format: "YAML", # accepts YAML, JSON
         | 
| 642 642 | 
             
                #     target_type: "TargetType",
         | 
| 643 643 | 
             
                #   })
         | 
| @@ -660,7 +660,7 @@ module Aws::SSM | |
| 660 660 | 
             
                #   resp.document_description.parameters[0].default_value #=> String
         | 
| 661 661 | 
             
                #   resp.document_description.platform_types #=> Array
         | 
| 662 662 | 
             
                #   resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
         | 
| 663 | 
            -
                #   resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation"
         | 
| 663 | 
            +
                #   resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session"
         | 
| 664 664 | 
             
                #   resp.document_description.schema_version #=> String
         | 
| 665 665 | 
             
                #   resp.document_description.latest_version #=> String
         | 
| 666 666 | 
             
                #   resp.document_description.default_version #=> String
         | 
| @@ -1893,7 +1893,7 @@ module Aws::SSM | |
| 1893 1893 | 
             
                #   resp.document.parameters[0].default_value #=> String
         | 
| 1894 1894 | 
             
                #   resp.document.platform_types #=> Array
         | 
| 1895 1895 | 
             
                #   resp.document.platform_types[0] #=> String, one of "Windows", "Linux"
         | 
| 1896 | 
            -
                #   resp.document.document_type #=> String, one of "Command", "Policy", "Automation"
         | 
| 1896 | 
            +
                #   resp.document.document_type #=> String, one of "Command", "Policy", "Automation", "Session"
         | 
| 1897 1897 | 
             
                #   resp.document.schema_version #=> String
         | 
| 1898 1898 | 
             
                #   resp.document.latest_version #=> String
         | 
| 1899 1899 | 
             
                #   resp.document.default_version #=> String
         | 
| @@ -2119,8 +2119,14 @@ module Aws::SSM | |
| 2119 2119 | 
             
                #  </note>
         | 
| 2120 2120 | 
             
                #
         | 
| 2121 2121 | 
             
                # @option params [Array<Types::InstanceInformationFilter>] :instance_information_filter_list
         | 
| 2122 | 
            -
                #    | 
| 2123 | 
            -
                #    | 
| 2122 | 
            +
                #   This is a legacy method. We recommend that you don't use this method.
         | 
| 2123 | 
            +
                #   Instead, use the InstanceInformationFilter action. The
         | 
| 2124 | 
            +
                #   `InstanceInformationFilter` action enables you to return instance
         | 
| 2125 | 
            +
                #   information by using tags that are specified as a key-value mapping.
         | 
| 2126 | 
            +
                #
         | 
| 2127 | 
            +
                #   If you do use this method, then you can't use the
         | 
| 2128 | 
            +
                #   `InstanceInformationFilter` action. Using this method and the
         | 
| 2129 | 
            +
                #   `InstanceInformationFilter` action causes an exception error.
         | 
| 2124 2130 | 
             
                #
         | 
| 2125 2131 | 
             
                # @option params [Array<Types::InstanceInformationStringFilter>] :filters
         | 
| 2126 2132 | 
             
                #   One or more filters. Use a filter to return a more specific list of
         | 
| @@ -3035,6 +3041,69 @@ module Aws::SSM | |
| 3035 3041 | 
             
                  req.send_request(options)
         | 
| 3036 3042 | 
             
                end
         | 
| 3037 3043 |  | 
| 3044 | 
            +
                # Retrieves a list of all active sessions (both connected and
         | 
| 3045 | 
            +
                # disconnected) or terminated sessions from the past 30 days.
         | 
| 3046 | 
            +
                #
         | 
| 3047 | 
            +
                # @option params [required, String] :state
         | 
| 3048 | 
            +
                #   The session status to retrieve a list of sessions for. For example,
         | 
| 3049 | 
            +
                #   "active".
         | 
| 3050 | 
            +
                #
         | 
| 3051 | 
            +
                # @option params [Integer] :max_results
         | 
| 3052 | 
            +
                #   The maximum number of items to return for this call. The call also
         | 
| 3053 | 
            +
                #   returns a token that you can specify in a subsequent call to get the
         | 
| 3054 | 
            +
                #   next set of results.
         | 
| 3055 | 
            +
                #
         | 
| 3056 | 
            +
                # @option params [String] :next_token
         | 
| 3057 | 
            +
                #   The token for the next set of items to return. (You received this
         | 
| 3058 | 
            +
                #   token from a previous call.)
         | 
| 3059 | 
            +
                #
         | 
| 3060 | 
            +
                # @option params [Array<Types::SessionFilter>] :filters
         | 
| 3061 | 
            +
                #   One or more filters to limit the type of sessions returned by the
         | 
| 3062 | 
            +
                #   request.
         | 
| 3063 | 
            +
                #
         | 
| 3064 | 
            +
                # @return [Types::DescribeSessionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 3065 | 
            +
                #
         | 
| 3066 | 
            +
                #   * {Types::DescribeSessionsResponse#sessions #sessions} => Array<Types::Session>
         | 
| 3067 | 
            +
                #   * {Types::DescribeSessionsResponse#next_token #next_token} => String
         | 
| 3068 | 
            +
                #
         | 
| 3069 | 
            +
                # @example Request syntax with placeholder values
         | 
| 3070 | 
            +
                #
         | 
| 3071 | 
            +
                #   resp = client.describe_sessions({
         | 
| 3072 | 
            +
                #     state: "Active", # required, accepts Active, History
         | 
| 3073 | 
            +
                #     max_results: 1,
         | 
| 3074 | 
            +
                #     next_token: "NextToken",
         | 
| 3075 | 
            +
                #     filters: [
         | 
| 3076 | 
            +
                #       {
         | 
| 3077 | 
            +
                #         key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status
         | 
| 3078 | 
            +
                #         value: "SessionFilterValue", # required
         | 
| 3079 | 
            +
                #       },
         | 
| 3080 | 
            +
                #     ],
         | 
| 3081 | 
            +
                #   })
         | 
| 3082 | 
            +
                #
         | 
| 3083 | 
            +
                # @example Response structure
         | 
| 3084 | 
            +
                #
         | 
| 3085 | 
            +
                #   resp.sessions #=> Array
         | 
| 3086 | 
            +
                #   resp.sessions[0].session_id #=> String
         | 
| 3087 | 
            +
                #   resp.sessions[0].target #=> String
         | 
| 3088 | 
            +
                #   resp.sessions[0].status #=> String, one of "Connected", "Connecting", "Disconnected", "Terminated", "Terminating", "Failed"
         | 
| 3089 | 
            +
                #   resp.sessions[0].start_date #=> Time
         | 
| 3090 | 
            +
                #   resp.sessions[0].end_date #=> Time
         | 
| 3091 | 
            +
                #   resp.sessions[0].document_name #=> String
         | 
| 3092 | 
            +
                #   resp.sessions[0].owner #=> String
         | 
| 3093 | 
            +
                #   resp.sessions[0].details #=> String
         | 
| 3094 | 
            +
                #   resp.sessions[0].output_url.s3_output_url #=> String
         | 
| 3095 | 
            +
                #   resp.sessions[0].output_url.cloud_watch_output_url #=> String
         | 
| 3096 | 
            +
                #   resp.next_token #=> String
         | 
| 3097 | 
            +
                #
         | 
| 3098 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeSessions AWS API Documentation
         | 
| 3099 | 
            +
                #
         | 
| 3100 | 
            +
                # @overload describe_sessions(params = {})
         | 
| 3101 | 
            +
                # @param [Hash] params ({})
         | 
| 3102 | 
            +
                def describe_sessions(params = {}, options = {})
         | 
| 3103 | 
            +
                  req = build_request(:describe_sessions, params)
         | 
| 3104 | 
            +
                  req.send_request(options)
         | 
| 3105 | 
            +
                end
         | 
| 3106 | 
            +
             | 
| 3038 3107 | 
             
                # Get detailed information about a particular Automation execution.
         | 
| 3039 3108 | 
             
                #
         | 
| 3040 3109 | 
             
                # @option params [required, String] :automation_execution_id
         | 
| @@ -3203,6 +3272,38 @@ module Aws::SSM | |
| 3203 3272 | 
             
                  req.send_request(options)
         | 
| 3204 3273 | 
             
                end
         | 
| 3205 3274 |  | 
| 3275 | 
            +
                # Retrieves the Session Manager connection status for an instance to
         | 
| 3276 | 
            +
                # determine whether it is connected and ready to receive Session Manager
         | 
| 3277 | 
            +
                # connections.
         | 
| 3278 | 
            +
                #
         | 
| 3279 | 
            +
                # @option params [required, String] :target
         | 
| 3280 | 
            +
                #   The ID of the instance.
         | 
| 3281 | 
            +
                #
         | 
| 3282 | 
            +
                # @return [Types::GetConnectionStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 3283 | 
            +
                #
         | 
| 3284 | 
            +
                #   * {Types::GetConnectionStatusResponse#target #target} => String
         | 
| 3285 | 
            +
                #   * {Types::GetConnectionStatusResponse#status #status} => String
         | 
| 3286 | 
            +
                #
         | 
| 3287 | 
            +
                # @example Request syntax with placeholder values
         | 
| 3288 | 
            +
                #
         | 
| 3289 | 
            +
                #   resp = client.get_connection_status({
         | 
| 3290 | 
            +
                #     target: "SessionTarget", # required
         | 
| 3291 | 
            +
                #   })
         | 
| 3292 | 
            +
                #
         | 
| 3293 | 
            +
                # @example Response structure
         | 
| 3294 | 
            +
                #
         | 
| 3295 | 
            +
                #   resp.target #=> String
         | 
| 3296 | 
            +
                #   resp.status #=> String, one of "Connected", "NotConnected"
         | 
| 3297 | 
            +
                #
         | 
| 3298 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetConnectionStatus AWS API Documentation
         | 
| 3299 | 
            +
                #
         | 
| 3300 | 
            +
                # @overload get_connection_status(params = {})
         | 
| 3301 | 
            +
                # @param [Hash] params ({})
         | 
| 3302 | 
            +
                def get_connection_status(params = {}, options = {})
         | 
| 3303 | 
            +
                  req = build_request(:get_connection_status, params)
         | 
| 3304 | 
            +
                  req.send_request(options)
         | 
| 3305 | 
            +
                end
         | 
| 3306 | 
            +
             | 
| 3206 3307 | 
             
                # Retrieves the default patch baseline. Note that Systems Manager
         | 
| 3207 3308 | 
             
                # supports creating multiple default patch baselines. For example, you
         | 
| 3208 3309 | 
             
                # can create a default patch baseline for each operating system.
         | 
| @@ -3312,7 +3413,7 @@ module Aws::SSM | |
| 3312 3413 | 
             
                #   resp.name #=> String
         | 
| 3313 3414 | 
             
                #   resp.document_version #=> String
         | 
| 3314 3415 | 
             
                #   resp.content #=> String
         | 
| 3315 | 
            -
                #   resp.document_type #=> String, one of "Command", "Policy", "Automation"
         | 
| 3416 | 
            +
                #   resp.document_type #=> String, one of "Command", "Policy", "Automation", "Session"
         | 
| 3316 3417 | 
             
                #   resp.document_format #=> String, one of "YAML", "JSON"
         | 
| 3317 3418 | 
             
                #
         | 
| 3318 3419 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocument AWS API Documentation
         | 
| @@ -4736,7 +4837,7 @@ module Aws::SSM | |
| 4736 4837 | 
             
                #   resp.document_identifiers[0].platform_types #=> Array
         | 
| 4737 4838 | 
             
                #   resp.document_identifiers[0].platform_types[0] #=> String, one of "Windows", "Linux"
         | 
| 4738 4839 | 
             
                #   resp.document_identifiers[0].document_version #=> String
         | 
| 4739 | 
            -
                #   resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation"
         | 
| 4840 | 
            +
                #   resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation", "Session"
         | 
| 4740 4841 | 
             
                #   resp.document_identifiers[0].schema_version #=> String
         | 
| 4741 4842 | 
             
                #   resp.document_identifiers[0].document_format #=> String, one of "YAML", "JSON"
         | 
| 4742 4843 | 
             
                #   resp.document_identifiers[0].target_type #=> String
         | 
| @@ -5672,6 +5773,46 @@ module Aws::SSM | |
| 5672 5773 | 
             
                  req.send_request(options)
         | 
| 5673 5774 | 
             
                end
         | 
| 5674 5775 |  | 
| 5776 | 
            +
                # Reconnects a session to an instance after it has been disconnected.
         | 
| 5777 | 
            +
                # Connections can be resumed for disconnected sessions, but not
         | 
| 5778 | 
            +
                # terminated sessions.
         | 
| 5779 | 
            +
                #
         | 
| 5780 | 
            +
                # <note markdown="1"> This command is primarily for use by client machines to automatically
         | 
| 5781 | 
            +
                # reconnect during intermittent network issues. It is not intended for
         | 
| 5782 | 
            +
                # any other use.
         | 
| 5783 | 
            +
                #
         | 
| 5784 | 
            +
                #  </note>
         | 
| 5785 | 
            +
                #
         | 
| 5786 | 
            +
                # @option params [required, String] :session_id
         | 
| 5787 | 
            +
                #   The ID of the disconnected session to resume.
         | 
| 5788 | 
            +
                #
         | 
| 5789 | 
            +
                # @return [Types::ResumeSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 5790 | 
            +
                #
         | 
| 5791 | 
            +
                #   * {Types::ResumeSessionResponse#session_id #session_id} => String
         | 
| 5792 | 
            +
                #   * {Types::ResumeSessionResponse#token_value #token_value} => String
         | 
| 5793 | 
            +
                #   * {Types::ResumeSessionResponse#stream_url #stream_url} => String
         | 
| 5794 | 
            +
                #
         | 
| 5795 | 
            +
                # @example Request syntax with placeholder values
         | 
| 5796 | 
            +
                #
         | 
| 5797 | 
            +
                #   resp = client.resume_session({
         | 
| 5798 | 
            +
                #     session_id: "SessionId", # required
         | 
| 5799 | 
            +
                #   })
         | 
| 5800 | 
            +
                #
         | 
| 5801 | 
            +
                # @example Response structure
         | 
| 5802 | 
            +
                #
         | 
| 5803 | 
            +
                #   resp.session_id #=> String
         | 
| 5804 | 
            +
                #   resp.token_value #=> String
         | 
| 5805 | 
            +
                #   resp.stream_url #=> String
         | 
| 5806 | 
            +
                #
         | 
| 5807 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResumeSession AWS API Documentation
         | 
| 5808 | 
            +
                #
         | 
| 5809 | 
            +
                # @overload resume_session(params = {})
         | 
| 5810 | 
            +
                # @param [Hash] params ({})
         | 
| 5811 | 
            +
                def resume_session(params = {}, options = {})
         | 
| 5812 | 
            +
                  req = build_request(:resume_session, params)
         | 
| 5813 | 
            +
                  req.send_request(options)
         | 
| 5814 | 
            +
                end
         | 
| 5815 | 
            +
             | 
| 5675 5816 | 
             
                # Sends a signal to an Automation execution to change the current
         | 
| 5676 5817 | 
             
                # behavior or status of the execution.
         | 
| 5677 5818 | 
             
                #
         | 
| @@ -6030,6 +6171,64 @@ module Aws::SSM | |
| 6030 6171 | 
             
                  req.send_request(options)
         | 
| 6031 6172 | 
             
                end
         | 
| 6032 6173 |  | 
| 6174 | 
            +
                # Initiates a connection to a target (for example, an instance) for a
         | 
| 6175 | 
            +
                # Session Manager session. Returns a URL and token that can be used to
         | 
| 6176 | 
            +
                # open a WebSocket connection for sending input and receiving outputs.
         | 
| 6177 | 
            +
                #
         | 
| 6178 | 
            +
                # <note markdown="1"> AWS CLI usage: `start-session` is an interactive command that requires
         | 
| 6179 | 
            +
                # the Session Manager plugin to be installed on the client machine
         | 
| 6180 | 
            +
                # making the call. For information, see [ Install the Session Manager
         | 
| 6181 | 
            +
                # Plugin for the AWS CLI][1] in the *AWS Systems Manager User Guide*.
         | 
| 6182 | 
            +
                #
         | 
| 6183 | 
            +
                #  </note>
         | 
| 6184 | 
            +
                #
         | 
| 6185 | 
            +
                #
         | 
| 6186 | 
            +
                #
         | 
| 6187 | 
            +
                # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html
         | 
| 6188 | 
            +
                #
         | 
| 6189 | 
            +
                # @option params [required, String] :target
         | 
| 6190 | 
            +
                #   The instance to connect to for the session.
         | 
| 6191 | 
            +
                #
         | 
| 6192 | 
            +
                # @option params [String] :document_name
         | 
| 6193 | 
            +
                #   The name of the SSM document to define the parameters and plugin
         | 
| 6194 | 
            +
                #   settings for the session. For example, `SSM-SessionManagerRunShell`.
         | 
| 6195 | 
            +
                #   If no document name is provided, a shell to the instance is launched
         | 
| 6196 | 
            +
                #   by default.
         | 
| 6197 | 
            +
                #
         | 
| 6198 | 
            +
                # @option params [Hash<String,Array>] :parameters
         | 
| 6199 | 
            +
                #   Reserved for future use.
         | 
| 6200 | 
            +
                #
         | 
| 6201 | 
            +
                # @return [Types::StartSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 6202 | 
            +
                #
         | 
| 6203 | 
            +
                #   * {Types::StartSessionResponse#session_id #session_id} => String
         | 
| 6204 | 
            +
                #   * {Types::StartSessionResponse#token_value #token_value} => String
         | 
| 6205 | 
            +
                #   * {Types::StartSessionResponse#stream_url #stream_url} => String
         | 
| 6206 | 
            +
                #
         | 
| 6207 | 
            +
                # @example Request syntax with placeholder values
         | 
| 6208 | 
            +
                #
         | 
| 6209 | 
            +
                #   resp = client.start_session({
         | 
| 6210 | 
            +
                #     target: "SessionTarget", # required
         | 
| 6211 | 
            +
                #     document_name: "DocumentARN",
         | 
| 6212 | 
            +
                #     parameters: {
         | 
| 6213 | 
            +
                #       "SessionManagerParameterName" => ["SessionManagerParameterValue"],
         | 
| 6214 | 
            +
                #     },
         | 
| 6215 | 
            +
                #   })
         | 
| 6216 | 
            +
                #
         | 
| 6217 | 
            +
                # @example Response structure
         | 
| 6218 | 
            +
                #
         | 
| 6219 | 
            +
                #   resp.session_id #=> String
         | 
| 6220 | 
            +
                #   resp.token_value #=> String
         | 
| 6221 | 
            +
                #   resp.stream_url #=> String
         | 
| 6222 | 
            +
                #
         | 
| 6223 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartSession AWS API Documentation
         | 
| 6224 | 
            +
                #
         | 
| 6225 | 
            +
                # @overload start_session(params = {})
         | 
| 6226 | 
            +
                # @param [Hash] params ({})
         | 
| 6227 | 
            +
                def start_session(params = {}, options = {})
         | 
| 6228 | 
            +
                  req = build_request(:start_session, params)
         | 
| 6229 | 
            +
                  req.send_request(options)
         | 
| 6230 | 
            +
                end
         | 
| 6231 | 
            +
             | 
| 6033 6232 | 
             
                # Stop an Automation that is currently executing.
         | 
| 6034 6233 | 
             
                #
         | 
| 6035 6234 | 
             
                # @option params [required, String] :automation_execution_id
         | 
| @@ -6057,6 +6256,36 @@ module Aws::SSM | |
| 6057 6256 | 
             
                  req.send_request(options)
         | 
| 6058 6257 | 
             
                end
         | 
| 6059 6258 |  | 
| 6259 | 
            +
                # Permanently ends a session and closes the data connection between the
         | 
| 6260 | 
            +
                # Session Manager client and SSM Agent on the instance. A terminated
         | 
| 6261 | 
            +
                # session cannot be resumed.
         | 
| 6262 | 
            +
                #
         | 
| 6263 | 
            +
                # @option params [required, String] :session_id
         | 
| 6264 | 
            +
                #   The ID of the session to terminate.
         | 
| 6265 | 
            +
                #
         | 
| 6266 | 
            +
                # @return [Types::TerminateSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 6267 | 
            +
                #
         | 
| 6268 | 
            +
                #   * {Types::TerminateSessionResponse#session_id #session_id} => String
         | 
| 6269 | 
            +
                #
         | 
| 6270 | 
            +
                # @example Request syntax with placeholder values
         | 
| 6271 | 
            +
                #
         | 
| 6272 | 
            +
                #   resp = client.terminate_session({
         | 
| 6273 | 
            +
                #     session_id: "SessionId", # required
         | 
| 6274 | 
            +
                #   })
         | 
| 6275 | 
            +
                #
         | 
| 6276 | 
            +
                # @example Response structure
         | 
| 6277 | 
            +
                #
         | 
| 6278 | 
            +
                #   resp.session_id #=> String
         | 
| 6279 | 
            +
                #
         | 
| 6280 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/TerminateSession AWS API Documentation
         | 
| 6281 | 
            +
                #
         | 
| 6282 | 
            +
                # @overload terminate_session(params = {})
         | 
| 6283 | 
            +
                # @param [Hash] params ({})
         | 
| 6284 | 
            +
                def terminate_session(params = {}, options = {})
         | 
| 6285 | 
            +
                  req = build_request(:terminate_session, params)
         | 
| 6286 | 
            +
                  req.send_request(options)
         | 
| 6287 | 
            +
                end
         | 
| 6288 | 
            +
             | 
| 6060 6289 | 
             
                # Updates an association. You can update the association name and
         | 
| 6061 6290 | 
             
                # version, the document version, schedule, parameters, and Amazon S3
         | 
| 6062 6291 | 
             
                # output.
         | 
| @@ -6287,7 +6516,7 @@ module Aws::SSM | |
| 6287 6516 | 
             
                #   resp.document_description.parameters[0].default_value #=> String
         | 
| 6288 6517 | 
             
                #   resp.document_description.platform_types #=> Array
         | 
| 6289 6518 | 
             
                #   resp.document_description.platform_types[0] #=> String, one of "Windows", "Linux"
         | 
| 6290 | 
            -
                #   resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation"
         | 
| 6519 | 
            +
                #   resp.document_description.document_type #=> String, one of "Command", "Policy", "Automation", "Session"
         | 
| 6291 6520 | 
             
                #   resp.document_description.schema_version #=> String
         | 
| 6292 6521 | 
             
                #   resp.document_description.latest_version #=> String
         | 
| 6293 6522 | 
             
                #   resp.document_description.default_version #=> String
         | 
| @@ -6970,7 +7199,7 @@ module Aws::SSM | |
| 6970 7199 | 
             
                    params: params,
         | 
| 6971 7200 | 
             
                    config: config)
         | 
| 6972 7201 | 
             
                  context[:gem_name] = 'aws-sdk-ssm'
         | 
| 6973 | 
            -
                  context[:gem_version] = '1. | 
| 7202 | 
            +
                  context[:gem_version] = '1.26.0'
         | 
| 6974 7203 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 6975 7204 | 
             
                end
         | 
| 6976 7205 |  | 
| @@ -147,6 +147,7 @@ module Aws::SSM | |
| 147 147 | 
             
                ComplianceTypeName = Shapes::StringShape.new(name: 'ComplianceTypeName')
         | 
| 148 148 | 
             
                CompliantSummary = Shapes::StructureShape.new(name: 'CompliantSummary')
         | 
| 149 149 | 
             
                ComputerName = Shapes::StringShape.new(name: 'ComputerName')
         | 
| 150 | 
            +
                ConnectionStatus = Shapes::StringShape.new(name: 'ConnectionStatus')
         | 
| 150 151 | 
             
                CreateActivationRequest = Shapes::StructureShape.new(name: 'CreateActivationRequest')
         | 
| 151 152 | 
             
                CreateActivationResult = Shapes::StructureShape.new(name: 'CreateActivationResult')
         | 
| 152 153 | 
             
                CreateAssociationBatchRequest = Shapes::StructureShape.new(name: 'CreateAssociationBatchRequest')
         | 
| @@ -252,6 +253,8 @@ module Aws::SSM | |
| 252 253 | 
             
                DescribePatchGroupStateResult = Shapes::StructureShape.new(name: 'DescribePatchGroupStateResult')
         | 
| 253 254 | 
             
                DescribePatchGroupsRequest = Shapes::StructureShape.new(name: 'DescribePatchGroupsRequest')
         | 
| 254 255 | 
             
                DescribePatchGroupsResult = Shapes::StructureShape.new(name: 'DescribePatchGroupsResult')
         | 
| 256 | 
            +
                DescribeSessionsRequest = Shapes::StructureShape.new(name: 'DescribeSessionsRequest')
         | 
| 257 | 
            +
                DescribeSessionsResponse = Shapes::StructureShape.new(name: 'DescribeSessionsResponse')
         | 
| 255 258 | 
             
                DescriptionInDocument = Shapes::StringShape.new(name: 'DescriptionInDocument')
         | 
| 256 259 | 
             
                DocumentARN = Shapes::StringShape.new(name: 'DocumentARN')
         | 
| 257 260 | 
             
                DocumentAlreadyExists = Shapes::StructureShape.new(name: 'DocumentAlreadyExists')
         | 
| @@ -311,6 +314,8 @@ module Aws::SSM | |
| 311 314 | 
             
                GetAutomationExecutionResult = Shapes::StructureShape.new(name: 'GetAutomationExecutionResult')
         | 
| 312 315 | 
             
                GetCommandInvocationRequest = Shapes::StructureShape.new(name: 'GetCommandInvocationRequest')
         | 
| 313 316 | 
             
                GetCommandInvocationResult = Shapes::StructureShape.new(name: 'GetCommandInvocationResult')
         | 
| 317 | 
            +
                GetConnectionStatusRequest = Shapes::StructureShape.new(name: 'GetConnectionStatusRequest')
         | 
| 318 | 
            +
                GetConnectionStatusResponse = Shapes::StructureShape.new(name: 'GetConnectionStatusResponse')
         | 
| 314 319 | 
             
                GetDefaultPatchBaselineRequest = Shapes::StructureShape.new(name: 'GetDefaultPatchBaselineRequest')
         | 
| 315 320 | 
             
                GetDefaultPatchBaselineResult = Shapes::StructureShape.new(name: 'GetDefaultPatchBaselineResult')
         | 
| 316 321 | 
             
                GetDeployablePatchSnapshotForInstanceRequest = Shapes::StructureShape.new(name: 'GetDeployablePatchSnapshotForInstanceRequest')
         | 
| @@ -736,6 +741,8 @@ module Aws::SSM | |
| 736 741 | 
             
                ResponseCode = Shapes::IntegerShape.new(name: 'ResponseCode')
         | 
| 737 742 | 
             
                ResultAttribute = Shapes::StructureShape.new(name: 'ResultAttribute')
         | 
| 738 743 | 
             
                ResultAttributeList = Shapes::ListShape.new(name: 'ResultAttributeList')
         | 
| 744 | 
            +
                ResumeSessionRequest = Shapes::StructureShape.new(name: 'ResumeSessionRequest')
         | 
| 745 | 
            +
                ResumeSessionResponse = Shapes::StructureShape.new(name: 'ResumeSessionResponse')
         | 
| 739 746 | 
             
                S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
         | 
| 740 747 | 
             
                S3KeyPrefix = Shapes::StringShape.new(name: 'S3KeyPrefix')
         | 
| 741 748 | 
             
                S3OutputLocation = Shapes::StructureShape.new(name: 'S3OutputLocation')
         | 
| @@ -747,6 +754,26 @@ module Aws::SSM | |
| 747 754 | 
             
                SendCommandRequest = Shapes::StructureShape.new(name: 'SendCommandRequest')
         | 
| 748 755 | 
             
                SendCommandResult = Shapes::StructureShape.new(name: 'SendCommandResult')
         | 
| 749 756 | 
             
                ServiceRole = Shapes::StringShape.new(name: 'ServiceRole')
         | 
| 757 | 
            +
                Session = Shapes::StructureShape.new(name: 'Session')
         | 
| 758 | 
            +
                SessionDetails = Shapes::StringShape.new(name: 'SessionDetails')
         | 
| 759 | 
            +
                SessionFilter = Shapes::StructureShape.new(name: 'SessionFilter')
         | 
| 760 | 
            +
                SessionFilterKey = Shapes::StringShape.new(name: 'SessionFilterKey')
         | 
| 761 | 
            +
                SessionFilterList = Shapes::ListShape.new(name: 'SessionFilterList')
         | 
| 762 | 
            +
                SessionFilterValue = Shapes::StringShape.new(name: 'SessionFilterValue')
         | 
| 763 | 
            +
                SessionId = Shapes::StringShape.new(name: 'SessionId')
         | 
| 764 | 
            +
                SessionList = Shapes::ListShape.new(name: 'SessionList')
         | 
| 765 | 
            +
                SessionManagerCloudWatchOutputUrl = Shapes::StringShape.new(name: 'SessionManagerCloudWatchOutputUrl')
         | 
| 766 | 
            +
                SessionManagerOutputUrl = Shapes::StructureShape.new(name: 'SessionManagerOutputUrl')
         | 
| 767 | 
            +
                SessionManagerParameterName = Shapes::StringShape.new(name: 'SessionManagerParameterName')
         | 
| 768 | 
            +
                SessionManagerParameterValue = Shapes::StringShape.new(name: 'SessionManagerParameterValue')
         | 
| 769 | 
            +
                SessionManagerParameterValueList = Shapes::ListShape.new(name: 'SessionManagerParameterValueList')
         | 
| 770 | 
            +
                SessionManagerParameters = Shapes::MapShape.new(name: 'SessionManagerParameters')
         | 
| 771 | 
            +
                SessionManagerS3OutputUrl = Shapes::StringShape.new(name: 'SessionManagerS3OutputUrl')
         | 
| 772 | 
            +
                SessionMaxResults = Shapes::IntegerShape.new(name: 'SessionMaxResults')
         | 
| 773 | 
            +
                SessionOwner = Shapes::StringShape.new(name: 'SessionOwner')
         | 
| 774 | 
            +
                SessionState = Shapes::StringShape.new(name: 'SessionState')
         | 
| 775 | 
            +
                SessionStatus = Shapes::StringShape.new(name: 'SessionStatus')
         | 
| 776 | 
            +
                SessionTarget = Shapes::StringShape.new(name: 'SessionTarget')
         | 
| 750 777 | 
             
                SeveritySummary = Shapes::StructureShape.new(name: 'SeveritySummary')
         | 
| 751 778 | 
             
                SignalType = Shapes::StringShape.new(name: 'SignalType')
         | 
| 752 779 | 
             
                SnapshotDownloadUrl = Shapes::StringShape.new(name: 'SnapshotDownloadUrl')
         | 
| @@ -757,6 +784,8 @@ module Aws::SSM | |
| 757 784 | 
             
                StartAssociationsOnceResult = Shapes::StructureShape.new(name: 'StartAssociationsOnceResult')
         | 
| 758 785 | 
             
                StartAutomationExecutionRequest = Shapes::StructureShape.new(name: 'StartAutomationExecutionRequest')
         | 
| 759 786 | 
             
                StartAutomationExecutionResult = Shapes::StructureShape.new(name: 'StartAutomationExecutionResult')
         | 
| 787 | 
            +
                StartSessionRequest = Shapes::StructureShape.new(name: 'StartSessionRequest')
         | 
| 788 | 
            +
                StartSessionResponse = Shapes::StructureShape.new(name: 'StartSessionResponse')
         | 
| 760 789 | 
             
                StatusAdditionalInfo = Shapes::StringShape.new(name: 'StatusAdditionalInfo')
         | 
| 761 790 | 
             
                StatusDetails = Shapes::StringShape.new(name: 'StatusDetails')
         | 
| 762 791 | 
             
                StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
         | 
| @@ -772,6 +801,7 @@ module Aws::SSM | |
| 772 801 | 
             
                StopAutomationExecutionRequest = Shapes::StructureShape.new(name: 'StopAutomationExecutionRequest')
         | 
| 773 802 | 
             
                StopAutomationExecutionResult = Shapes::StructureShape.new(name: 'StopAutomationExecutionResult')
         | 
| 774 803 | 
             
                StopType = Shapes::StringShape.new(name: 'StopType')
         | 
| 804 | 
            +
                StreamUrl = Shapes::StringShape.new(name: 'StreamUrl')
         | 
| 775 805 | 
             
                String = Shapes::StringShape.new(name: 'String')
         | 
| 776 806 | 
             
                StringDateTime = Shapes::StringShape.new(name: 'StringDateTime')
         | 
| 777 807 | 
             
                StringList = Shapes::ListShape.new(name: 'StringList')
         | 
| @@ -789,12 +819,16 @@ module Aws::SSM | |
| 789 819 | 
             
                TargetMapValue = Shapes::StringShape.new(name: 'TargetMapValue')
         | 
| 790 820 | 
             
                TargetMapValueList = Shapes::ListShape.new(name: 'TargetMapValueList')
         | 
| 791 821 | 
             
                TargetMaps = Shapes::ListShape.new(name: 'TargetMaps')
         | 
| 822 | 
            +
                TargetNotConnected = Shapes::StructureShape.new(name: 'TargetNotConnected')
         | 
| 792 823 | 
             
                TargetParameterList = Shapes::ListShape.new(name: 'TargetParameterList')
         | 
| 793 824 | 
             
                TargetType = Shapes::StringShape.new(name: 'TargetType')
         | 
| 794 825 | 
             
                TargetValue = Shapes::StringShape.new(name: 'TargetValue')
         | 
| 795 826 | 
             
                TargetValues = Shapes::ListShape.new(name: 'TargetValues')
         | 
| 796 827 | 
             
                Targets = Shapes::ListShape.new(name: 'Targets')
         | 
| 828 | 
            +
                TerminateSessionRequest = Shapes::StructureShape.new(name: 'TerminateSessionRequest')
         | 
| 829 | 
            +
                TerminateSessionResponse = Shapes::StructureShape.new(name: 'TerminateSessionResponse')
         | 
| 797 830 | 
             
                TimeoutSeconds = Shapes::IntegerShape.new(name: 'TimeoutSeconds')
         | 
| 831 | 
            +
                TokenValue = Shapes::StringShape.new(name: 'TokenValue')
         | 
| 798 832 | 
             
                TooManyTagsError = Shapes::StructureShape.new(name: 'TooManyTagsError')
         | 
| 799 833 | 
             
                TooManyUpdates = Shapes::StructureShape.new(name: 'TooManyUpdates')
         | 
| 800 834 | 
             
                TotalCount = Shapes::IntegerShape.new(name: 'TotalCount')
         | 
| @@ -1589,6 +1623,16 @@ module Aws::SSM | |
| 1589 1623 | 
             
                DescribePatchGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
         | 
| 1590 1624 | 
             
                DescribePatchGroupsResult.struct_class = Types::DescribePatchGroupsResult
         | 
| 1591 1625 |  | 
| 1626 | 
            +
                DescribeSessionsRequest.add_member(:state, Shapes::ShapeRef.new(shape: SessionState, required: true, location_name: "State"))
         | 
| 1627 | 
            +
                DescribeSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SessionMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
         | 
| 1628 | 
            +
                DescribeSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
         | 
| 1629 | 
            +
                DescribeSessionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SessionFilterList, location_name: "Filters"))
         | 
| 1630 | 
            +
                DescribeSessionsRequest.struct_class = Types::DescribeSessionsRequest
         | 
| 1631 | 
            +
             | 
| 1632 | 
            +
                DescribeSessionsResponse.add_member(:sessions, Shapes::ShapeRef.new(shape: SessionList, location_name: "Sessions"))
         | 
| 1633 | 
            +
                DescribeSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
         | 
| 1634 | 
            +
                DescribeSessionsResponse.struct_class = Types::DescribeSessionsResponse
         | 
| 1635 | 
            +
             | 
| 1592 1636 | 
             
                DocumentDefaultVersionDescription.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "Name"))
         | 
| 1593 1637 | 
             
                DocumentDefaultVersionDescription.add_member(:default_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DefaultVersion"))
         | 
| 1594 1638 | 
             
                DocumentDefaultVersionDescription.struct_class = Types::DocumentDefaultVersionDescription
         | 
| @@ -1705,6 +1749,13 @@ module Aws::SSM | |
| 1705 1749 | 
             
                GetCommandInvocationResult.add_member(:cloud_watch_output_config, Shapes::ShapeRef.new(shape: CloudWatchOutputConfig, location_name: "CloudWatchOutputConfig"))
         | 
| 1706 1750 | 
             
                GetCommandInvocationResult.struct_class = Types::GetCommandInvocationResult
         | 
| 1707 1751 |  | 
| 1752 | 
            +
                GetConnectionStatusRequest.add_member(:target, Shapes::ShapeRef.new(shape: SessionTarget, required: true, location_name: "Target"))
         | 
| 1753 | 
            +
                GetConnectionStatusRequest.struct_class = Types::GetConnectionStatusRequest
         | 
| 1754 | 
            +
             | 
| 1755 | 
            +
                GetConnectionStatusResponse.add_member(:target, Shapes::ShapeRef.new(shape: SessionTarget, location_name: "Target"))
         | 
| 1756 | 
            +
                GetConnectionStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: ConnectionStatus, location_name: "Status"))
         | 
| 1757 | 
            +
                GetConnectionStatusResponse.struct_class = Types::GetConnectionStatusResponse
         | 
| 1758 | 
            +
             | 
| 1708 1759 | 
             
                GetDefaultPatchBaselineRequest.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
         | 
| 1709 1760 | 
             
                GetDefaultPatchBaselineRequest.struct_class = Types::GetDefaultPatchBaselineRequest
         | 
| 1710 1761 |  | 
| @@ -2664,6 +2715,14 @@ module Aws::SSM | |
| 2664 2715 |  | 
| 2665 2716 | 
             
                ResultAttributeList.member = Shapes::ShapeRef.new(shape: ResultAttribute)
         | 
| 2666 2717 |  | 
| 2718 | 
            +
                ResumeSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "SessionId"))
         | 
| 2719 | 
            +
                ResumeSessionRequest.struct_class = Types::ResumeSessionRequest
         | 
| 2720 | 
            +
             | 
| 2721 | 
            +
                ResumeSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "SessionId"))
         | 
| 2722 | 
            +
                ResumeSessionResponse.add_member(:token_value, Shapes::ShapeRef.new(shape: TokenValue, location_name: "TokenValue"))
         | 
| 2723 | 
            +
                ResumeSessionResponse.add_member(:stream_url, Shapes::ShapeRef.new(shape: StreamUrl, location_name: "StreamUrl"))
         | 
| 2724 | 
            +
                ResumeSessionResponse.struct_class = Types::ResumeSessionResponse
         | 
| 2725 | 
            +
             | 
| 2667 2726 | 
             
                S3OutputLocation.add_member(:output_s3_region, Shapes::ShapeRef.new(shape: S3Region, location_name: "OutputS3Region"))
         | 
| 2668 2727 | 
             
                S3OutputLocation.add_member(:output_s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "OutputS3BucketName"))
         | 
| 2669 2728 | 
             
                S3OutputLocation.add_member(:output_s3_key_prefix, Shapes::ShapeRef.new(shape: S3KeyPrefix, location_name: "OutputS3KeyPrefix"))
         | 
| @@ -2701,6 +2760,34 @@ module Aws::SSM | |
| 2701 2760 | 
             
                SendCommandResult.add_member(:command, Shapes::ShapeRef.new(shape: Command, location_name: "Command"))
         | 
| 2702 2761 | 
             
                SendCommandResult.struct_class = Types::SendCommandResult
         | 
| 2703 2762 |  | 
| 2763 | 
            +
                Session.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "SessionId"))
         | 
| 2764 | 
            +
                Session.add_member(:target, Shapes::ShapeRef.new(shape: SessionTarget, location_name: "Target"))
         | 
| 2765 | 
            +
                Session.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "Status"))
         | 
| 2766 | 
            +
                Session.add_member(:start_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartDate"))
         | 
| 2767 | 
            +
                Session.add_member(:end_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndDate"))
         | 
| 2768 | 
            +
                Session.add_member(:document_name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "DocumentName"))
         | 
| 2769 | 
            +
                Session.add_member(:owner, Shapes::ShapeRef.new(shape: SessionOwner, location_name: "Owner"))
         | 
| 2770 | 
            +
                Session.add_member(:details, Shapes::ShapeRef.new(shape: SessionDetails, location_name: "Details"))
         | 
| 2771 | 
            +
                Session.add_member(:output_url, Shapes::ShapeRef.new(shape: SessionManagerOutputUrl, location_name: "OutputUrl"))
         | 
| 2772 | 
            +
                Session.struct_class = Types::Session
         | 
| 2773 | 
            +
             | 
| 2774 | 
            +
                SessionFilter.add_member(:key, Shapes::ShapeRef.new(shape: SessionFilterKey, required: true, location_name: "key"))
         | 
| 2775 | 
            +
                SessionFilter.add_member(:value, Shapes::ShapeRef.new(shape: SessionFilterValue, required: true, location_name: "value"))
         | 
| 2776 | 
            +
                SessionFilter.struct_class = Types::SessionFilter
         | 
| 2777 | 
            +
             | 
| 2778 | 
            +
                SessionFilterList.member = Shapes::ShapeRef.new(shape: SessionFilter)
         | 
| 2779 | 
            +
             | 
| 2780 | 
            +
                SessionList.member = Shapes::ShapeRef.new(shape: Session)
         | 
| 2781 | 
            +
             | 
| 2782 | 
            +
                SessionManagerOutputUrl.add_member(:s3_output_url, Shapes::ShapeRef.new(shape: SessionManagerS3OutputUrl, location_name: "S3OutputUrl"))
         | 
| 2783 | 
            +
                SessionManagerOutputUrl.add_member(:cloud_watch_output_url, Shapes::ShapeRef.new(shape: SessionManagerCloudWatchOutputUrl, location_name: "CloudWatchOutputUrl"))
         | 
| 2784 | 
            +
                SessionManagerOutputUrl.struct_class = Types::SessionManagerOutputUrl
         | 
| 2785 | 
            +
             | 
| 2786 | 
            +
                SessionManagerParameterValueList.member = Shapes::ShapeRef.new(shape: SessionManagerParameterValue)
         | 
| 2787 | 
            +
             | 
| 2788 | 
            +
                SessionManagerParameters.key = Shapes::ShapeRef.new(shape: SessionManagerParameterName)
         | 
| 2789 | 
            +
                SessionManagerParameters.value = Shapes::ShapeRef.new(shape: SessionManagerParameterValueList)
         | 
| 2790 | 
            +
             | 
| 2704 2791 | 
             
                SeveritySummary.add_member(:critical_count, Shapes::ShapeRef.new(shape: ComplianceSummaryCount, location_name: "CriticalCount"))
         | 
| 2705 2792 | 
             
                SeveritySummary.add_member(:high_count, Shapes::ShapeRef.new(shape: ComplianceSummaryCount, location_name: "HighCount"))
         | 
| 2706 2793 | 
             
                SeveritySummary.add_member(:medium_count, Shapes::ShapeRef.new(shape: ComplianceSummaryCount, location_name: "MediumCount"))
         | 
| @@ -2729,6 +2816,16 @@ module Aws::SSM | |
| 2729 2816 | 
             
                StartAutomationExecutionResult.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, location_name: "AutomationExecutionId"))
         | 
| 2730 2817 | 
             
                StartAutomationExecutionResult.struct_class = Types::StartAutomationExecutionResult
         | 
| 2731 2818 |  | 
| 2819 | 
            +
                StartSessionRequest.add_member(:target, Shapes::ShapeRef.new(shape: SessionTarget, required: true, location_name: "Target"))
         | 
| 2820 | 
            +
                StartSessionRequest.add_member(:document_name, Shapes::ShapeRef.new(shape: DocumentARN, location_name: "DocumentName"))
         | 
| 2821 | 
            +
                StartSessionRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: SessionManagerParameters, location_name: "Parameters"))
         | 
| 2822 | 
            +
                StartSessionRequest.struct_class = Types::StartSessionRequest
         | 
| 2823 | 
            +
             | 
| 2824 | 
            +
                StartSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "SessionId"))
         | 
| 2825 | 
            +
                StartSessionResponse.add_member(:token_value, Shapes::ShapeRef.new(shape: TokenValue, location_name: "TokenValue"))
         | 
| 2826 | 
            +
                StartSessionResponse.add_member(:stream_url, Shapes::ShapeRef.new(shape: StreamUrl, location_name: "StreamUrl"))
         | 
| 2827 | 
            +
                StartSessionResponse.struct_class = Types::StartSessionResponse
         | 
| 2828 | 
            +
             | 
| 2732 2829 | 
             
                StepExecution.add_member(:step_name, Shapes::ShapeRef.new(shape: String, location_name: "StepName"))
         | 
| 2733 2830 | 
             
                StepExecution.add_member(:action, Shapes::ShapeRef.new(shape: AutomationActionName, location_name: "Action"))
         | 
| 2734 2831 | 
             
                StepExecution.add_member(:timeout_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "TimeoutSeconds", metadata: {"box"=>true}))
         | 
| @@ -2792,6 +2889,12 @@ module Aws::SSM | |
| 2792 2889 |  | 
| 2793 2890 | 
             
                Targets.member = Shapes::ShapeRef.new(shape: Target)
         | 
| 2794 2891 |  | 
| 2892 | 
            +
                TerminateSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "SessionId"))
         | 
| 2893 | 
            +
                TerminateSessionRequest.struct_class = Types::TerminateSessionRequest
         | 
| 2894 | 
            +
             | 
| 2895 | 
            +
                TerminateSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "SessionId"))
         | 
| 2896 | 
            +
                TerminateSessionResponse.struct_class = Types::TerminateSessionResponse
         | 
| 2897 | 
            +
             | 
| 2795 2898 | 
             
                UpdateAssociationRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location_name: "AssociationId"))
         | 
| 2796 2899 | 
             
                UpdateAssociationRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters"))
         | 
| 2797 2900 | 
             
                UpdateAssociationRequest.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
         | 
| @@ -3525,6 +3628,17 @@ module Aws::SSM | |
| 3525 3628 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
         | 
| 3526 3629 | 
             
                  end)
         | 
| 3527 3630 |  | 
| 3631 | 
            +
                  api.add_operation(:describe_sessions, Seahorse::Model::Operation.new.tap do |o|
         | 
| 3632 | 
            +
                    o.name = "DescribeSessions"
         | 
| 3633 | 
            +
                    o.http_method = "POST"
         | 
| 3634 | 
            +
                    o.http_request_uri = "/"
         | 
| 3635 | 
            +
                    o.input = Shapes::ShapeRef.new(shape: DescribeSessionsRequest)
         | 
| 3636 | 
            +
                    o.output = Shapes::ShapeRef.new(shape: DescribeSessionsResponse)
         | 
| 3637 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
         | 
| 3638 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InvalidFilterKey)
         | 
| 3639 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
         | 
| 3640 | 
            +
                  end)
         | 
| 3641 | 
            +
             | 
| 3528 3642 | 
             
                  api.add_operation(:get_automation_execution, Seahorse::Model::Operation.new.tap do |o|
         | 
| 3529 3643 | 
             
                    o.name = "GetAutomationExecution"
         | 
| 3530 3644 | 
             
                    o.http_method = "POST"
         | 
| @@ -3548,6 +3662,15 @@ module Aws::SSM | |
| 3548 3662 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: InvocationDoesNotExist)
         | 
| 3549 3663 | 
             
                  end)
         | 
| 3550 3664 |  | 
| 3665 | 
            +
                  api.add_operation(:get_connection_status, Seahorse::Model::Operation.new.tap do |o|
         | 
| 3666 | 
            +
                    o.name = "GetConnectionStatus"
         | 
| 3667 | 
            +
                    o.http_method = "POST"
         | 
| 3668 | 
            +
                    o.http_request_uri = "/"
         | 
| 3669 | 
            +
                    o.input = Shapes::ShapeRef.new(shape: GetConnectionStatusRequest)
         | 
| 3670 | 
            +
                    o.output = Shapes::ShapeRef.new(shape: GetConnectionStatusResponse)
         | 
| 3671 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
         | 
| 3672 | 
            +
                  end)
         | 
| 3673 | 
            +
             | 
| 3551 3674 | 
             
                  api.add_operation(:get_default_patch_baseline, Seahorse::Model::Operation.new.tap do |o|
         | 
| 3552 3675 | 
             
                    o.name = "GetDefaultPatchBaseline"
         | 
| 3553 3676 | 
             
                    o.http_method = "POST"
         | 
| @@ -4037,6 +4160,16 @@ module Aws::SSM | |
| 4037 4160 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: TooManyUpdates)
         | 
| 4038 4161 | 
             
                  end)
         | 
| 4039 4162 |  | 
| 4163 | 
            +
                  api.add_operation(:resume_session, Seahorse::Model::Operation.new.tap do |o|
         | 
| 4164 | 
            +
                    o.name = "ResumeSession"
         | 
| 4165 | 
            +
                    o.http_method = "POST"
         | 
| 4166 | 
            +
                    o.http_request_uri = "/"
         | 
| 4167 | 
            +
                    o.input = Shapes::ShapeRef.new(shape: ResumeSessionRequest)
         | 
| 4168 | 
            +
                    o.output = Shapes::ShapeRef.new(shape: ResumeSessionResponse)
         | 
| 4169 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: DoesNotExistException)
         | 
| 4170 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
         | 
| 4171 | 
            +
                  end)
         | 
| 4172 | 
            +
             | 
| 4040 4173 | 
             
                  api.add_operation(:send_automation_signal, Seahorse::Model::Operation.new.tap do |o|
         | 
| 4041 4174 | 
             
                    o.name = "SendAutomationSignal"
         | 
| 4042 4175 | 
             
                    o.http_method = "POST"
         | 
| @@ -4093,6 +4226,17 @@ module Aws::SSM | |
| 4093 4226 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
         | 
| 4094 4227 | 
             
                  end)
         | 
| 4095 4228 |  | 
| 4229 | 
            +
                  api.add_operation(:start_session, Seahorse::Model::Operation.new.tap do |o|
         | 
| 4230 | 
            +
                    o.name = "StartSession"
         | 
| 4231 | 
            +
                    o.http_method = "POST"
         | 
| 4232 | 
            +
                    o.http_request_uri = "/"
         | 
| 4233 | 
            +
                    o.input = Shapes::ShapeRef.new(shape: StartSessionRequest)
         | 
| 4234 | 
            +
                    o.output = Shapes::ShapeRef.new(shape: StartSessionResponse)
         | 
| 4235 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InvalidDocument)
         | 
| 4236 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: TargetNotConnected)
         | 
| 4237 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
         | 
| 4238 | 
            +
                  end)
         | 
| 4239 | 
            +
             | 
| 4096 4240 | 
             
                  api.add_operation(:stop_automation_execution, Seahorse::Model::Operation.new.tap do |o|
         | 
| 4097 4241 | 
             
                    o.name = "StopAutomationExecution"
         | 
| 4098 4242 | 
             
                    o.http_method = "POST"
         | 
| @@ -4104,6 +4248,16 @@ module Aws::SSM | |
| 4104 4248 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
         | 
| 4105 4249 | 
             
                  end)
         | 
| 4106 4250 |  | 
| 4251 | 
            +
                  api.add_operation(:terminate_session, Seahorse::Model::Operation.new.tap do |o|
         | 
| 4252 | 
            +
                    o.name = "TerminateSession"
         | 
| 4253 | 
            +
                    o.http_method = "POST"
         | 
| 4254 | 
            +
                    o.http_request_uri = "/"
         | 
| 4255 | 
            +
                    o.input = Shapes::ShapeRef.new(shape: TerminateSessionRequest)
         | 
| 4256 | 
            +
                    o.output = Shapes::ShapeRef.new(shape: TerminateSessionResponse)
         | 
| 4257 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: DoesNotExistException)
         | 
| 4258 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
         | 
| 4259 | 
            +
                  end)
         | 
| 4260 | 
            +
             | 
| 4107 4261 | 
             
                  api.add_operation(:update_association, Seahorse::Model::Operation.new.tap do |o|
         | 
| 4108 4262 | 
             
                    o.name = "UpdateAssociation"
         | 
| 4109 4263 | 
             
                    o.http_method = "POST"
         | 
    
        data/lib/aws-sdk-ssm/types.rb
    CHANGED
    
    | @@ -1167,7 +1167,48 @@ module Aws::SSM | |
| 1167 1167 | 
             
                #   @return [String]
         | 
| 1168 1168 | 
             
                #
         | 
| 1169 1169 | 
             
                # @!attribute [rw] value
         | 
| 1170 | 
            -
                #   The filter value.
         | 
| 1170 | 
            +
                #   The filter value. Valid values for each filter key are as follows:
         | 
| 1171 | 
            +
                #
         | 
| 1172 | 
            +
                #   * InvokedAfter: A timestamp to limit your results. For example,
         | 
| 1173 | 
            +
                #     specify `2018-07-07T00:00:00Z` to see results occurring July 7,
         | 
| 1174 | 
            +
                #     2018, and later.
         | 
| 1175 | 
            +
                #
         | 
| 1176 | 
            +
                #   * InvokedBefore: A timestamp to limit your results. For example,
         | 
| 1177 | 
            +
                #     specify `2018-07-07T00:00:00Z` to see results before July 7, 2018.
         | 
| 1178 | 
            +
                #
         | 
| 1179 | 
            +
                #   * Status: Specify a valid command status to see a list of all
         | 
| 1180 | 
            +
                #     command executions with that status. Status values you can specify
         | 
| 1181 | 
            +
                #     include:
         | 
| 1182 | 
            +
                #
         | 
| 1183 | 
            +
                #     * Pending
         | 
| 1184 | 
            +
                #
         | 
| 1185 | 
            +
                #     * InProgress
         | 
| 1186 | 
            +
                #
         | 
| 1187 | 
            +
                #     * Success
         | 
| 1188 | 
            +
                #
         | 
| 1189 | 
            +
                #     * Cancelled
         | 
| 1190 | 
            +
                #
         | 
| 1191 | 
            +
                #     * Failed
         | 
| 1192 | 
            +
                #
         | 
| 1193 | 
            +
                #     * TimedOut
         | 
| 1194 | 
            +
                #
         | 
| 1195 | 
            +
                #     * Cancelling
         | 
| 1196 | 
            +
                #
         | 
| 1197 | 
            +
                #   * DocumentName: The name of the SSM document for which you want to
         | 
| 1198 | 
            +
                #     see command results.
         | 
| 1199 | 
            +
                #
         | 
| 1200 | 
            +
                #     For example, specify `AWS-RunPatchBaseline` to see command
         | 
| 1201 | 
            +
                #     executions that used this SSM document to perform security
         | 
| 1202 | 
            +
                #     patching operations on instances.
         | 
| 1203 | 
            +
                #
         | 
| 1204 | 
            +
                #   * ExecutionStage: An enum whose value can be either `Executing` or
         | 
| 1205 | 
            +
                #     `Complete`.
         | 
| 1206 | 
            +
                #
         | 
| 1207 | 
            +
                #     * Specify `Executing` to see a list of command executions that are
         | 
| 1208 | 
            +
                #       currently still running.
         | 
| 1209 | 
            +
                #
         | 
| 1210 | 
            +
                #     * Specify `Complete` to see a list of command exeuctions that have
         | 
| 1211 | 
            +
                #       already completed.
         | 
| 1171 1212 | 
             
                #   @return [String]
         | 
| 1172 1213 | 
             
                #
         | 
| 1173 1214 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CommandFilter AWS API Documentation
         | 
| @@ -2024,7 +2065,7 @@ module Aws::SSM | |
| 2024 2065 | 
             
                #       {
         | 
| 2025 2066 | 
             
                #         content: "DocumentContent", # required
         | 
| 2026 2067 | 
             
                #         name: "DocumentName", # required
         | 
| 2027 | 
            -
                #         document_type: "Command", # accepts Command, Policy, Automation
         | 
| 2068 | 
            +
                #         document_type: "Command", # accepts Command, Policy, Automation, Session
         | 
| 2028 2069 | 
             
                #         document_format: "YAML", # accepts YAML, JSON
         | 
| 2029 2070 | 
             
                #         target_type: "TargetType",
         | 
| 2030 2071 | 
             
                #       }
         | 
| @@ -3500,8 +3541,14 @@ module Aws::SSM | |
| 3500 3541 | 
             
                #       }
         | 
| 3501 3542 | 
             
                #
         | 
| 3502 3543 | 
             
                # @!attribute [rw] instance_information_filter_list
         | 
| 3503 | 
            -
                #    | 
| 3504 | 
            -
                #    | 
| 3544 | 
            +
                #   This is a legacy method. We recommend that you don't use this
         | 
| 3545 | 
            +
                #   method. Instead, use the InstanceInformationFilter action. The
         | 
| 3546 | 
            +
                #   `InstanceInformationFilter` action enables you to return instance
         | 
| 3547 | 
            +
                #   information by using tags that are specified as a key-value mapping.
         | 
| 3548 | 
            +
                #
         | 
| 3549 | 
            +
                #   If you do use this method, then you can't use the
         | 
| 3550 | 
            +
                #   `InstanceInformationFilter` action. Using this method and the
         | 
| 3551 | 
            +
                #   `InstanceInformationFilter` action causes an exception error.
         | 
| 3505 3552 | 
             
                #   @return [Array<Types::InstanceInformationFilter>]
         | 
| 3506 3553 | 
             
                #
         | 
| 3507 3554 | 
             
                # @!attribute [rw] filters
         | 
| @@ -4424,6 +4471,69 @@ module Aws::SSM | |
| 4424 4471 | 
             
                  include Aws::Structure
         | 
| 4425 4472 | 
             
                end
         | 
| 4426 4473 |  | 
| 4474 | 
            +
                # @note When making an API call, you may pass DescribeSessionsRequest
         | 
| 4475 | 
            +
                #   data as a hash:
         | 
| 4476 | 
            +
                #
         | 
| 4477 | 
            +
                #       {
         | 
| 4478 | 
            +
                #         state: "Active", # required, accepts Active, History
         | 
| 4479 | 
            +
                #         max_results: 1,
         | 
| 4480 | 
            +
                #         next_token: "NextToken",
         | 
| 4481 | 
            +
                #         filters: [
         | 
| 4482 | 
            +
                #           {
         | 
| 4483 | 
            +
                #             key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status
         | 
| 4484 | 
            +
                #             value: "SessionFilterValue", # required
         | 
| 4485 | 
            +
                #           },
         | 
| 4486 | 
            +
                #         ],
         | 
| 4487 | 
            +
                #       }
         | 
| 4488 | 
            +
                #
         | 
| 4489 | 
            +
                # @!attribute [rw] state
         | 
| 4490 | 
            +
                #   The session status to retrieve a list of sessions for. For example,
         | 
| 4491 | 
            +
                #   "active".
         | 
| 4492 | 
            +
                #   @return [String]
         | 
| 4493 | 
            +
                #
         | 
| 4494 | 
            +
                # @!attribute [rw] max_results
         | 
| 4495 | 
            +
                #   The maximum number of items to return for this call. The call also
         | 
| 4496 | 
            +
                #   returns a token that you can specify in a subsequent call to get the
         | 
| 4497 | 
            +
                #   next set of results.
         | 
| 4498 | 
            +
                #   @return [Integer]
         | 
| 4499 | 
            +
                #
         | 
| 4500 | 
            +
                # @!attribute [rw] next_token
         | 
| 4501 | 
            +
                #   The token for the next set of items to return. (You received this
         | 
| 4502 | 
            +
                #   token from a previous call.)
         | 
| 4503 | 
            +
                #   @return [String]
         | 
| 4504 | 
            +
                #
         | 
| 4505 | 
            +
                # @!attribute [rw] filters
         | 
| 4506 | 
            +
                #   One or more filters to limit the type of sessions returned by the
         | 
| 4507 | 
            +
                #   request.
         | 
| 4508 | 
            +
                #   @return [Array<Types::SessionFilter>]
         | 
| 4509 | 
            +
                #
         | 
| 4510 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeSessionsRequest AWS API Documentation
         | 
| 4511 | 
            +
                #
         | 
| 4512 | 
            +
                class DescribeSessionsRequest < Struct.new(
         | 
| 4513 | 
            +
                  :state,
         | 
| 4514 | 
            +
                  :max_results,
         | 
| 4515 | 
            +
                  :next_token,
         | 
| 4516 | 
            +
                  :filters)
         | 
| 4517 | 
            +
                  include Aws::Structure
         | 
| 4518 | 
            +
                end
         | 
| 4519 | 
            +
             | 
| 4520 | 
            +
                # @!attribute [rw] sessions
         | 
| 4521 | 
            +
                #   A list of sessions meeting the request parameters.
         | 
| 4522 | 
            +
                #   @return [Array<Types::Session>]
         | 
| 4523 | 
            +
                #
         | 
| 4524 | 
            +
                # @!attribute [rw] next_token
         | 
| 4525 | 
            +
                #   The token for the next set of items to return. (You received this
         | 
| 4526 | 
            +
                #   token from a previous call.)
         | 
| 4527 | 
            +
                #   @return [String]
         | 
| 4528 | 
            +
                #
         | 
| 4529 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeSessionsResponse AWS API Documentation
         | 
| 4530 | 
            +
                #
         | 
| 4531 | 
            +
                class DescribeSessionsResponse < Struct.new(
         | 
| 4532 | 
            +
                  :sessions,
         | 
| 4533 | 
            +
                  :next_token)
         | 
| 4534 | 
            +
                  include Aws::Structure
         | 
| 4535 | 
            +
                end
         | 
| 4536 | 
            +
             | 
| 4427 4537 | 
             
                # A default version of a document.
         | 
| 4428 4538 | 
             
                #
         | 
| 4429 4539 | 
             
                # @!attribute [rw] name
         | 
| @@ -5082,6 +5192,41 @@ module Aws::SSM | |
| 5082 5192 | 
             
                  include Aws::Structure
         | 
| 5083 5193 | 
             
                end
         | 
| 5084 5194 |  | 
| 5195 | 
            +
                # @note When making an API call, you may pass GetConnectionStatusRequest
         | 
| 5196 | 
            +
                #   data as a hash:
         | 
| 5197 | 
            +
                #
         | 
| 5198 | 
            +
                #       {
         | 
| 5199 | 
            +
                #         target: "SessionTarget", # required
         | 
| 5200 | 
            +
                #       }
         | 
| 5201 | 
            +
                #
         | 
| 5202 | 
            +
                # @!attribute [rw] target
         | 
| 5203 | 
            +
                #   The ID of the instance.
         | 
| 5204 | 
            +
                #   @return [String]
         | 
| 5205 | 
            +
                #
         | 
| 5206 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetConnectionStatusRequest AWS API Documentation
         | 
| 5207 | 
            +
                #
         | 
| 5208 | 
            +
                class GetConnectionStatusRequest < Struct.new(
         | 
| 5209 | 
            +
                  :target)
         | 
| 5210 | 
            +
                  include Aws::Structure
         | 
| 5211 | 
            +
                end
         | 
| 5212 | 
            +
             | 
| 5213 | 
            +
                # @!attribute [rw] target
         | 
| 5214 | 
            +
                #   The ID of the instance to check connection status.
         | 
| 5215 | 
            +
                #   @return [String]
         | 
| 5216 | 
            +
                #
         | 
| 5217 | 
            +
                # @!attribute [rw] status
         | 
| 5218 | 
            +
                #   The status of the connection to the instance. For example,
         | 
| 5219 | 
            +
                #   'Connected' or 'Not Connected'.
         | 
| 5220 | 
            +
                #   @return [String]
         | 
| 5221 | 
            +
                #
         | 
| 5222 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetConnectionStatusResponse AWS API Documentation
         | 
| 5223 | 
            +
                #
         | 
| 5224 | 
            +
                class GetConnectionStatusResponse < Struct.new(
         | 
| 5225 | 
            +
                  :target,
         | 
| 5226 | 
            +
                  :status)
         | 
| 5227 | 
            +
                  include Aws::Structure
         | 
| 5228 | 
            +
                end
         | 
| 5229 | 
            +
             | 
| 5085 5230 | 
             
                # @note When making an API call, you may pass GetDefaultPatchBaselineRequest
         | 
| 5086 5231 | 
             
                #   data as a hash:
         | 
| 5087 5232 | 
             
                #
         | 
| @@ -6507,7 +6652,14 @@ module Aws::SSM | |
| 6507 6652 | 
             
                  include Aws::Structure
         | 
| 6508 6653 | 
             
                end
         | 
| 6509 6654 |  | 
| 6510 | 
            -
                # Describes a filter for a specific list of instances.
         | 
| 6655 | 
            +
                # Describes a filter for a specific list of instances. You can filter
         | 
| 6656 | 
            +
                # instances information by using tags. You specify tags by using a
         | 
| 6657 | 
            +
                # key-value mapping.
         | 
| 6658 | 
            +
                #
         | 
| 6659 | 
            +
                # Use this action instead of the
         | 
| 6660 | 
            +
                # DescribeInstanceInformationRequest$InstanceInformationFilterList
         | 
| 6661 | 
            +
                # method. The `InstanceInformationFilterList` method is a legacy method
         | 
| 6662 | 
            +
                # and does not support tags.
         | 
| 6511 6663 | 
             
                #
         | 
| 6512 6664 | 
             
                # @note When making an API call, you may pass InstanceInformationFilter
         | 
| 6513 6665 | 
             
                #   data as a hash:
         | 
| @@ -10719,6 +10871,62 @@ module Aws::SSM | |
| 10719 10871 | 
             
                  include Aws::Structure
         | 
| 10720 10872 | 
             
                end
         | 
| 10721 10873 |  | 
| 10874 | 
            +
                # @note When making an API call, you may pass ResumeSessionRequest
         | 
| 10875 | 
            +
                #   data as a hash:
         | 
| 10876 | 
            +
                #
         | 
| 10877 | 
            +
                #       {
         | 
| 10878 | 
            +
                #         session_id: "SessionId", # required
         | 
| 10879 | 
            +
                #       }
         | 
| 10880 | 
            +
                #
         | 
| 10881 | 
            +
                # @!attribute [rw] session_id
         | 
| 10882 | 
            +
                #   The ID of the disconnected session to resume.
         | 
| 10883 | 
            +
                #   @return [String]
         | 
| 10884 | 
            +
                #
         | 
| 10885 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResumeSessionRequest AWS API Documentation
         | 
| 10886 | 
            +
                #
         | 
| 10887 | 
            +
                class ResumeSessionRequest < Struct.new(
         | 
| 10888 | 
            +
                  :session_id)
         | 
| 10889 | 
            +
                  include Aws::Structure
         | 
| 10890 | 
            +
                end
         | 
| 10891 | 
            +
             | 
| 10892 | 
            +
                # @!attribute [rw] session_id
         | 
| 10893 | 
            +
                #   The ID of the session.
         | 
| 10894 | 
            +
                #   @return [String]
         | 
| 10895 | 
            +
                #
         | 
| 10896 | 
            +
                # @!attribute [rw] token_value
         | 
| 10897 | 
            +
                #   An encrypted token value containing session and caller information.
         | 
| 10898 | 
            +
                #   Used to authenticate the connection to the instance.
         | 
| 10899 | 
            +
                #   @return [String]
         | 
| 10900 | 
            +
                #
         | 
| 10901 | 
            +
                # @!attribute [rw] stream_url
         | 
| 10902 | 
            +
                #   A URL back to SSM Agent on the instance that the Session Manager
         | 
| 10903 | 
            +
                #   client uses to send commands and receive output from the instance.
         | 
| 10904 | 
            +
                #   Format:
         | 
| 10905 | 
            +
                #   `wss://ssm-messages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output)`.
         | 
| 10906 | 
            +
                #
         | 
| 10907 | 
            +
                #   **region** represents the Region identifier for an AWS Region
         | 
| 10908 | 
            +
                #   supported by AWS Systems Manager, such as `us-east-2` for the US
         | 
| 10909 | 
            +
                #   East (Ohio) Region. For a list of supported **region** values, see
         | 
| 10910 | 
            +
                #   the **Region** column in the [AWS Systems Manager table of regions
         | 
| 10911 | 
            +
                #   and endpoints][1] in the *AWS General Reference*.
         | 
| 10912 | 
            +
                #
         | 
| 10913 | 
            +
                #   **session-id** represents the ID of a Session Manager session, such
         | 
| 10914 | 
            +
                #   as `1a2b3c4dEXAMPLE`.
         | 
| 10915 | 
            +
                #
         | 
| 10916 | 
            +
                #
         | 
| 10917 | 
            +
                #
         | 
| 10918 | 
            +
                #   [1]: http://docs.aws.amazon.com/general/latest/gr/rande.html#ssm_region
         | 
| 10919 | 
            +
                #   @return [String]
         | 
| 10920 | 
            +
                #
         | 
| 10921 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResumeSessionResponse AWS API Documentation
         | 
| 10922 | 
            +
                #
         | 
| 10923 | 
            +
                class ResumeSessionResponse < Struct.new(
         | 
| 10924 | 
            +
                  :session_id,
         | 
| 10925 | 
            +
                  :token_value,
         | 
| 10926 | 
            +
                  :stream_url)
         | 
| 10927 | 
            +
                  include Aws::Structure
         | 
| 10928 | 
            +
                end
         | 
| 10929 | 
            +
             | 
| 10722 10930 | 
             
                # An Amazon S3 bucket where you want to store the results of this
         | 
| 10723 10931 | 
             
                # request.
         | 
| 10724 10932 | 
             
                #
         | 
| @@ -11010,6 +11218,137 @@ module Aws::SSM | |
| 11010 11218 | 
             
                  include Aws::Structure
         | 
| 11011 11219 | 
             
                end
         | 
| 11012 11220 |  | 
| 11221 | 
            +
                # Information about a Session Manager connection to an instance.
         | 
| 11222 | 
            +
                #
         | 
| 11223 | 
            +
                # @!attribute [rw] session_id
         | 
| 11224 | 
            +
                #   The ID of the session.
         | 
| 11225 | 
            +
                #   @return [String]
         | 
| 11226 | 
            +
                #
         | 
| 11227 | 
            +
                # @!attribute [rw] target
         | 
| 11228 | 
            +
                #   The instance that the Session Manager session connected to.
         | 
| 11229 | 
            +
                #   @return [String]
         | 
| 11230 | 
            +
                #
         | 
| 11231 | 
            +
                # @!attribute [rw] status
         | 
| 11232 | 
            +
                #   The status of the session. For example, "Connected" or
         | 
| 11233 | 
            +
                #   "Terminated".
         | 
| 11234 | 
            +
                #   @return [String]
         | 
| 11235 | 
            +
                #
         | 
| 11236 | 
            +
                # @!attribute [rw] start_date
         | 
| 11237 | 
            +
                #   The date and time, in ISO-8601 Extended format, when the session
         | 
| 11238 | 
            +
                #   began.
         | 
| 11239 | 
            +
                #   @return [Time]
         | 
| 11240 | 
            +
                #
         | 
| 11241 | 
            +
                # @!attribute [rw] end_date
         | 
| 11242 | 
            +
                #   The date and time, in ISO-8601 Extended format, when the session was
         | 
| 11243 | 
            +
                #   terminated.
         | 
| 11244 | 
            +
                #   @return [Time]
         | 
| 11245 | 
            +
                #
         | 
| 11246 | 
            +
                # @!attribute [rw] document_name
         | 
| 11247 | 
            +
                #   The name of the Session Manager SSM document used to define the
         | 
| 11248 | 
            +
                #   parameters and plugin settings for the session. For example,
         | 
| 11249 | 
            +
                #   `SSM-SessionManagerRunShell`.
         | 
| 11250 | 
            +
                #   @return [String]
         | 
| 11251 | 
            +
                #
         | 
| 11252 | 
            +
                # @!attribute [rw] owner
         | 
| 11253 | 
            +
                #   The ID of the AWS user account that started the session.
         | 
| 11254 | 
            +
                #   @return [String]
         | 
| 11255 | 
            +
                #
         | 
| 11256 | 
            +
                # @!attribute [rw] details
         | 
| 11257 | 
            +
                #   Reserved for future use.
         | 
| 11258 | 
            +
                #   @return [String]
         | 
| 11259 | 
            +
                #
         | 
| 11260 | 
            +
                # @!attribute [rw] output_url
         | 
| 11261 | 
            +
                #   Reserved for future use.
         | 
| 11262 | 
            +
                #   @return [Types::SessionManagerOutputUrl]
         | 
| 11263 | 
            +
                #
         | 
| 11264 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Session AWS API Documentation
         | 
| 11265 | 
            +
                #
         | 
| 11266 | 
            +
                class Session < Struct.new(
         | 
| 11267 | 
            +
                  :session_id,
         | 
| 11268 | 
            +
                  :target,
         | 
| 11269 | 
            +
                  :status,
         | 
| 11270 | 
            +
                  :start_date,
         | 
| 11271 | 
            +
                  :end_date,
         | 
| 11272 | 
            +
                  :document_name,
         | 
| 11273 | 
            +
                  :owner,
         | 
| 11274 | 
            +
                  :details,
         | 
| 11275 | 
            +
                  :output_url)
         | 
| 11276 | 
            +
                  include Aws::Structure
         | 
| 11277 | 
            +
                end
         | 
| 11278 | 
            +
             | 
| 11279 | 
            +
                # Describes a filter for Session Manager information.
         | 
| 11280 | 
            +
                #
         | 
| 11281 | 
            +
                # @note When making an API call, you may pass SessionFilter
         | 
| 11282 | 
            +
                #   data as a hash:
         | 
| 11283 | 
            +
                #
         | 
| 11284 | 
            +
                #       {
         | 
| 11285 | 
            +
                #         key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status
         | 
| 11286 | 
            +
                #         value: "SessionFilterValue", # required
         | 
| 11287 | 
            +
                #       }
         | 
| 11288 | 
            +
                #
         | 
| 11289 | 
            +
                # @!attribute [rw] key
         | 
| 11290 | 
            +
                #   The name of the filter.
         | 
| 11291 | 
            +
                #   @return [String]
         | 
| 11292 | 
            +
                #
         | 
| 11293 | 
            +
                # @!attribute [rw] value
         | 
| 11294 | 
            +
                #   The filter value. Valid values for each filter key are as follows:
         | 
| 11295 | 
            +
                #
         | 
| 11296 | 
            +
                #   * InvokedAfter: Specify a timestamp to limit your results. For
         | 
| 11297 | 
            +
                #     example, specify 2018-08-29T00:00:00Z to see sessions that started
         | 
| 11298 | 
            +
                #     August 29, 2018, and later.
         | 
| 11299 | 
            +
                #
         | 
| 11300 | 
            +
                #   * InvokedBefore: Specify a timestamp to limit your results. For
         | 
| 11301 | 
            +
                #     example, specify 2018-08-29T00:00:00Z to see sessions that started
         | 
| 11302 | 
            +
                #     before August 29, 2018.
         | 
| 11303 | 
            +
                #
         | 
| 11304 | 
            +
                #   * Target: Specify an instance to which session connections have been
         | 
| 11305 | 
            +
                #     made.
         | 
| 11306 | 
            +
                #
         | 
| 11307 | 
            +
                #   * Owner: Specify an AWS user account to see a list of sessions
         | 
| 11308 | 
            +
                #     started by that user.
         | 
| 11309 | 
            +
                #
         | 
| 11310 | 
            +
                #   * Status: Specify a valid session status to see a list of all
         | 
| 11311 | 
            +
                #     sessions with that status. Status values you can specify include:
         | 
| 11312 | 
            +
                #
         | 
| 11313 | 
            +
                #     * Connected
         | 
| 11314 | 
            +
                #
         | 
| 11315 | 
            +
                #     * Connecting
         | 
| 11316 | 
            +
                #
         | 
| 11317 | 
            +
                #     * Disconnected
         | 
| 11318 | 
            +
                #
         | 
| 11319 | 
            +
                #     * Terminated
         | 
| 11320 | 
            +
                #
         | 
| 11321 | 
            +
                #     * Terminating
         | 
| 11322 | 
            +
                #
         | 
| 11323 | 
            +
                #     * Failed
         | 
| 11324 | 
            +
                #   @return [String]
         | 
| 11325 | 
            +
                #
         | 
| 11326 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SessionFilter AWS API Documentation
         | 
| 11327 | 
            +
                #
         | 
| 11328 | 
            +
                class SessionFilter < Struct.new(
         | 
| 11329 | 
            +
                  :key,
         | 
| 11330 | 
            +
                  :value)
         | 
| 11331 | 
            +
                  include Aws::Structure
         | 
| 11332 | 
            +
                end
         | 
| 11333 | 
            +
             | 
| 11334 | 
            +
                # Reserved for future use.
         | 
| 11335 | 
            +
                #
         | 
| 11336 | 
            +
                # @!attribute [rw] s3_output_url
         | 
| 11337 | 
            +
                #   Reserved for future use.
         | 
| 11338 | 
            +
                #   @return [String]
         | 
| 11339 | 
            +
                #
         | 
| 11340 | 
            +
                # @!attribute [rw] cloud_watch_output_url
         | 
| 11341 | 
            +
                #   Reserved for future use.
         | 
| 11342 | 
            +
                #   @return [String]
         | 
| 11343 | 
            +
                #
         | 
| 11344 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SessionManagerOutputUrl AWS API Documentation
         | 
| 11345 | 
            +
                #
         | 
| 11346 | 
            +
                class SessionManagerOutputUrl < Struct.new(
         | 
| 11347 | 
            +
                  :s3_output_url,
         | 
| 11348 | 
            +
                  :cloud_watch_output_url)
         | 
| 11349 | 
            +
                  include Aws::Structure
         | 
| 11350 | 
            +
                end
         | 
| 11351 | 
            +
             | 
| 11013 11352 | 
             
                # The number of managed instances found for each patch severity level
         | 
| 11014 11353 | 
             
                # defined in the request filter.
         | 
| 11015 11354 | 
             
                #
         | 
| @@ -11201,6 +11540,79 @@ module Aws::SSM | |
| 11201 11540 | 
             
                  include Aws::Structure
         | 
| 11202 11541 | 
             
                end
         | 
| 11203 11542 |  | 
| 11543 | 
            +
                # @note When making an API call, you may pass StartSessionRequest
         | 
| 11544 | 
            +
                #   data as a hash:
         | 
| 11545 | 
            +
                #
         | 
| 11546 | 
            +
                #       {
         | 
| 11547 | 
            +
                #         target: "SessionTarget", # required
         | 
| 11548 | 
            +
                #         document_name: "DocumentARN",
         | 
| 11549 | 
            +
                #         parameters: {
         | 
| 11550 | 
            +
                #           "SessionManagerParameterName" => ["SessionManagerParameterValue"],
         | 
| 11551 | 
            +
                #         },
         | 
| 11552 | 
            +
                #       }
         | 
| 11553 | 
            +
                #
         | 
| 11554 | 
            +
                # @!attribute [rw] target
         | 
| 11555 | 
            +
                #   The instance to connect to for the session.
         | 
| 11556 | 
            +
                #   @return [String]
         | 
| 11557 | 
            +
                #
         | 
| 11558 | 
            +
                # @!attribute [rw] document_name
         | 
| 11559 | 
            +
                #   The name of the SSM document to define the parameters and plugin
         | 
| 11560 | 
            +
                #   settings for the session. For example, `SSM-SessionManagerRunShell`.
         | 
| 11561 | 
            +
                #   If no document name is provided, a shell to the instance is launched
         | 
| 11562 | 
            +
                #   by default.
         | 
| 11563 | 
            +
                #   @return [String]
         | 
| 11564 | 
            +
                #
         | 
| 11565 | 
            +
                # @!attribute [rw] parameters
         | 
| 11566 | 
            +
                #   Reserved for future use.
         | 
| 11567 | 
            +
                #   @return [Hash<String,Array<String>>]
         | 
| 11568 | 
            +
                #
         | 
| 11569 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartSessionRequest AWS API Documentation
         | 
| 11570 | 
            +
                #
         | 
| 11571 | 
            +
                class StartSessionRequest < Struct.new(
         | 
| 11572 | 
            +
                  :target,
         | 
| 11573 | 
            +
                  :document_name,
         | 
| 11574 | 
            +
                  :parameters)
         | 
| 11575 | 
            +
                  include Aws::Structure
         | 
| 11576 | 
            +
                end
         | 
| 11577 | 
            +
             | 
| 11578 | 
            +
                # @!attribute [rw] session_id
         | 
| 11579 | 
            +
                #   The ID of the session.
         | 
| 11580 | 
            +
                #   @return [String]
         | 
| 11581 | 
            +
                #
         | 
| 11582 | 
            +
                # @!attribute [rw] token_value
         | 
| 11583 | 
            +
                #   An encrypted token value containing session and caller information.
         | 
| 11584 | 
            +
                #   Used to authenticate the connection to the instance.
         | 
| 11585 | 
            +
                #   @return [String]
         | 
| 11586 | 
            +
                #
         | 
| 11587 | 
            +
                # @!attribute [rw] stream_url
         | 
| 11588 | 
            +
                #   A URL back to SSM Agent on the instance that the Session Manager
         | 
| 11589 | 
            +
                #   client uses to send commands and receive output from the instance.
         | 
| 11590 | 
            +
                #   Format:
         | 
| 11591 | 
            +
                #   `wss://ssm-messages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output)`
         | 
| 11592 | 
            +
                #
         | 
| 11593 | 
            +
                #   **region** represents the Region identifier for an AWS Region
         | 
| 11594 | 
            +
                #   supported by AWS Systems Manager, such as `us-east-2` for the US
         | 
| 11595 | 
            +
                #   East (Ohio) Region. For a list of supported **region** values, see
         | 
| 11596 | 
            +
                #   the **Region** column in the [AWS Systems Manager table of regions
         | 
| 11597 | 
            +
                #   and endpoints][1] in the *AWS General Reference*.
         | 
| 11598 | 
            +
                #
         | 
| 11599 | 
            +
                #   **session-id** represents the ID of a Session Manager session, such
         | 
| 11600 | 
            +
                #   as `1a2b3c4dEXAMPLE`.
         | 
| 11601 | 
            +
                #
         | 
| 11602 | 
            +
                #
         | 
| 11603 | 
            +
                #
         | 
| 11604 | 
            +
                #   [1]: http://docs.aws.amazon.com/general/latest/gr/rande.html#ssm_region
         | 
| 11605 | 
            +
                #   @return [String]
         | 
| 11606 | 
            +
                #
         | 
| 11607 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartSessionResponse AWS API Documentation
         | 
| 11608 | 
            +
                #
         | 
| 11609 | 
            +
                class StartSessionResponse < Struct.new(
         | 
| 11610 | 
            +
                  :session_id,
         | 
| 11611 | 
            +
                  :token_value,
         | 
| 11612 | 
            +
                  :stream_url)
         | 
| 11613 | 
            +
                  include Aws::Structure
         | 
| 11614 | 
            +
                end
         | 
| 11615 | 
            +
             | 
| 11204 11616 | 
             
                # Detailed information about an the execution state of an Automation
         | 
| 11205 11617 | 
             
                # step.
         | 
| 11206 11618 | 
             
                #
         | 
| @@ -11458,6 +11870,35 @@ module Aws::SSM | |
| 11458 11870 | 
             
                  include Aws::Structure
         | 
| 11459 11871 | 
             
                end
         | 
| 11460 11872 |  | 
| 11873 | 
            +
                # @note When making an API call, you may pass TerminateSessionRequest
         | 
| 11874 | 
            +
                #   data as a hash:
         | 
| 11875 | 
            +
                #
         | 
| 11876 | 
            +
                #       {
         | 
| 11877 | 
            +
                #         session_id: "SessionId", # required
         | 
| 11878 | 
            +
                #       }
         | 
| 11879 | 
            +
                #
         | 
| 11880 | 
            +
                # @!attribute [rw] session_id
         | 
| 11881 | 
            +
                #   The ID of the session to terminate.
         | 
| 11882 | 
            +
                #   @return [String]
         | 
| 11883 | 
            +
                #
         | 
| 11884 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/TerminateSessionRequest AWS API Documentation
         | 
| 11885 | 
            +
                #
         | 
| 11886 | 
            +
                class TerminateSessionRequest < Struct.new(
         | 
| 11887 | 
            +
                  :session_id)
         | 
| 11888 | 
            +
                  include Aws::Structure
         | 
| 11889 | 
            +
                end
         | 
| 11890 | 
            +
             | 
| 11891 | 
            +
                # @!attribute [rw] session_id
         | 
| 11892 | 
            +
                #   The ID of the session that has been terminated.
         | 
| 11893 | 
            +
                #   @return [String]
         | 
| 11894 | 
            +
                #
         | 
| 11895 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/TerminateSessionResponse AWS API Documentation
         | 
| 11896 | 
            +
                #
         | 
| 11897 | 
            +
                class TerminateSessionResponse < Struct.new(
         | 
| 11898 | 
            +
                  :session_id)
         | 
| 11899 | 
            +
                  include Aws::Structure
         | 
| 11900 | 
            +
                end
         | 
| 11901 | 
            +
             | 
| 11461 11902 | 
             
                # @note When making an API call, you may pass UpdateAssociationRequest
         | 
| 11462 11903 | 
             
                #   data as a hash:
         | 
| 11463 11904 | 
             
                #
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-ssm
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.26.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Amazon Web Services
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2018-09- | 
| 11 | 
            +
            date: 2018-09-11 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         |