aws-sdk-ssm 1.37.0 → 1.38.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a7b73ef10d2704dd181e84f6f94cad2ff11e221e
4
- data.tar.gz: ea160f43bb5463e0b09fe1cf5fe5d724c6984495
3
+ metadata.gz: b7e37305a5a6589d44f0f9167811cb37522c4e23
4
+ data.tar.gz: 7361c8c10e4c290440420bcaac63b14b5a42433a
5
5
  SHA512:
6
- metadata.gz: 06400f4eb5b1a1314b39cdc0e5fc4eb4b74694e35b0fc07d9ce2df0d921c2abf56b4c16f6f939d0b0f7135e9fac2a4e638dd7013e4323db43b8f7eb833b5c688
7
- data.tar.gz: bceaa79213715b12324074201b4de37160092330550e974783aa60ea630d0cc8806eb30459dffbf6185d03438df28668099e8d7a038399a9e0b08259443b31aa
6
+ metadata.gz: 2bfb7d813fd134d9a8600ee5e3a4379ed8d2ad8c3136ed06ba53c957825f288bcfdb289ad6626b824b35a6ab0a27876a8f374fd08ad6780190465bdb6667c386
7
+ data.tar.gz: 368003f44826fb6170d1b57b3e0c28b300068d5cdd3c6d324db4e0c66172e5523fcc1cef7fa6304734eb02d0af53e37a14fc50235aa0c80fca91b26c4f30984c
data/lib/aws-sdk-ssm.rb CHANGED
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-ssm/customizations'
42
42
  # @service
43
43
  module Aws::SSM
44
44
 
45
- GEM_VERSION = '1.37.0'
45
+ GEM_VERSION = '1.38.0'
46
46
 
47
47
  end
@@ -4740,6 +4740,55 @@ module Aws::SSM
4740
4740
  req.send_request(options)
4741
4741
  end
4742
4742
 
4743
+ # `ServiceSetting` is an account-level setting for an AWS service. This
4744
+ # setting defines how a user interacts with or uses a service or a
4745
+ # feature of a service. For example, if an AWS service charges money to
4746
+ # the account based on feature or service usage, then the AWS service
4747
+ # team might create a default setting of "false". This means the user
4748
+ # can't use this feature unless they change the setting to "true" and
4749
+ # intentionally opt in for a paid feature.
4750
+ #
4751
+ # Services map a `SettingId` object to a setting value. AWS services
4752
+ # teams define the default value for a `SettingId`. You can't create a
4753
+ # new `SettingId`, but you can overwrite the default value if you have
4754
+ # the `ssm:UpdateServiceSetting` permission for the setting. Use the
4755
+ # UpdateServiceSetting API action to change the default setting. Or use
4756
+ # the ResetServiceSetting to change the value back to the original value
4757
+ # defined by the AWS service team.
4758
+ #
4759
+ # Query the current service setting for the account.
4760
+ #
4761
+ # @option params [required, String] :setting_id
4762
+ # The ID of the service setting to get.
4763
+ #
4764
+ # @return [Types::GetServiceSettingResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4765
+ #
4766
+ # * {Types::GetServiceSettingResult#service_setting #service_setting} => Types::ServiceSetting
4767
+ #
4768
+ # @example Request syntax with placeholder values
4769
+ #
4770
+ # resp = client.get_service_setting({
4771
+ # setting_id: "ServiceSettingId", # required
4772
+ # })
4773
+ #
4774
+ # @example Response structure
4775
+ #
4776
+ # resp.service_setting.setting_id #=> String
4777
+ # resp.service_setting.setting_value #=> String
4778
+ # resp.service_setting.last_modified_date #=> Time
4779
+ # resp.service_setting.last_modified_user #=> String
4780
+ # resp.service_setting.arn #=> String
4781
+ # resp.service_setting.status #=> String
4782
+ #
4783
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetServiceSetting AWS API Documentation
4784
+ #
4785
+ # @overload get_service_setting(params = {})
4786
+ # @param [Hash] params ({})
4787
+ def get_service_setting(params = {}, options = {})
4788
+ req = build_request(:get_service_setting, params)
4789
+ req.send_request(options)
4790
+ end
4791
+
4743
4792
  # A parameter label is a user-defined alias to help you manage different
