aws-sdk-ssm 1.122.0 → 1.123.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '085180f78eb12847a528ba7cf8bbf8bad083643fb3fbd50f563b6f3882a32cf0'
4
- data.tar.gz: 9cceea48cbdf3214685f1c4eda26ceab1c1a5b446fc48beea17f1f962777e86f
3
+ metadata.gz: c00afbf5348c7c35820f07ec3ed9e81cc40592301103658dd51c75fc2549bc03
4
+ data.tar.gz: f00d99a6189f0892978d0bff8dba7100b1104d2699806c80ed1f5fbe6d405413
5
5
  SHA512:
6
- metadata.gz: acc029b21dbe047da8956d9e9c14a19bfcf77f28ea4f4c962f8e624c4e58ae2f5363890aab8daafc01c1bd7f1d37e5a63b19ecedf6e6726f8d84835966305313
7
- data.tar.gz: a1e414f1bb2d336f4bbe70622491aec8a98bcda9420caf23bf42d052fe1796abef3fa653717f977ee2256ba68a377b4bedd9f00c8a31ba197e5ddda8310855b6
6
+ metadata.gz: 0b7852647c960a6620193e38d7c006708a0a40694e41452356d89c19e1788a9d20298cd268efd98e4f736a3ebf43c75b3427071886a60544d15f627a5f04ce27
7
+ data.tar.gz: a42618238232a79c7646e14476a84467ca2300900645dc6de647f7899b48982a3f5965261c4a19e367910b2234f2982cad81de5bf32548055caddbffd75a6ce2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.123.0 (2021-11-15)
5
+ ------------------
6
+
7
+ * Feature - Adds support for Session Reason and Max Session Duration for Systems Manager Session Manager.
8
+
4
9
  1.122.0 (2021-11-12)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.122.0
1
+ 1.123.0
@@ -4895,9 +4895,11 @@ module Aws::SSM
4895
4895
  # resp.sessions[0].end_date #=> Time
4896
4896
  # resp.sessions[0].document_name #=> String
4897
4897
  # resp.sessions[0].owner #=> String
4898
+ # resp.sessions[0].reason #=> String
4898
4899
  # resp.sessions[0].details #=> String
4899
4900
  # resp.sessions[0].output_url.s3_output_url #=> String
4900
4901
  # resp.sessions[0].output_url.cloud_watch_output_url #=> String
4902
+ # resp.sessions[0].max_session_duration #=> String
4901
4903
  # resp.next_token #=> String
4902
4904
  #
4903
4905
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeSessions AWS API Documentation
@@ -9572,6 +9574,11 @@ module Aws::SSM
9572
9574
  # attempting to start a session. If no document name is provided, a
9573
9575
  # shell to the instance is launched by default.
9574
9576
  #
9577
+ # @option params [String] :reason
9578
+ # The reason for connecting to the instance. This value is included in
9579
+ # the details for the Amazon CloudWatch Events event created when you
9580
+ # start the session.
9581
+ #
9575
9582
  # @option params [Hash<String,Array>] :parameters
9576
9583
  # Reserved for future use.
9577
9584
  #
@@ -9586,6 +9593,7 @@ module Aws::SSM
9586
9593
  # resp = client.start_session({
9587
9594
  # target: "SessionTarget", # required
9588
9595
  # document_name: "DocumentARN",
9596
+ # reason: "SessionReason",
9589
9597
  # parameters: {
9590
9598
  # "SessionManagerParameterName" => ["SessionManagerParameterValue"],
9591
9599
  # },
@@ -11382,7 +11390,7 @@ module Aws::SSM
11382
11390
  params: params,
11383
11391
  config: config)
11384
11392
  context[:gem_name] = 'aws-sdk-ssm'
11385
- context[:gem_version] = '1.122.0'
11393
+ context[:gem_version] = '1.123.0'
11386
11394
  Seahorse::Client::Request.new(handlers, context)
11387
11395
  end
11388
11396
 
@@ -688,6 +688,7 @@ module Aws::SSM
688
688
  MaxErrors = Shapes::StringShape.new(name: 'MaxErrors')
689
689
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
690
690
  MaxResultsEC2Compatible = Shapes::IntegerShape.new(name: 'MaxResultsEC2Compatible')
691
+ MaxSessionDuration = Shapes::StringShape.new(name: 'MaxSessionDuration')
691
692
  MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
692
693
  MetadataKeysToDeleteList = Shapes::ListShape.new(name: 'MetadataKeysToDeleteList')
693
694
  MetadataMap = Shapes::MapShape.new(name: 'MetadataMap')
@@ -1049,6 +1050,7 @@ module Aws::SSM
1049
1050
  SessionManagerS3OutputUrl = Shapes::StringShape.new(name: 'SessionManagerS3OutputUrl')
1050
1051
  SessionMaxResults = Shapes::IntegerShape.new(name: 'SessionMaxResults')
1051
1052
  SessionOwner = Shapes::StringShape.new(name: 'SessionOwner')
1053
+ SessionReason = Shapes::StringShape.new(name: 'SessionReason')
1052
1054
  SessionState = Shapes::StringShape.new(name: 'SessionState')
1053
1055
  SessionStatus = Shapes::StringShape.new(name: 'SessionStatus')
1054
1056
  SessionTarget = Shapes::StringShape.new(name: 'SessionTarget')
