aws-sdk-ssm 1.229.0 → 1.230.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +187 -12
- data/lib/aws-sdk-ssm/client_api.rb +36 -0
- data/lib/aws-sdk-ssm/types.rb +78 -7
- data/lib/aws-sdk-ssm.rb +1 -1
- data/sig/client.rbs +20 -0
- data/sig/types.rbs +18 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 977f629cd6a1f8110f24f283397a930dbfdfcab57a844e52c79ce07202c04ffe
|
|
4
|
+
data.tar.gz: 7c56c8bd55aa39e1216f67be7153478c830bb7a26424a8834ad934d1f46919c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: adb20f934cae300c243c8f16ec0d05de0d59890c8a30ed22a306bd7da92cc8071f4a806141db8bb240906c870f92dbfa2c871327bcb7f081ce44abc51dcdea6b
|
|
7
|
+
data.tar.gz: f7444e728b05a7fd2a42bd312ff11388a1fdfa63be177dfcd4a69da18960600e3c25fbaecfd3dce419df22ca0911340254f8098672b8f63146d13a20d8b8b665
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.230.0 (2026-11-06)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS Systems Manager now provides two new APIs - RegisterDefaultHostManagementConfiguration and DeregisterDefaultHostManagementConfiguration - along with a new DefaultHostManagementConfiguration CloudFormation resource type.
|
|
8
|
+
|
|
4
9
|
1.229.0 (2026-11-04)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.230.0
|
data/lib/aws-sdk-ssm/client.rb
CHANGED
|
@@ -2859,6 +2859,18 @@ module Aws::SSM
|
|
|
2859
2859
|
# Delete a parameter from the system. After deleting a parameter, wait
|
|
2860
2860
|
# for at least 30 seconds to create a parameter with the same name.
|
|
2861
2861
|
#
|
|
2862
|
+
# <note markdown="1"> This operation is authorized against the `ssm:DeleteParameter` action.
|
|
2863
|
+
# Denying that action alone doesn't restrict DeleteParameters, which is
|
|
2864
|
+
# authorized against its own action. For more information, see
|
|
2865
|
+
# [Restricting access to specific parameters and paths][1] in the
|
|
2866
|
+
# *Amazon Web Services Systems Manager User Guide*.
|
|
2867
|
+
#
|
|
2868
|
+
# </note>
|
|
2869
|
+
#
|
|
2870
|
+
#
|
|
2871
|
+
#
|
|
2872
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ps-restrict-parameter-access.html
|
|
2873
|
+
#
|
|
2862
2874
|
# @option params [required, String] :name
|
|
2863
2875
|
# The name of the parameter to delete.
|
|
2864
2876
|
#
|
|
@@ -2887,6 +2899,17 @@ module Aws::SSM
|
|
|
2887
2899
|
# Delete a list of parameters. After deleting a parameter, wait for at
|
|
2888
2900
|
# least 30 seconds to create a parameter with the same name.
|
|
2889
2901
|
#
|
|
2902
|
+
# This operation is authorized against the `ssm:DeleteParameters`
|
|
2903
|
+
# action, not against `ssm:DeleteParameter`. Denying
|
|
2904
|
+
# `ssm:DeleteParameter` for a parameter doesn't prevent a principal
|
|
2905
|
+
# from deleting that parameter with this operation. For more
|
|
2906
|
+
# information, see [Restricting access to specific parameters and
|
|
2907
|
+
# paths][1] in the *Amazon Web Services Systems Manager User Guide*.
|
|
2908
|
+
#
|
|
2909
|
+
#
|
|
2910
|
+
#
|
|
2911
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ps-restrict-parameter-access.html
|
|
2912
|
+
#
|
|
2890
2913
|
# @option params [required, Array<String>] :names
|
|
2891
2914
|
# The names of the parameters to delete. After deleting a parameter,
|
|
2892
2915
|
# wait for at least 30 seconds to create a parameter with the same name.
|
|
@@ -3046,6 +3069,35 @@ module Aws::SSM
|
|
|
3046
3069
|
req.send_request(options)
|
|
3047
3070
|
end
|
|
3048
3071
|
|
|
3072
|
+
# Removes the Default Host Management Configuration (DHMC) for an Amazon
|
|
3073
|
+
# Web Services account and Amazon Web Services Region. After you
|
|
3074
|
+
# deregister DHMC, Amazon EC2 instances are no longer automatically
|
|
3075
|
+
# managed as managed nodes by Amazon Web Services Systems Manager.
|
|
3076
|
+
#
|
|
3077
|
+
# To use this operation, you must have the following permissions:
|
|
3078
|
+
#
|
|
3079
|
+
# * You need the `ssm:GetServiceSetting` and `ssm:ResetServiceSetting`
|
|
3080
|
+
# permissions for the
|
|
3081
|
+
# `/ssm/managed-instance/default-ec2-instance-management-role` service
|
|
3082
|
+
# setting.
|
|
3083
|
+
#
|
|
3084
|
+
# ^
|
|
3085
|
+
#
|
|
3086
|
+
# If the registered role is service-managed, you also need the
|
|
3087
|
+
# `iam:DeleteRole` permission so that Amazon Web Services Systems
|
|
3088
|
+
# Manager can remove the role it created.
|
|
3089
|
+
#
|
|
3090
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3091
|
+
#
|
|
3092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterDefaultHostManagementConfiguration AWS API Documentation
|
|
3093
|
+
#
|
|
3094
|
+
# @overload deregister_default_host_management_configuration(params = {})
|
|
3095
|
+
# @param [Hash] params ({})
|
|
3096
|
+
def deregister_default_host_management_configuration(params = {}, options = {})
|
|
3097
|
+
req = build_request(:deregister_default_host_management_configuration, params)
|
|
3098
|
+
req.send_request(options)
|
|
3099
|
+
end
|
|
3100
|
+
|
|
3049
3101
|
# Removes the server or virtual machine from the list of registered
|
|
3050
3102
|
# servers.
|
|
3051
3103
|
#
|
|
@@ -7442,6 +7494,15 @@ module Aws::SSM
|
|
|
7442
7494
|
#
|
|
7443
7495
|
# </note>
|
|
7444
7496
|
#
|
|
7497
|
+
# <note markdown="1"> This operation is authorized against the `ssm:GetParameter` action.
|
|
7498
|
+
# Denying that action alone doesn't restrict GetParameters,
|
|
7499
|
+
# GetParameterHistory, or GetParametersByPath, each of which is
|
|
7500
|
+
# authorized against its own action. For more information, see [How
|
|
7501
|
+
# Parameter Store authorizes parameter retrieval][1] in the *Amazon Web
|
|
7502
|
+
# Services Systems Manager User Guide*.
|
|
7503
|
+
#
|
|
7504
|
+
# </note>
|
|
7505
|
+
#
|
|
7445
7506
|
# <note markdown="1"> Parameter Store throughput defines the number of API transactions per
|
|
7446
7507
|
# second (TPS) that Systems Manager can process. This applies to
|
|
7447
7508
|
# `GetParameter`, `GetParameters`, and `PutParameter` API calls for your
|
|
@@ -7457,13 +7518,14 @@ module Aws::SSM
|
|
|
7457
7518
|
# and workloads that need concurrent access to multiple parameters. If
|
|
7458
7519
|
# you experience `ThrottlingException: Rate exceeded` errors, enable
|
|
7459
7520
|
# higher throughput. For more information, see [Changing Parameter Store
|
|
7460
|
-
# throughput][
|
|
7521
|
+
# throughput][2].
|
|
7461
7522
|
#
|
|
7462
7523
|
# </note>
|
|
7463
7524
|
#
|
|
7464
7525
|
#
|
|
7465
7526
|
#
|
|
7466
|
-
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/
|
|
7527
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ps-retrieval-authorization.html
|
|
7528
|
+
# [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-throughput.html
|
|
7467
7529
|
#
|
|
7468
7530
|
# @option params [required, String] :name
|
|
7469
7531
|
# The name or Amazon Resource Name (ARN) of the parameter that you want
|
|
@@ -7529,6 +7591,20 @@ module Aws::SSM
|
|
|
7529
7591
|
# to reference KMS. Otherwise, `GetParameterHistory` retrieves whatever
|
|
7530
7592
|
# the original key alias was referencing.
|
|
7531
7593
|
#
|
|
7594
|
+
# This operation is authorized against the `ssm:GetParameterHistory`
|
|
7595
|
+
# action, not against `ssm:GetParameter`. Because parameter history
|
|
7596
|
+
# includes every version of a parameter, including the current one, a
|
|
7597
|
+
# principal who is denied `ssm:GetParameter`, `ssm:GetParameters`, and
|
|
7598
|
+
# `ssm:GetParametersByPath` but allowed `ssm:GetParameterHistory` can
|
|
7599
|
+
# still read the current value. To restrict access to a parameter value,
|
|
7600
|
+
# deny every action that can return it. For more information, see [How
|
|
7601
|
+
# Parameter Store authorizes parameter retrieval][1] in the *Amazon Web
|
|
7602
|
+
# Services Systems Manager User Guide*.
|
|
7603
|
+
#
|
|
7604
|
+
#
|
|
7605
|
+
#
|
|
7606
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ps-retrieval-authorization.html
|
|
7607
|
+
#
|
|
7532
7608
|
# @option params [required, String] :name
|
|
7533
7609
|
# The name or Amazon Resource Name (ARN) of the parameter for which you
|
|
7534
7610
|
# want to review history. For parameters shared with you from another
|
|
@@ -7602,6 +7678,14 @@ module Aws::SSM
|
|
|
7602
7678
|
#
|
|
7603
7679
|
# </note>
|
|
7604
7680
|
#
|
|
7681
|
+
# This operation is authorized against the `ssm:GetParameters` action,
|
|
7682
|
+
# not against `ssm:GetParameter`. Denying `ssm:GetParameter` for a
|
|
7683
|
+
# parameter doesn't prevent a principal from retrieving that parameter
|
|
7684
|
+
# with this operation. To restrict access to a parameter value, deny
|
|
7685
|
+
# every action that can return it. For more information, see [How
|
|
7686
|
+
# Parameter Store authorizes parameter retrieval][1] in the *Amazon Web
|
|
7687
|
+
# Services Systems Manager User Guide*.
|
|
7688
|
+
#
|
|
7605
7689
|
# Parameter names can't contain spaces. The service removes any spaces
|
|
7606
7690
|
# specified for the beginning or end of a parameter name. If the
|
|
7607
7691
|
# specified name for a parameter contains spaces between characters, the
|
|
@@ -7622,13 +7706,14 @@ module Aws::SSM
|
|
|
7622
7706
|
# and workloads that need concurrent access to multiple parameters. If
|
|
7623
7707
|
# you experience `ThrottlingException: Rate exceeded` errors, enable
|
|
7624
7708
|
# higher throughput. For more information, see [Changing Parameter Store
|
|
7625
|
-
# throughput][
|
|
7709
|
+
# throughput][2].
|
|
7626
7710
|
#
|
|
7627
7711
|
# </note>
|
|
7628
7712
|
#
|
|
7629
7713
|
#
|
|
7630
7714
|
#
|
|
7631
|
-
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/
|
|
7715
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ps-retrieval-authorization.html
|
|
7716
|
+
# [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-throughput.html
|
|
7632
7717
|
#
|
|
7633
7718
|
# @option params [required, Array<String>] :names
|
|
7634
7719
|
# The names or Amazon Resource Names (ARNs) of the parameters that you
|
|
@@ -7695,6 +7780,21 @@ module Aws::SSM
|
|
|
7695
7780
|
# Retrieve information about one or more parameters under a specified
|
|
7696
7781
|
# level in a hierarchy.
|
|
7697
7782
|
#
|
|
7783
|
+
# This operation is authorized against the `ssm:GetParametersByPath`
|
|
7784
|
+
# action for the path that you specify in the request. It isn't
|
|
7785
|
+
# authorized against the individual parameters that it returns, and it
|
|
7786
|
+
# isn't authorized against `ssm:GetParameter`. A principal who is
|
|
7787
|
+
# allowed to call this operation for the path `/a` with `Recursive` set
|
|
7788
|
+
# to `true` receives every parameter under that path, including `/a/b`,
|
|
7789
|
+
# even if a policy explicitly denies access to `/a/b`.
|
|
7790
|
+
#
|
|
7791
|
+
# To prevent a parameter from being returned by this operation, deny
|
|
7792
|
+
# the
|
|
7793
|
+
# `ssm:GetParametersByPath` action on every ancestor path that could
|
|
7794
|
+
# include the parameter in its results. For more information, see
|
|
7795
|
+
# [Restricting access to specific parameters and paths][1] in the
|
|
7796
|
+
# *Amazon Web Services Systems Manager User Guide*.
|
|
7797
|
+
#
|
|
7698
7798
|
# Request results are returned on a best-effort basis. If you specify
|
|
7699
7799
|
# `MaxResults` in the request, the response includes information up to
|
|
7700
7800
|
# the limit specified. The number of items returned, however, can be
|
|
@@ -7709,6 +7809,10 @@ module Aws::SSM
|
|
|
7709
7809
|
# specified name for a parameter contains spaces between characters, the
|
|
7710
7810
|
# request fails with a `ValidationException` error.
|
|
7711
7811
|
#
|
|
7812
|
+
#
|
|
7813
|
+
#
|
|
7814
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ps-restrict-parameter-access.html
|
|
7815
|
+
#
|
|
7712
7816
|
# @option params [required, String] :path
|
|
7713
7817
|
# The hierarchy for the parameter. Hierarchies start with a forward
|
|
7714
7818
|
# slash (/). The hierarchy is the parameter name except the last part of
|
|
@@ -7720,13 +7824,6 @@ module Aws::SSM
|
|
|
7720
7824
|
# @option params [Boolean] :recursive
|
|
7721
7825
|
# Retrieve all parameters within a hierarchy.
|
|
7722
7826
|
#
|
|
7723
|
-
# If a user has access to a path, then the user can access all levels of
|
|
7724
|
-
# that path. For example, if a user has permission to access path `/a`,
|
|
7725
|
-
# then the user can also access `/a/b`. Even if a user has explicitly
|
|
7726
|
-
# been denied access in IAM for parameter `/a/b`, they can still call
|
|
7727
|
-
# the GetParametersByPath API operation recursively for `/a` and view
|
|
7728
|
-
# `/a/b`.
|
|
7729
|
-
#
|
|
7730
7827
|
# @option params [Array<Types::ParameterStringFilter>] :parameter_filters
|
|
7731
7828
|
# Filters to limit the request results.
|
|
7732
7829
|
#
|
|
@@ -10303,6 +10400,84 @@ module Aws::SSM
|
|
|
10303
10400
|
req.send_request(options)
|
|
10304
10401
|
end
|
|
10305
10402
|
|
|
10403
|
+
# Enables Default Host Management Configuration (DHMC) for the current
|
|
10404
|
+
# Amazon Web Services account and Amazon Web Services Region. With DHMC
|
|
10405
|
+
# enabled, you don't need to configure additional resources, such as an
|
|
10406
|
+
# instance profile, to use your Amazon EC2 instances as managed nodes in
|
|
10407
|
+
# Amazon Web Services Systems Manager.
|
|
10408
|
+
#
|
|
10409
|
+
# To use this operation, you must have the following permissions:
|
|
10410
|
+
#
|
|
10411
|
+
# * You need the `ssm:GetServiceSetting` and `ssm:UpdateServiceSetting`
|
|
10412
|
+
# permissions for the
|
|
10413
|
+
# `/ssm/managed-instance/default-ec2-instance-management-role` service
|
|
10414
|
+
# setting.
|
|
10415
|
+
#
|
|
10416
|
+
# * You need the `iam:GetRole` and `iam:PassRole` permissions for the
|
|
10417
|
+
# role used for Default Host Management Configuration.
|
|
10418
|
+
#
|
|
10419
|
+
# If `PermissionModel` is `SERVICE_MANAGED`, you also need the
|
|
10420
|
+
# `iam:CreateRole` and `iam:AttachRolePolicy` permissions so that Amazon
|
|
10421
|
+
# Web Services Systems Manager can create and configure the role on your
|
|
10422
|
+
# behalf.
|
|
10423
|
+
#
|
|
10424
|
+
# @option params [required, String] :permission_model
|
|
10425
|
+
# The permission model that determines how the IAM role for Default Host
|
|
10426
|
+
# Management Configuration is provided.
|
|
10427
|
+
#
|
|
10428
|
+
# The permission model can be one of the following values:
|
|
10429
|
+
#
|
|
10430
|
+
# SERVICE\_MANAGED
|
|
10431
|
+
#
|
|
10432
|
+
# : Amazon Web Services Systems Manager creates and manages the role on
|
|
10433
|
+
# your behalf.
|
|
10434
|
+
#
|
|
10435
|
+
# SELF\_MANAGED
|
|
10436
|
+
#
|
|
10437
|
+
# : You provide the role to register in `RoleArn`.
|
|
10438
|
+
#
|
|
10439
|
+
# @option params [String] :role_arn
|
|
10440
|
+
# The Amazon Resource Name (ARN) of the self-managed IAM role that you
|
|
10441
|
+
# register for Default Host Management Configuration. The requirement
|
|
10442
|
+
# for this value depends on the permission model:
|
|
10443
|
+
#
|
|
10444
|
+
# * If `PermissionModel` is `SELF_MANAGED`, this value is required.
|
|
10445
|
+
#
|
|
10446
|
+
# * If `PermissionModel` is `SERVICE_MANAGED`, this value must not be
|
|
10447
|
+
# set.
|
|
10448
|
+
#
|
|
10449
|
+
# @option params [Boolean] :overwrite
|
|
10450
|
+
# Specifies whether to override the role that is currently registered
|
|
10451
|
+
# for Default Host Management Configuration. The default is `false`,
|
|
10452
|
+
# which acts as a guardrail against accidentally replacing an existing
|
|
10453
|
+
# configuration. Set this to `true` to replace the currently registered
|
|
10454
|
+
# role.
|
|
10455
|
+
#
|
|
10456
|
+
# @return [Types::RegisterDefaultHostManagementConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
10457
|
+
#
|
|
10458
|
+
# * {Types::RegisterDefaultHostManagementConfigurationResult#role_arn #role_arn} => String
|
|
10459
|
+
#
|
|
10460
|
+
# @example Request syntax with placeholder values
|
|
10461
|
+
#
|
|
10462
|
+
# resp = client.register_default_host_management_configuration({
|
|
10463
|
+
# permission_model: "SERVICE_MANAGED", # required, accepts SERVICE_MANAGED, SELF_MANAGED
|
|
10464
|
+
# role_arn: "DHMCRoleArn",
|
|
10465
|
+
# overwrite: false,
|
|
10466
|
+
# })
|
|
10467
|
+
#
|
|
10468
|
+
# @example Response structure
|
|
10469
|
+
#
|
|
10470
|
+
# resp.role_arn #=> String
|
|
10471
|
+
#
|
|
10472
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultHostManagementConfiguration AWS API Documentation
|
|
10473
|
+
#
|
|
10474
|
+
# @overload register_default_host_management_configuration(params = {})
|
|
10475
|
+
# @param [Hash] params ({})
|
|
10476
|
+
def register_default_host_management_configuration(params = {}, options = {})
|
|
10477
|
+
req = build_request(:register_default_host_management_configuration, params)
|
|
10478
|
+
req.send_request(options)
|
|
10479
|
+
end
|
|
10480
|
+
|
|
10306
10481
|
# Defines the default patch baseline for the relevant operating system.
|
|
10307
10482
|
#
|
|
10308
10483
|
# To reset the Amazon Web Services-predefined patch baseline as the
|
|
@@ -14084,7 +14259,7 @@ module Aws::SSM
|
|
|
14084
14259
|
tracer: tracer
|
|
14085
14260
|
)
|
|
14086
14261
|
context[:gem_name] = 'aws-sdk-ssm'
|
|
14087
|
-
context[:gem_version] = '1.
|
|
14262
|
+
context[:gem_version] = '1.230.0'
|
|
14088
14263
|
Seahorse::Client::Request.new(handlers, context)
|
|
14089
14264
|
end
|
|
14090
14265
|
|
|
@@ -262,6 +262,8 @@ module Aws::SSM
|
|
|
262
262
|
CreatedDate = Shapes::TimestampShape.new(name: 'CreatedDate')
|
|
263
263
|
Credentials = Shapes::StructureShape.new(name: 'Credentials')
|
|
264
264
|
CustomSchemaCountLimitExceededException = Shapes::StructureShape.new(name: 'CustomSchemaCountLimitExceededException')
|
|
265
|
+
DHMCPermissionModel = Shapes::StringShape.new(name: 'DHMCPermissionModel')
|
|
266
|
+
DHMCRoleArn = Shapes::StringShape.new(name: 'DHMCRoleArn')
|
|
265
267
|
DateTime = Shapes::TimestampShape.new(name: 'DateTime')
|
|
266
268
|
DefaultBaseline = Shapes::BooleanShape.new(name: 'DefaultBaseline')
|
|
267
269
|
DefaultInstanceName = Shapes::StringShape.new(name: 'DefaultInstanceName')
|
|
@@ -293,6 +295,8 @@ module Aws::SSM
|
|
|
293
295
|
DeleteResourcePolicyResponse = Shapes::StructureShape.new(name: 'DeleteResourcePolicyResponse')
|
|
294
296
|
DeletionMode = Shapes::StringShape.new(name: 'DeletionMode')
|
|
295
297
|
DeliveryTimedOutCount = Shapes::IntegerShape.new(name: 'DeliveryTimedOutCount')
|
|
298
|
+
DeregisterDefaultHostManagementConfigurationRequest = Shapes::StructureShape.new(name: 'DeregisterDefaultHostManagementConfigurationRequest')
|
|
299
|
+
DeregisterDefaultHostManagementConfigurationResult = Shapes::StructureShape.new(name: 'DeregisterDefaultHostManagementConfigurationResult')
|
|
296
300
|
DeregisterManagedInstanceRequest = Shapes::StructureShape.new(name: 'DeregisterManagedInstanceRequest')
|
|
297
301
|
DeregisterManagedInstanceResult = Shapes::StructureShape.new(name: 'DeregisterManagedInstanceResult')
|
|
298
302
|
DeregisterPatchBaselineForPatchGroupRequest = Shapes::StructureShape.new(name: 'DeregisterPatchBaselineForPatchGroupRequest')
|
|
@@ -1099,6 +1103,8 @@ module Aws::SSM
|
|
|
1099
1103
|
Region = Shapes::StringShape.new(name: 'Region')
|
|
1100
1104
|
RegionList = Shapes::ListShape.new(name: 'RegionList')
|
|
1101
1105
|
Regions = Shapes::ListShape.new(name: 'Regions')
|
|
1106
|
+
RegisterDefaultHostManagementConfigurationRequest = Shapes::StructureShape.new(name: 'RegisterDefaultHostManagementConfigurationRequest')
|
|
1107
|
+
RegisterDefaultHostManagementConfigurationResult = Shapes::StructureShape.new(name: 'RegisterDefaultHostManagementConfigurationResult')
|
|
1102
1108
|
RegisterDefaultPatchBaselineRequest = Shapes::StructureShape.new(name: 'RegisterDefaultPatchBaselineRequest')
|
|
1103
1109
|
RegisterDefaultPatchBaselineResult = Shapes::StructureShape.new(name: 'RegisterDefaultPatchBaselineResult')
|
|
1104
1110
|
RegisterPatchBaselineForPatchGroupRequest = Shapes::StructureShape.new(name: 'RegisterPatchBaselineForPatchGroupRequest')
|
|
@@ -2189,6 +2195,10 @@ module Aws::SSM
|
|
|
2189
2195
|
|
|
2190
2196
|
DeleteResourcePolicyResponse.struct_class = Types::DeleteResourcePolicyResponse
|
|
2191
2197
|
|
|
2198
|
+
DeregisterDefaultHostManagementConfigurationRequest.struct_class = Types::DeregisterDefaultHostManagementConfigurationRequest
|
|
2199
|
+
|
|
2200
|
+
DeregisterDefaultHostManagementConfigurationResult.struct_class = Types::DeregisterDefaultHostManagementConfigurationResult
|
|
2201
|
+
|
|
2192
2202
|
DeregisterManagedInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ManagedInstanceId, required: true, location_name: "InstanceId"))
|
|
2193
2203
|
DeregisterManagedInstanceRequest.struct_class = Types::DeregisterManagedInstanceRequest
|
|
2194
2204
|
|
|
@@ -4480,6 +4490,14 @@ module Aws::SSM
|
|
|
4480
4490
|
|
|
4481
4491
|
Regions.member = Shapes::ShapeRef.new(shape: Region)
|
|
4482
4492
|
|
|
4493
|
+
RegisterDefaultHostManagementConfigurationRequest.add_member(:permission_model, Shapes::ShapeRef.new(shape: DHMCPermissionModel, required: true, location_name: "PermissionModel"))
|
|
4494
|
+
RegisterDefaultHostManagementConfigurationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: DHMCRoleArn, location_name: "RoleArn"))
|
|
4495
|
+
RegisterDefaultHostManagementConfigurationRequest.add_member(:overwrite, Shapes::ShapeRef.new(shape: Boolean, location_name: "Overwrite"))
|
|
4496
|
+
RegisterDefaultHostManagementConfigurationRequest.struct_class = Types::RegisterDefaultHostManagementConfigurationRequest
|
|
4497
|
+
|
|
4498
|
+
RegisterDefaultHostManagementConfigurationResult.add_member(:role_arn, Shapes::ShapeRef.new(shape: DHMCRoleArn, location_name: "RoleArn"))
|
|
4499
|
+
RegisterDefaultHostManagementConfigurationResult.struct_class = Types::RegisterDefaultHostManagementConfigurationResult
|
|
4500
|
+
|
|
4483
4501
|
RegisterDefaultPatchBaselineRequest.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, required: true, location_name: "BaselineId"))
|
|
4484
4502
|
RegisterDefaultPatchBaselineRequest.struct_class = Types::RegisterDefaultPatchBaselineRequest
|
|
4485
4503
|
|
|
@@ -5632,6 +5650,15 @@ module Aws::SSM
|
|
|
5632
5650
|
o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyNotFoundException)
|
|
5633
5651
|
end)
|
|
5634
5652
|
|
|
5653
|
+
api.add_operation(:deregister_default_host_management_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
5654
|
+
o.name = "DeregisterDefaultHostManagementConfiguration"
|
|
5655
|
+
o.http_method = "POST"
|
|
5656
|
+
o.http_request_uri = "/"
|
|
5657
|
+
o.input = Shapes::ShapeRef.new(shape: DeregisterDefaultHostManagementConfigurationRequest)
|
|
5658
|
+
o.output = Shapes::ShapeRef.new(shape: DeregisterDefaultHostManagementConfigurationResult)
|
|
5659
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
|
5660
|
+
end)
|
|
5661
|
+
|
|
5635
5662
|
api.add_operation(:deregister_managed_instance, Seahorse::Model::Operation.new.tap do |o|
|
|
5636
5663
|
o.name = "DeregisterManagedInstance"
|
|
5637
5664
|
o.http_method = "POST"
|
|
@@ -6977,6 +7004,15 @@ module Aws::SSM
|
|
|
6977
7004
|
o.errors << Shapes::ShapeRef.new(shape: ResourcePolicyNotFoundException)
|
|
6978
7005
|
end)
|
|
6979
7006
|
|
|
7007
|
+
api.add_operation(:register_default_host_management_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
7008
|
+
o.name = "RegisterDefaultHostManagementConfiguration"
|
|
7009
|
+
o.http_method = "POST"
|
|
7010
|
+
o.http_request_uri = "/"
|
|
7011
|
+
o.input = Shapes::ShapeRef.new(shape: RegisterDefaultHostManagementConfigurationRequest)
|
|
7012
|
+
o.output = Shapes::ShapeRef.new(shape: RegisterDefaultHostManagementConfigurationResult)
|
|
7013
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
|
7014
|
+
end)
|
|
7015
|
+
|
|
6980
7016
|
api.add_operation(:register_default_patch_baseline, Seahorse::Model::Operation.new.tap do |o|
|
|
6981
7017
|
o.name = "RegisterDefaultPatchBaseline"
|
|
6982
7018
|
o.http_method = "POST"
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
|
@@ -4999,6 +4999,16 @@ module Aws::SSM
|
|
|
4999
4999
|
#
|
|
5000
5000
|
class DeleteResourcePolicyResponse < Aws::EmptyStructure; end
|
|
5001
5001
|
|
|
5002
|
+
# @api private
|
|
5003
|
+
#
|
|
5004
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterDefaultHostManagementConfigurationRequest AWS API Documentation
|
|
5005
|
+
#
|
|
5006
|
+
class DeregisterDefaultHostManagementConfigurationRequest < Aws::EmptyStructure; end
|
|
5007
|
+
|
|
5008
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterDefaultHostManagementConfigurationResult AWS API Documentation
|
|
5009
|
+
#
|
|
5010
|
+
class DeregisterDefaultHostManagementConfigurationResult < Aws::EmptyStructure; end
|
|
5011
|
+
|
|
5002
5012
|
# @!attribute [rw] instance_id
|
|
5003
5013
|
# The ID assigned to the managed node when you registered it using the
|
|
5004
5014
|
# activation process.
|
|
@@ -9614,13 +9624,6 @@ module Aws::SSM
|
|
|
9614
9624
|
#
|
|
9615
9625
|
# @!attribute [rw] recursive
|
|
9616
9626
|
# Retrieve all parameters within a hierarchy.
|
|
9617
|
-
#
|
|
9618
|
-
# If a user has access to a path, then the user can access all levels
|
|
9619
|
-
# of that path. For example, if a user has permission to access path
|
|
9620
|
-
# `/a`, then the user can also access `/a/b`. Even if a user has
|
|
9621
|
-
# explicitly been denied access in IAM for parameter `/a/b`, they can
|
|
9622
|
-
# still call the GetParametersByPath API operation recursively for
|
|
9623
|
-
# `/a` and view `/a/b`.
|
|
9624
9627
|
# @return [Boolean]
|
|
9625
9628
|
#
|
|
9626
9629
|
# @!attribute [rw] parameter_filters
|
|
@@ -16933,6 +16936,74 @@ module Aws::SSM
|
|
|
16933
16936
|
include Aws::Structure
|
|
16934
16937
|
end
|
|
16935
16938
|
|
|
16939
|
+
# @!attribute [rw] permission_model
|
|
16940
|
+
# The permission model that determines how the IAM role for Default
|
|
16941
|
+
# Host Management Configuration is provided.
|
|
16942
|
+
#
|
|
16943
|
+
# The permission model can be one of the following values:
|
|
16944
|
+
#
|
|
16945
|
+
# SERVICE\_MANAGED
|
|
16946
|
+
#
|
|
16947
|
+
# : Amazon Web Services Systems Manager creates and manages the role
|
|
16948
|
+
# on your behalf.
|
|
16949
|
+
#
|
|
16950
|
+
# SELF\_MANAGED
|
|
16951
|
+
#
|
|
16952
|
+
# : You provide the role to register in `RoleArn`.
|
|
16953
|
+
# @return [String]
|
|
16954
|
+
#
|
|
16955
|
+
# @!attribute [rw] role_arn
|
|
16956
|
+
# The Amazon Resource Name (ARN) of the self-managed IAM role that you
|
|
16957
|
+
# register for Default Host Management Configuration. The requirement
|
|
16958
|
+
# for this value depends on the permission model:
|
|
16959
|
+
#
|
|
16960
|
+
# * If `PermissionModel` is `SELF_MANAGED`, this value is required.
|
|
16961
|
+
#
|
|
16962
|
+
# * If `PermissionModel` is `SERVICE_MANAGED`, this value must not be
|
|
16963
|
+
# set.
|
|
16964
|
+
# @return [String]
|
|
16965
|
+
#
|
|
16966
|
+
# @!attribute [rw] overwrite
|
|
16967
|
+
# Specifies whether to override the role that is currently registered
|
|
16968
|
+
# for Default Host Management Configuration. The default is `false`,
|
|
16969
|
+
# which acts as a guardrail against accidentally replacing an existing
|
|
16970
|
+
# configuration. Set this to `true` to replace the currently
|
|
16971
|
+
# registered role.
|
|
16972
|
+
# @return [Boolean]
|
|
16973
|
+
#
|
|
16974
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultHostManagementConfigurationRequest AWS API Documentation
|
|
16975
|
+
#
|
|
16976
|
+
class RegisterDefaultHostManagementConfigurationRequest < Struct.new(
|
|
16977
|
+
:permission_model,
|
|
16978
|
+
:role_arn,
|
|
16979
|
+
:overwrite)
|
|
16980
|
+
SENSITIVE = []
|
|
16981
|
+
include Aws::Structure
|
|
16982
|
+
end
|
|
16983
|
+
|
|
16984
|
+
# @!attribute [rw] role_arn
|
|
16985
|
+
# The Amazon Resource Name (ARN) of the IAM role registered for
|
|
16986
|
+
# Default Host Management Configuration. The value depends on the
|
|
16987
|
+
# permission model:
|
|
16988
|
+
#
|
|
16989
|
+
# SERVICE\_MANAGED
|
|
16990
|
+
#
|
|
16991
|
+
# : The ARN of the role that Amazon Web Services Systems Manager
|
|
16992
|
+
# created in the IAM reserved path.
|
|
16993
|
+
#
|
|
16994
|
+
# SELF\_MANAGED
|
|
16995
|
+
#
|
|
16996
|
+
# : The `RoleArn` that you provided.
|
|
16997
|
+
# @return [String]
|
|
16998
|
+
#
|
|
16999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultHostManagementConfigurationResult AWS API Documentation
|
|
17000
|
+
#
|
|
17001
|
+
class RegisterDefaultHostManagementConfigurationResult < Struct.new(
|
|
17002
|
+
:role_arn)
|
|
17003
|
+
SENSITIVE = []
|
|
17004
|
+
include Aws::Structure
|
|
17005
|
+
end
|
|
17006
|
+
|
|
16936
17007
|
# @!attribute [rw] baseline_id
|
|
16937
17008
|
# The ID of the patch baseline that should be the default patch
|
|
16938
17009
|
# baseline.
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -614,6 +614,14 @@ module Aws
|
|
|
614
614
|
) -> _DeleteResourcePolicyResponseSuccess
|
|
615
615
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
|
|
616
616
|
|
|
617
|
+
interface _DeregisterDefaultHostManagementConfigurationResponseSuccess
|
|
618
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterDefaultHostManagementConfigurationResult]
|
|
619
|
+
end
|
|
620
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSM/Client.html#deregister_default_host_management_configuration-instance_method
|
|
621
|
+
def deregister_default_host_management_configuration: (
|
|
622
|
+
) -> _DeregisterDefaultHostManagementConfigurationResponseSuccess
|
|
623
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterDefaultHostManagementConfigurationResponseSuccess
|
|
624
|
+
|
|
617
625
|
interface _DeregisterManagedInstanceResponseSuccess
|
|
618
626
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterManagedInstanceResult]
|
|
619
627
|
end
|
|
@@ -2254,6 +2262,18 @@ module Aws
|
|
|
2254
2262
|
) -> _PutResourcePolicyResponseSuccess
|
|
2255
2263
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
|
2256
2264
|
|
|
2265
|
+
interface _RegisterDefaultHostManagementConfigurationResponseSuccess
|
|
2266
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RegisterDefaultHostManagementConfigurationResult]
|
|
2267
|
+
def role_arn: () -> ::String
|
|
2268
|
+
end
|
|
2269
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSM/Client.html#register_default_host_management_configuration-instance_method
|
|
2270
|
+
def register_default_host_management_configuration: (
|
|
2271
|
+
permission_model: ("SERVICE_MANAGED" | "SELF_MANAGED"),
|
|
2272
|
+
?role_arn: ::String,
|
|
2273
|
+
?overwrite: bool
|
|
2274
|
+
) -> _RegisterDefaultHostManagementConfigurationResponseSuccess
|
|
2275
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterDefaultHostManagementConfigurationResponseSuccess
|
|
2276
|
+
|
|
2257
2277
|
interface _RegisterDefaultPatchBaselineResponseSuccess
|
|
2258
2278
|
include ::Seahorse::Client::_ResponseSuccess[Types::RegisterDefaultPatchBaselineResult]
|
|
2259
2279
|
def baseline_id: () -> ::String
|
data/sig/types.rbs
CHANGED
|
@@ -966,6 +966,12 @@ module Aws::SSM
|
|
|
966
966
|
class DeleteResourcePolicyResponse < Aws::EmptyStructure
|
|
967
967
|
end
|
|
968
968
|
|
|
969
|
+
class DeregisterDefaultHostManagementConfigurationRequest < Aws::EmptyStructure
|
|
970
|
+
end
|
|
971
|
+
|
|
972
|
+
class DeregisterDefaultHostManagementConfigurationResult < Aws::EmptyStructure
|
|
973
|
+
end
|
|
974
|
+
|
|
969
975
|
class DeregisterManagedInstanceRequest
|
|
970
976
|
attr_accessor instance_id: ::String
|
|
971
977
|
SENSITIVE: []
|
|
@@ -3743,6 +3749,18 @@ module Aws::SSM
|
|
|
3743
3749
|
SENSITIVE: []
|
|
3744
3750
|
end
|
|
3745
3751
|
|
|
3752
|
+
class RegisterDefaultHostManagementConfigurationRequest
|
|
3753
|
+
attr_accessor permission_model: ("SERVICE_MANAGED" | "SELF_MANAGED")
|
|
3754
|
+
attr_accessor role_arn: ::String
|
|
3755
|
+
attr_accessor overwrite: bool
|
|
3756
|
+
SENSITIVE: []
|
|
3757
|
+
end
|
|
3758
|
+
|
|
3759
|
+
class RegisterDefaultHostManagementConfigurationResult
|
|
3760
|
+
attr_accessor role_arn: ::String
|
|
3761
|
+
SENSITIVE: []
|
|
3762
|
+
end
|
|
3763
|
+
|
|
3746
3764
|
class RegisterDefaultPatchBaselineRequest
|
|
3747
3765
|
attr_accessor baseline_id: ::String
|
|
3748
3766
|
SENSITIVE: []
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.230.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.265.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.265.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|