4744
4793
  # versions of a parameter. When you modify a parameter, Systems Manager
4745
4794
  # automatically saves a new version and increments the version number by
@@ -6323,6 +6372,55 @@ module Aws::SSM
6323
6372
  req.send_request(options)
6324
6373
  end
6325
6374
 
6375
+ # `ServiceSetting` is an account-level setting for an AWS service. This
6376
+ # setting defines how a user interacts with or uses a service or a
6377
+ # feature of a service. For example, if an AWS service charges money to
6378
+ # the account based on feature or service usage, then the AWS service
6379
+ # team might create a default setting of "false". This means the user
6380
+ # can't use this feature unless they change the setting to "true" and
6381
+ # intentionally opt in for a paid feature.
6382
+ #
6383
+ # Services map a `SettingId` object to a setting value. AWS services
6384
+ # teams define the default value for a `SettingId`. You can't create a
6385
+ # new `SettingId`, but you can overwrite the default value if you have
6386
+ # the `ssm:UpdateServiceSetting` permission for the setting. Use the
6387
+ # GetServiceSetting API action to view the current value. Use the
6388
+ # UpdateServiceSetting API action to change the default setting.
6389
+ #
6390
+ # Reset the service setting for the account to the default value as
6391
+ # provisioned by the AWS service team.
6392
+ #
6393
+ # @option params [required, String] :setting_id
6394
+ # The ID of the service setting to reset.
6395
+ #
6396
+ # @return [Types::ResetServiceSettingResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6397
+ #
6398
+ # * {Types::ResetServiceSettingResult#service_setting #service_setting} => Types::ServiceSetting
6399
+ #
6400
+ # @example Request syntax with placeholder values
6401
+ #
6402
+ # resp = client.reset_service_setting({
6403
+ # setting_id: "ServiceSettingId", # required
6404
+ # })
6405
+ #
6406
+ # @example Response structure
6407
+ #
6408
+ # resp.service_setting.setting_id #=> String
6409
+ # resp.service_setting.setting_value #=> String
6410
+ # resp.service_setting.last_modified_date #=> Time
6411
+ # resp.service_setting.last_modified_user #=> String
6412
+ # resp.service_setting.arn #=> String
6413
+ # resp.service_setting.status #=> String
6414
+ #
6415
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResetServiceSetting AWS API Documentation
6416
+ #
6417
+ # @overload reset_service_setting(params = {})
6418
+ # @param [Hash] params ({})
6419
+ def reset_service_setting(params = {}, options = {})
6420
+ req = build_request(:reset_service_setting, params)
6421
+ req.send_request(options)
6422
+ end
6423
+
6326
6424
  # Reconnects a session to an instance after it has been disconnected.
6327
6425
  # Connections can be resumed for disconnected sessions, but not
6328
6426
  # terminated sessions.
@@ -7900,6 +7998,48 @@ module Aws::SSM
7900
7998
  req.send_request(options)
7901
7999
  end
7902
8000
 
8001
+ # `ServiceSetting` is an account-level setting for an AWS service. This
8002
+ # setting defines how a user interacts with or uses a service or a
8003
+ # feature of a service. For example, if an AWS service charges money to
8004
+ # the account based on feature or service usage, then the AWS service
8005
+ # team might create a default setting of "false". This means the user
8006
+ # can't use this feature unless they change the setting to "true" and
8007
+ # intentionally opt in for a paid feature.
8008
+ #
8009
+ # Services map a `SettingId` object to a setting value. AWS services
8010
+ # teams define the default value for a `SettingId`. You can't create a
8011
+ # new `SettingId`, but you can overwrite the default value if you have
8012
+ # the `ssm:UpdateServiceSetting` permission for the setting. Use the
8013
+ # GetServiceSetting API action to view the current value. Or, use the
8014
+ # ResetServiceSetting to change the value back to the original value
8015
+ # defined by the AWS service team.
8016
+ #
8017
+ # Update the service setting for the account.
8018
+ #
8019
+ # @option params [required, String] :setting_id
8020
+ # The ID of the service setting to update.
8021
+ #
8022
+ # @option params [required, String] :setting_value
8023
+ # The new value to specify for the service setting.
8024
+ #
8025
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
8026
+ #
8027
+ # @example Request syntax with placeholder values
8028
+ #
8029
+ # resp = client.update_service_setting({
8030
+ # setting_id: "ServiceSettingId", # required
8031
+ # setting_value: "ServiceSettingValue", # required
8032
+ # })
8033
+ #
8034
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateServiceSetting AWS API Documentation
8035
+ #
8036
+ # @overload update_service_setting(params = {})
8037
+ # @param [Hash] params ({})
8038
+ def update_service_setting(params = {}, options = {})
8039
+ req = build_request(:update_service_setting, params)
8040
+ req.send_request(options)
8041
+ end
8042
+
7903
8043
  # @!endgroup