@@ -4101,8 +4103,10 @@ module Aws::SSM
4101
4103
  Session.add_member(:end_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndDate"))
4102
4104
  Session.add_member(:document_name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "DocumentName"))
4103
4105
  Session.add_member(:owner, Shapes::ShapeRef.new(shape: SessionOwner, location_name: "Owner"))
4106
+ Session.add_member(:reason, Shapes::ShapeRef.new(shape: SessionReason, location_name: "Reason"))
4104
4107
  Session.add_member(:details, Shapes::ShapeRef.new(shape: SessionDetails, location_name: "Details"))
4105
4108
  Session.add_member(:output_url, Shapes::ShapeRef.new(shape: SessionManagerOutputUrl, location_name: "OutputUrl"))
4109
+ Session.add_member(:max_session_duration, Shapes::ShapeRef.new(shape: MaxSessionDuration, location_name: "MaxSessionDuration"))
4106
4110
  Session.struct_class = Types::Session
4107
4111
 
4108
4112
  SessionFilter.add_member(:key, Shapes::ShapeRef.new(shape: SessionFilterKey, required: true, location_name: "key"))
@@ -4170,6 +4174,7 @@ module Aws::SSM
4170
4174
 
4171
4175
  StartSessionRequest.add_member(:target, Shapes::ShapeRef.new(shape: SessionTarget, required: true, location_name: "Target"))
4172
4176
  StartSessionRequest.add_member(:document_name, Shapes::ShapeRef.new(shape: DocumentARN, location_name: "DocumentName"))
4177
+ StartSessionRequest.add_member(:reason, Shapes::ShapeRef.new(shape: SessionReason, location_name: "Reason"))
4173
4178
  StartSessionRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: SessionManagerParameters, location_name: "Parameters"))
4174
4179
  StartSessionRequest.struct_class = Types::StartSessionRequest
4175
4180
 
@@ -15325,8 +15325,8 @@ module Aws::SSM
15325
15325
  # and GetParametersByPath API operations. However, not all of the
15326
15326
  # pattern values listed for `Key` can be used with both operations.
15327
15327
  #
15328
- # For `DescribeActions`, all of the listed patterns are valid except
15329
- # `Label`.
15328
+ # For `DescribeParameters`, all of the listed patterns are valid
15329
+ # except `Label`.
15330
15330
  #
15331
15331
  # For `GetParametersByPath`, the following patterns listed for `Key`
15332
15332
  # aren't valid: `tag`, `DataType`, `Name`, `Path`, and `Tier`.
@@ -18347,6 +18347,10 @@ module Aws::SSM
18347
18347
  # session.
18348
18348
  # @return [String]
18349
18349
  #
18350
+ # @!attribute [rw] reason
18351
+ # The reason for connecting to the instance.
18352
+ # @return [String]
18353
+ #
18350
18354
  # @!attribute [rw] details
18351
18355
  # Reserved for future use.
18352
18356
  # @return [String]
@@ -18355,6 +18359,10 @@ module Aws::SSM
18355
18359
  # Reserved for future use.
18356
18360
  # @return [Types::SessionManagerOutputUrl]
18357
18361
  #
18362
+ # @!attribute [rw] max_session_duration
18363
+ # The maximum duration of a session before it terminates.
18364
+ # @return [String]
18365
+ #
18358
18366
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Session AWS API Documentation
18359
18367
  #
18360
18368
  class Session < Struct.new(
@@ -18365,8 +18373,10 @@ module Aws::SSM
18365
18373
  :end_date,
18366
18374
  :document_name,
18367
18375
  :owner,
18376
+ :reason,
18368
18377
  :details,
18369
- :output_url)
18378
+ :output_url,
18379
+ :max_session_duration)
18370
18380
  SENSITIVE = []
18371
18381
  include Aws::Structure
18372
18382
  end
@@ -18877,6 +18887,7 @@ module Aws::SSM
18877
18887
  # {
18878
18888
  # target: "SessionTarget", # required
18879
18889
  # document_name: "DocumentARN",
18890
+ # reason: "SessionReason",
18880
18891
  # parameters: {
18881
18892
  # "SessionManagerParameterName" => ["SessionManagerParameterValue"],
18882
18893
  # },
@@ -18894,6 +18905,12 @@ module Aws::SSM
18894
18905
  # provided, a shell to the instance is launched by default.
18895
18906
  # @return [String]
18896
18907
  #
18908
+ # @!attribute [rw] reason
18909
+ # The reason for connecting to the instance. This value is included in
18910
+ # the details for the Amazon CloudWatch Events event created when you
18911
+ # start the session.
18912
+ # @return [String]
18913
+ #
18897
18914
  # @!attribute [rw] parameters
18898
18915
  # Reserved for future use.
18899
18916
  # @return [Hash<String,Array<String>>]
@@ -18903,6 +18920,7 @@ module Aws::SSM
18903
18920
  class StartSessionRequest < Struct.new(
18904
18921
  :target,
18905
18922
  :document_name,
18923
+ :reason,
18906
18924
  :parameters)
18907
18925
  SENSITIVE = []
18908
18926
  include Aws::Structure
data/lib/aws-sdk-ssm.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ssm/customizations'
49
49
  # @!group service
50
50
  module Aws::SSM
51
51
 
52
- GEM_VERSION = '1.122.0'
52
+ GEM_VERSION = '1.123.0'
53
53
 
54
54
  end
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.122.0
4
+ version: 1.123.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: 2021-11-12 00:00:00.000000000 Z
11
+ date: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core