7904
8044
 
7905
8045
  # @param params ({})
@@ -7913,7 +8053,7 @@ module Aws::SSM
7913
8053
  params: params,
7914
8054
  config: config)
7915
8055
  context[:gem_name] = 'aws-sdk-ssm'
7916
- context[:gem_version] = '1.37.0'
8056
+ context[:gem_version] = '1.38.0'
7917
8057
  Seahorse::Client::Request.new(handlers, context)
7918
8058
  end
7919
8059
 
@@ -379,6 +379,8 @@ module Aws::SSM
379
379
  GetPatchBaselineForPatchGroupResult = Shapes::StructureShape.new(name: 'GetPatchBaselineForPatchGroupResult')
380
380
  GetPatchBaselineRequest = Shapes::StructureShape.new(name: 'GetPatchBaselineRequest')
381
381
  GetPatchBaselineResult = Shapes::StructureShape.new(name: 'GetPatchBaselineResult')
382
+ GetServiceSettingRequest = Shapes::StructureShape.new(name: 'GetServiceSettingRequest')
383
+ GetServiceSettingResult = Shapes::StructureShape.new(name: 'GetServiceSettingResult')
382
384
  HierarchyLevelLimitExceededException = Shapes::StructureShape.new(name: 'HierarchyLevelLimitExceededException')
383
385
  HierarchyTypeMismatchException = Shapes::StructureShape.new(name: 'HierarchyTypeMismatchException')
384
386
  IPAddress = Shapes::StringShape.new(name: 'IPAddress')
@@ -755,6 +757,8 @@ module Aws::SSM
755
757
  RemainingCount = Shapes::IntegerShape.new(name: 'RemainingCount')
756
758
  RemoveTagsFromResourceRequest = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceRequest')
757
759
  RemoveTagsFromResourceResult = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceResult')
760
+ ResetServiceSettingRequest = Shapes::StructureShape.new(name: 'ResetServiceSettingRequest')
761
+ ResetServiceSettingResult = Shapes::StructureShape.new(name: 'ResetServiceSettingResult')
758
762
  ResolvedTargets = Shapes::StructureShape.new(name: 'ResolvedTargets')
759
763
  ResourceComplianceSummaryItem = Shapes::StructureShape.new(name: 'ResourceComplianceSummaryItem')
760
764
  ResourceComplianceSummaryItemList = Shapes::ListShape.new(name: 'ResourceComplianceSummaryItemList')
@@ -797,6 +801,10 @@ module Aws::SSM
797
801
  SendCommandRequest = Shapes::StructureShape.new(name: 'SendCommandRequest')
798
802
  SendCommandResult = Shapes::StructureShape.new(name: 'SendCommandResult')
799
803
  ServiceRole = Shapes::StringShape.new(name: 'ServiceRole')
804
+ ServiceSetting = Shapes::StructureShape.new(name: 'ServiceSetting')
805
+ ServiceSettingId = Shapes::StringShape.new(name: 'ServiceSettingId')
806
+ ServiceSettingNotFound = Shapes::StructureShape.new(name: 'ServiceSettingNotFound')
807
+ ServiceSettingValue = Shapes::StringShape.new(name: 'ServiceSettingValue')
800
808
  Session = Shapes::StructureShape.new(name: 'Session')
801
809
  SessionDetails = Shapes::StringShape.new(name: 'SessionDetails')
802
810
  SessionFilter = Shapes::StructureShape.new(name: 'SessionFilter')
@@ -901,6 +909,8 @@ module Aws::SSM
901
909
  UpdateManagedInstanceRoleResult = Shapes::StructureShape.new(name: 'UpdateManagedInstanceRoleResult')
902
910
  UpdatePatchBaselineRequest = Shapes::StructureShape.new(name: 'UpdatePatchBaselineRequest')
903
911
  UpdatePatchBaselineResult = Shapes::StructureShape.new(name: 'UpdatePatchBaselineResult')
912
+ UpdateServiceSettingRequest = Shapes::StructureShape.new(name: 'UpdateServiceSettingRequest')
913
+ UpdateServiceSettingResult = Shapes::StructureShape.new(name: 'UpdateServiceSettingResult')
904
914
  Url = Shapes::StringShape.new(name: 'Url')
905
915
  ValidNextStep = Shapes::StringShape.new(name: 'ValidNextStep')
906
916
  ValidNextStepList = Shapes::ListShape.new(name: 'ValidNextStepList')
@@ -2102,6 +2112,12 @@ module Aws::SSM
2102
2112
  GetPatchBaselineResult.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
2103
2113
  GetPatchBaselineResult.struct_class = Types::GetPatchBaselineResult
2104
2114
 
2115
+ GetServiceSettingRequest.add_member(:setting_id, Shapes::ShapeRef.new(shape: ServiceSettingId, required: true, location_name: "SettingId"))
2116
+ GetServiceSettingRequest.struct_class = Types::GetServiceSettingRequest
2117
+
2118
+ GetServiceSettingResult.add_member(:service_setting, Shapes::ShapeRef.new(shape: ServiceSetting, location_name: "ServiceSetting"))
2119
+ GetServiceSettingResult.struct_class = Types::GetServiceSettingResult
2120
+
2105
2121
  InstanceAggregatedAssociationOverview.add_member(:detailed_status, Shapes::ShapeRef.new(shape: StatusName, location_name: "DetailedStatus"))
2106
2122
  InstanceAggregatedAssociationOverview.add_member(:instance_association_status_aggregated_count, Shapes::ShapeRef.new(shape: InstanceAssociationStatusAggregatedCount, location_name: "InstanceAssociationStatusAggregatedCount"))
2107
2123
  InstanceAggregatedAssociationOverview.struct_class = Types::InstanceAggregatedAssociationOverview
@@ -2845,6 +2861,12 @@ module Aws::SSM
2845
2861
 
2846
2862
  RemoveTagsFromResourceResult.struct_class = Types::RemoveTagsFromResourceResult
2847
2863
 
2864
+ ResetServiceSettingRequest.add_member(:setting_id, Shapes::ShapeRef.new(shape: ServiceSettingId, required: true, location_name: "SettingId"))
2865
+ ResetServiceSettingRequest.struct_class = Types::ResetServiceSettingRequest
2866
+
2867
+ ResetServiceSettingResult.add_member(:service_setting, Shapes::ShapeRef.new(shape: ServiceSetting, location_name: "ServiceSetting"))
2868
+ ResetServiceSettingResult.struct_class = Types::ResetServiceSettingResult
2869
+
2848
2870
  ResolvedTargets.add_member(:parameter_values, Shapes::ShapeRef.new(shape: TargetParameterList, location_name: "ParameterValues"))
2849
2871
  ResolvedTargets.add_member(:truncated, Shapes::ShapeRef.new(shape: Boolean, location_name: "Truncated"))
2850
2872
  ResolvedTargets.struct_class = Types::ResolvedTargets
@@ -2936,6 +2958,14 @@ module Aws::SSM
2936
2958
  SendCommandResult.add_member(:command, Shapes::ShapeRef.new(shape: Command, location_name: "Command"))
2937
2959
  SendCommandResult.struct_class = Types::SendCommandResult
2938
2960
 
2961
+ ServiceSetting.add_member(:setting_id, Shapes::ShapeRef.new(shape: ServiceSettingId, location_name: "SettingId"))
2962
+ ServiceSetting.add_member(:setting_value, Shapes::ShapeRef.new(shape: ServiceSettingValue, location_name: "SettingValue"))
2963
+ ServiceSetting.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedDate"))
2964
+ ServiceSetting.add_member(:last_modified_user, Shapes::ShapeRef.new(shape: String, location_name: "LastModifiedUser"))
2965
+ ServiceSetting.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
2966
+ ServiceSetting.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
2967
+ ServiceSetting.struct_class = Types::ServiceSetting
2968
+
2939
2969
  Session.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "SessionId"))
2940
2970
  Session.add_member(:target, Shapes::ShapeRef.new(shape: SessionTarget, location_name: "Target"))
2941
2971
  Session.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "Status"))
@@ -3239,6 +3269,12 @@ module Aws::SSM
3239
3269
  UpdatePatchBaselineResult.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
3240
3270
  UpdatePatchBaselineResult.struct_class = Types::UpdatePatchBaselineResult
3241
3271
 
3272
+ UpdateServiceSettingRequest.add_member(:setting_id, Shapes::ShapeRef.new(shape: ServiceSettingId, required: true, location_name: "SettingId"))
3273
+ UpdateServiceSettingRequest.add_member(:setting_value, Shapes::ShapeRef.new(shape: ServiceSettingValue, required: true, location_name: "SettingValue"))
3274
+ UpdateServiceSettingRequest.struct_class = Types::UpdateServiceSettingRequest
3275
+
3276
+ UpdateServiceSettingResult.struct_class = Types::UpdateServiceSettingResult
3277
+
3242
3278
  ValidNextStepList.member = Shapes::ShapeRef.new(shape: ValidNextStep)
3243
3279
 
3244
3280
 
@@ -4088,6 +4124,16 @@ module Aws::SSM
4088
4124
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
4089
4125
  end)
4090
4126
 
4127
+ api.add_operation(:get_service_setting, Seahorse::Model::Operation.new.tap do |o|
4128
+ o.name = "GetServiceSetting"
4129
+ o.http_method = "POST"
4130
+ o.http_request_uri = "/"
4131
+ o.input = Shapes::ShapeRef.new(shape: GetServiceSettingRequest)
4132
+ o.output = Shapes::ShapeRef.new(shape: GetServiceSettingResult)
4133
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
4134
+ o.errors << Shapes::ShapeRef.new(shape: ServiceSettingNotFound)
4135
+ end)
4136
+
4091
4137
  api.add_operation(:label_parameter_version, Seahorse::Model::Operation.new.tap do |o|
4092
4138
  o.name = "LabelParameterVersion"
4093
4139
  o.http_method = "POST"
@@ -4391,6 +4437,17 @@ module Aws::SSM
4391
4437
  o.errors << Shapes::ShapeRef.new(shape: TooManyUpdates)
4392
4438
  end)
4393
4439
 
4440
+ api.add_operation(:reset_service_setting, Seahorse::Model::Operation.new.tap do |o|
4441
+ o.name = "ResetServiceSetting"
4442
+ o.http_method = "POST"
4443
+ o.http_request_uri = "/"
4444
+ o.input = Shapes::ShapeRef.new(shape: ResetServiceSettingRequest)
4445
+ o.output = Shapes::ShapeRef.new(shape: ResetServiceSettingResult)
4446
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
4447
+ o.errors << Shapes::ShapeRef.new(shape: ServiceSettingNotFound)
4448
+ o.errors << Shapes::ShapeRef.new(shape: TooManyUpdates)
4449
+ end)
4450
+
4394
4451
  api.add_operation(:resume_session, Seahorse::Model::Operation.new.tap do |o|
4395
4452
  o.name = "ResumeSession"
4396
4453
  o.http_method = "POST"
@@ -4602,6 +4659,17 @@ module Aws::SSM
4602
4659
  o.errors << Shapes::ShapeRef.new(shape: DoesNotExistException)
4603
4660
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
4604
4661
  end)
4662
+
4663
+ api.add_operation(:update_service_setting, Seahorse::Model::Operation.new.tap do |o|
4664
+ o.name = "UpdateServiceSetting"
4665
+ o.http_method = "POST"
4666
+ o.http_request_uri = "/"
4667
+ o.input = Shapes::ShapeRef.new(shape: UpdateServiceSettingRequest)
4668
+ o.output = Shapes::ShapeRef.new(shape: UpdateServiceSettingResult)
4669
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
4670
+ o.errors << Shapes::ShapeRef.new(shape: ServiceSettingNotFound)
4671
+ o.errors << Shapes::ShapeRef.new(shape: TooManyUpdates)
4672
+ end)
4605
4673
  end
4606
4674
 
4607
4675
  end
@@ -7221,6 +7221,39 @@ module Aws::SSM
7221
7221
  include Aws::Structure
7222
7222
  end
7223
7223
 
7224
+ # The request body of the GetServiceSetting API action.
7225
+ #
7226
+ # @note When making an API call, you may pass GetServiceSettingRequest
7227
+ # data as a hash:
7228
+ #
7229
+ # {
7230
+ # setting_id: "ServiceSettingId", # required
7231
+ # }
7232
+ #
7233
+ # @!attribute [rw] setting_id
7234
+ # The ID of the service setting to get.
7235
+ # @return [String]
7236
+ #
7237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetServiceSettingRequest AWS API Documentation
7238
+ #
7239
+ class GetServiceSettingRequest < Struct.new(
7240
+ :setting_id)
7241
+ include Aws::Structure
7242
+ end
7243
+
7244
+ # The query result body of the GetServiceSetting API action.
7245
+ #
7246
+ # @!attribute [rw] service_setting
7247
+ # The query result of the current service setting.
7248
+ # @return [Types::ServiceSetting]
7249
+ #
7250
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetServiceSettingResult AWS API Documentation
7251
+ #
7252
+ class GetServiceSettingResult < Struct.new(
7253
+ :service_setting)
7254
+ include Aws::Structure
7255
+ end
7256
+
7224
7257
  # Status information about the aggregated associations.
7225
7258
  #
7226
7259
  # @!attribute [rw] detailed_status
@@ -11688,6 +11721,40 @@ module Aws::SSM
11688
11721
  #
11689
11722
  class RemoveTagsFromResourceResult < Aws::EmptyStructure; end
11690
11723
 
11724
+ # The request body of the ResetServiceSetting API action.
11725
+ #
11726
+ # @note When making an API call, you may pass ResetServiceSettingRequest
11727
+ # data as a hash:
11728
+ #
11729
+ # {
11730
+ # setting_id: "ServiceSettingId", # required
11731
+ # }
11732
+ #
11733
+ # @!attribute [rw] setting_id
11734
+ # The ID of the service setting to reset.
11735
+ # @return [String]
11736
+ #
11737
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResetServiceSettingRequest AWS API Documentation
11738
+ #
11739
+ class ResetServiceSettingRequest < Struct.new(
11740
+ :setting_id)
11741
+ include Aws::Structure
11742
+ end
11743
+
11744
+ # The result body of the ResetServiceSetting API action.
11745
+ #
11746
+ # @!attribute [rw] service_setting
11747
+ # The current, effective service setting after calling the
11748
+ # ResetServiceSetting API action.
11749
+ # @return [Types::ServiceSetting]
11750
+ #
11751
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResetServiceSettingResult AWS API Documentation
11752
+ #
11753
+ class ResetServiceSettingResult < Struct.new(
11754
+ :service_setting)
11755
+ include Aws::Structure
11756
+ end
11757
+
11691
11758
  # Information about targets that resolved during the Automation
11692
11759
  # execution.
11693
11760
  #
@@ -12244,6 +12311,71 @@ module Aws::SSM
12244
12311
  include Aws::Structure
12245
12312
  end
12246
12313
 
12314
+ # The service setting data structure.
12315
+ #
12316
+ # `ServiceSetting` is an account-level setting for an AWS service. This
12317
+ # setting defines how a user interacts with or uses a service or a
12318
+ # feature of a service. For example, if an AWS service charges money to
12319
+ # the account based on feature or service usage, then the AWS service
12320
+ # team might create a default setting of "false". This means the user
12321
+ # can't use this feature unless they change the setting to "true" and
12322
+ # intentionally opt in for a paid feature.
12323
+ #
12324
+ # Services map a `SettingId` object to a setting value. AWS services
12325
+ # teams define the default value for a `SettingId`. You can't create a
12326
+ # new `SettingId`, but you can overwrite the default value if you have
12327
+ # the `ssm:UpdateServiceSetting` permission for the setting. Use the
12328
+ # UpdateServiceSetting API action to change the default setting. Or, use
12329
+ # the ResetServiceSetting to change the value back to the original value
12330
+ # defined by the AWS service team.
12331
+ #
12332
+ # @!attribute [rw] setting_id
12333
+ # The ID of the service setting.
12334
+ # @return [String]
12335
+ #
12336
+ # @!attribute [rw] setting_value
12337
+ # The value of the service setting.
12338
+ # @return [String]
12339
+ #
12340
+ # @!attribute [rw] last_modified_date
12341
+ # The last time the service setting was modified.
12342
+ # @return [Time]
12343
+ #
12344
+ # @!attribute [rw] last_modified_user
12345
+ # The ARN of the last modified user. This field is populated only if
12346
+ # the setting value was overwritten.
12347
+ # @return [String]
12348
+ #
12349
+ # @!attribute [rw] arn
12350
+ # The ARN of the service setting.
12351
+ # @return [String]
12352
+ #
12353
+ # @!attribute [rw] status
12354
+ # The status of the service setting. The value can be Default,
12355
+ # Customized or PendingUpdate.
12356
+ #
12357
+ # * Default: The current setting uses a default value provisioned by
12358
+ # the AWS service team.
12359
+ #
12360
+ # * Customized: The current setting use a custom value specified by
12361
+ # the customer.
12362
+ #
12363
+ # * PendingUpdate: The current setting uses a default or custom value,
12364
+ # but a setting change request is pending approval.
12365
+ # @return [String]
12366
+ #
12367
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ServiceSetting AWS API Documentation
12368
+ #
12369
+ class ServiceSetting < Struct.new(
12370
+ :setting_id,
12371
+ :setting_value,
12372
+ :last_modified_date,
12373
+ :last_modified_user,
12374
+ :arn,
12375
+ :status)
12376
+ include Aws::Structure
12377
+ end
12378
+
12247
12379
  # Information about a Session Manager connection to an instance.
12248
12380
  #
12249
12381
  # @!attribute [rw] session_id
@@ -14161,5 +14293,37 @@ module Aws::SSM
14161
14293
  include Aws::Structure
14162
14294
  end
14163
14295
 
14296
+ # The request body of the UpdateServiceSetting API action.
14297
+ #
14298
+ # @note When making an API call, you may pass UpdateServiceSettingRequest
14299
+ # data as a hash:
14300
+ #
14301
+ # {
14302
+ # setting_id: "ServiceSettingId", # required
14303
+ # setting_value: "ServiceSettingValue", # required
14304
+ # }
14305
+ #
14306
+ # @!attribute [rw] setting_id
14307
+ # The ID of the service setting to update.
14308
+ # @return [String]
14309
+ #
14310
+ # @!attribute [rw] setting_value
14311
+ # The new value to specify for the service setting.
14312
+ # @return [String]
14313
+ #
14314
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateServiceSettingRequest AWS API Documentation
14315
+ #
14316
+ class UpdateServiceSettingRequest < Struct.new(
14317
+ :setting_id,
14318
+ :setting_value)
14319
+ include Aws::Structure
14320
+ end
14321
+
14322
+ # The result body of the UpdateServiceSetting API action.
14323
+ #
14324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateServiceSettingResult AWS API Documentation
14325
+ #
14326
+ class UpdateServiceSettingResult < Aws::EmptyStructure; end
14327
+
14164
14328
  end
14165
14329
  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.37.0
4
+ version: 1.38.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: 2019-02-28 00:00:00.000000000 Z
11
+ date: 2019-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core