aws-sdk-ssm 1.144.0 → 1.145.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +197 -5
- data/lib/aws-sdk-ssm/client_api.rb +117 -0
- data/lib/aws-sdk-ssm/endpoints.rb +42 -0
- data/lib/aws-sdk-ssm/errors.rb +79 -0
- data/lib/aws-sdk-ssm/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-ssm/types.rb +371 -14
- data/lib/aws-sdk-ssm.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ssm/errors.rb
CHANGED
@@ -109,6 +109,7 @@ module Aws::SSM
|
|
109
109
|
# * {ItemContentMismatchException}
|
110
110
|
# * {ItemSizeLimitExceededException}
|
111
111
|
# * {MaxDocumentSizeExceeded}
|
112
|
+
# * {OpsItemAccessDeniedException}
|
112
113
|
# * {OpsItemAlreadyExistsException}
|
113
114
|
# * {OpsItemInvalidParameterException}
|
114
115
|
# * {OpsItemLimitExceededException}
|
@@ -136,6 +137,9 @@ module Aws::SSM
|
|
136
137
|
# * {ResourceDataSyncNotFoundException}
|
137
138
|
# * {ResourceInUseException}
|
138
139
|
# * {ResourceLimitExceededException}
|
140
|
+
# * {ResourcePolicyConflictException}
|
141
|
+
# * {ResourcePolicyInvalidParameterException}
|
142
|
+
# * {ResourcePolicyLimitExceededException}
|
139
143
|
# * {ServiceSettingNotFound}
|
140
144
|
# * {StatusUnchanged}
|
141
145
|
# * {SubTypeCountLimitExceededException}
|
@@ -1343,6 +1347,21 @@ module Aws::SSM
|
|
1343
1347
|
end
|
1344
1348
|
end
|
1345
1349
|
|
1350
|
+
class OpsItemAccessDeniedException < ServiceError
|
1351
|
+
|
1352
|
+
# @param [Seahorse::Client::RequestContext] context
|
1353
|
+
# @param [String] message
|
1354
|
+
# @param [Aws::SSM::Types::OpsItemAccessDeniedException] data
|
1355
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1356
|
+
super(context, message, data)
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
# @return [String]
|
1360
|
+
def message
|
1361
|
+
@message || @data[:message]
|
1362
|
+
end
|
1363
|
+
end
|
1364
|
+
|
1346
1365
|
class OpsItemAlreadyExistsException < ServiceError
|
1347
1366
|
|
1348
1367
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1793,6 +1812,66 @@ module Aws::SSM
|
|
1793
1812
|
end
|
1794
1813
|
end
|
1795
1814
|
|
1815
|
+
class ResourcePolicyConflictException < ServiceError
|
1816
|
+
|
1817
|
+
# @param [Seahorse::Client::RequestContext] context
|
1818
|
+
# @param [String] message
|
1819
|
+
# @param [Aws::SSM::Types::ResourcePolicyConflictException] data
|
1820
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1821
|
+
super(context, message, data)
|
1822
|
+
end
|
1823
|
+
|
1824
|
+
# @return [String]
|
1825
|
+
def message
|
1826
|
+
@message || @data[:message]
|
1827
|
+
end
|
1828
|
+
end
|
1829
|
+
|
1830
|
+
class ResourcePolicyInvalidParameterException < ServiceError
|
1831
|
+
|
1832
|
+
# @param [Seahorse::Client::RequestContext] context
|
1833
|
+
# @param [String] message
|
1834
|
+
# @param [Aws::SSM::Types::ResourcePolicyInvalidParameterException] data
|
1835
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1836
|
+
super(context, message, data)
|
1837
|
+
end
|
1838
|
+
|
1839
|
+
# @return [String]
|
1840
|
+
def parameter_names
|
1841
|
+
@data[:parameter_names]
|
1842
|
+
end
|
1843
|
+
|
1844
|
+
# @return [String]
|
1845
|
+
def message
|
1846
|
+
@message || @data[:message]
|
1847
|
+
end
|
1848
|
+
end
|
1849
|
+
|
1850
|
+
class ResourcePolicyLimitExceededException < ServiceError
|
1851
|
+
|
1852
|
+
# @param [Seahorse::Client::RequestContext] context
|
1853
|
+
# @param [String] message
|
1854
|
+
# @param [Aws::SSM::Types::ResourcePolicyLimitExceededException] data
|
1855
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1856
|
+
super(context, message, data)
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
# @return [String]
|
1860
|
+
def limit
|
1861
|
+
@data[:limit]
|
1862
|
+
end
|
1863
|
+
|
1864
|
+
# @return [String]
|
1865
|
+
def limit_type
|
1866
|
+
@data[:limit_type]
|
1867
|
+
end
|
1868
|
+
|
1869
|
+
# @return [String]
|
1870
|
+
def message
|
1871
|
+
@message || @data[:message]
|
1872
|
+
end
|
1873
|
+
end
|
1874
|
+
|
1796
1875
|
class ServiceSettingNotFound < ServiceError
|
1797
1876
|
|
1798
1877
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -102,6 +102,8 @@ module Aws::SSM
|
|
102
102
|
Aws::SSM::Endpoints::DeletePatchBaseline.build(context)
|
103
103
|
when :delete_resource_data_sync
|
104
104
|
Aws::SSM::Endpoints::DeleteResourceDataSync.build(context)
|
105
|
+
when :delete_resource_policy
|
106
|
+
Aws::SSM::Endpoints::DeleteResourcePolicy.build(context)
|
105
107
|
when :deregister_managed_instance
|
106
108
|
Aws::SSM::Endpoints::DeregisterManagedInstance.build(context)
|
107
109
|
when :deregister_patch_baseline_for_patch_group
|
@@ -222,6 +224,8 @@ module Aws::SSM
|
|
222
224
|
Aws::SSM::Endpoints::GetPatchBaseline.build(context)
|
223
225
|
when :get_patch_baseline_for_patch_group
|
224
226
|
Aws::SSM::Endpoints::GetPatchBaselineForPatchGroup.build(context)
|
227
|
+
when :get_resource_policies
|
228
|
+
Aws::SSM::Endpoints::GetResourcePolicies.build(context)
|
225
229
|
when :get_service_setting
|
226
230
|
Aws::SSM::Endpoints::GetServiceSetting.build(context)
|
227
231
|
when :label_parameter_version
|
@@ -266,6 +270,8 @@ module Aws::SSM
|
|
266
270
|
Aws::SSM::Endpoints::PutInventory.build(context)
|
267
271
|
when :put_parameter
|
268
272
|
Aws::SSM::Endpoints::PutParameter.build(context)
|
273
|
+
when :put_resource_policy
|
274
|
+
Aws::SSM::Endpoints::PutResourcePolicy.build(context)
|
269
275
|
when :register_default_patch_baseline
|
270
276
|
Aws::SSM::Endpoints::RegisterDefaultPatchBaseline.build(context)
|
271
277
|
when :register_patch_baseline_for_patch_group
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -2903,6 +2903,11 @@ module Aws::SSM
|
|
2903
2903
|
# [Create an IAM service role for a hybrid environment][1] in the
|
2904
2904
|
# *Amazon Web Services Systems Manager User Guide*.
|
2905
2905
|
#
|
2906
|
+
# <note markdown="1"> You can't specify an IAM service-linked role for this parameter.
|
2907
|
+
# You must create a unique role.
|
2908
|
+
#
|
2909
|
+
# </note>
|
2910
|
+
#
|
2906
2911
|
#
|
2907
2912
|
#
|
2908
2913
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html
|
@@ -4023,6 +4028,7 @@ module Aws::SSM
|
|
4023
4028
|
# actual_end_time: Time.now,
|
4024
4029
|
# planned_start_time: Time.now,
|
4025
4030
|
# planned_end_time: Time.now,
|
4031
|
+
# account_id: "OpsItemAccountId",
|
4026
4032
|
# }
|
4027
4033
|
#
|
4028
4034
|
# @!attribute [rw] description
|
@@ -4030,8 +4036,23 @@ module Aws::SSM
|
|
4030
4036
|
# @return [String]
|
4031
4037
|
#
|
4032
4038
|
# @!attribute [rw] ops_item_type
|
4033
|
-
# The type of OpsItem to create.
|
4034
|
-
#
|
4039
|
+
# The type of OpsItem to create. Systems Manager supports the
|
4040
|
+
# following types of OpsItems:
|
4041
|
+
#
|
4042
|
+
# * `/aws/issue`
|
4043
|
+
#
|
4044
|
+
# This type of OpsItem is used for default OpsItems created by
|
4045
|
+
# OpsCenter.
|
4046
|
+
#
|
4047
|
+
# * `/aws/changerequest`
|
4048
|
+
#
|
4049
|
+
# This type of OpsItem is used by Change Manager for reviewing and
|
4050
|
+
# approving or rejecting change requests.
|
4051
|
+
#
|
4052
|
+
# * `/aws/insights`
|
4053
|
+
#
|
4054
|
+
# This type of OpsItem is used by OpsCenter for aggregating and
|
4055
|
+
# reporting on duplicate OpsItems.
|
4035
4056
|
# @return [String]
|
4036
4057
|
#
|
4037
4058
|
# @!attribute [rw] operational_data
|
@@ -4146,6 +4167,18 @@ module Aws::SSM
|
|
4146
4167
|
# `/aws/changerequest`.
|
4147
4168
|
# @return [Time]
|
4148
4169
|
#
|
4170
|
+
# @!attribute [rw] account_id
|
4171
|
+
# The target Amazon Web Services account where you want to create an
|
4172
|
+
# OpsItem. To make this call, your account must be configured to work
|
4173
|
+
# with OpsItems across accounts. For more information, see [Setting up
|
4174
|
+
# OpsCenter to work with OpsItems across accounts][1] in the *Amazon
|
4175
|
+
# Web Services Systems Manager User Guide*.
|
4176
|
+
#
|
4177
|
+
#
|
4178
|
+
#
|
4179
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-OpsCenter-multiple-accounts.html
|
4180
|
+
# @return [String]
|
4181
|
+
#
|
4149
4182
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsItemRequest AWS API Documentation
|
4150
4183
|
#
|
4151
4184
|
class CreateOpsItemRequest < Struct.new(
|
@@ -4163,7 +4196,8 @@ module Aws::SSM
|
|
4163
4196
|
:actual_start_time,
|
4164
4197
|
:actual_end_time,
|
4165
4198
|
:planned_start_time,
|
4166
|
-
:planned_end_time
|
4199
|
+
:planned_end_time,
|
4200
|
+
:account_id)
|
4167
4201
|
SENSITIVE = []
|
4168
4202
|
include Aws::Structure
|
4169
4203
|
end
|
@@ -4172,10 +4206,15 @@ module Aws::SSM
|
|
4172
4206
|
# The ID of the OpsItem.
|
4173
4207
|
# @return [String]
|
4174
4208
|
#
|
4209
|
+
# @!attribute [rw] ops_item_arn
|
4210
|
+
# The OpsItem Amazon Resource Name (ARN).
|
4211
|
+
# @return [String]
|
4212
|
+
#
|
4175
4213
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsItemResponse AWS API Documentation
|
4176
4214
|
#
|
4177
4215
|
class CreateOpsItemResponse < Struct.new(
|
4178
|
-
:ops_item_id
|
4216
|
+
:ops_item_id,
|
4217
|
+
:ops_item_arn)
|
4179
4218
|
SENSITIVE = []
|
4180
4219
|
include Aws::Structure
|
4181
4220
|
end
|
@@ -4902,6 +4941,43 @@ module Aws::SSM
|
|
4902
4941
|
#
|
4903
4942
|
class DeleteResourceDataSyncResult < Aws::EmptyStructure; end
|
4904
4943
|
|
4944
|
+
# @note When making an API call, you may pass DeleteResourcePolicyRequest
|
4945
|
+
# data as a hash:
|
4946
|
+
#
|
4947
|
+
# {
|
4948
|
+
# resource_arn: "ResourceArnString", # required
|
4949
|
+
# policy_id: "PolicyId", # required
|
4950
|
+
# policy_hash: "PolicyHash", # required
|
4951
|
+
# }
|
4952
|
+
#
|
4953
|
+
# @!attribute [rw] resource_arn
|
4954
|
+
# Amazon Resource Name (ARN) of the resource to which the policies are
|
4955
|
+
# attached.
|
4956
|
+
# @return [String]
|
4957
|
+
#
|
4958
|
+
# @!attribute [rw] policy_id
|
4959
|
+
# The policy ID.
|
4960
|
+
# @return [String]
|
4961
|
+
#
|
4962
|
+
# @!attribute [rw] policy_hash
|
4963
|
+
# ID of the current policy version. The hash helps to prevent multiple
|
4964
|
+
# calls from attempting to overwrite a policy.
|
4965
|
+
# @return [String]
|
4966
|
+
#
|
4967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourcePolicyRequest AWS API Documentation
|
4968
|
+
#
|
4969
|
+
class DeleteResourcePolicyRequest < Struct.new(
|
4970
|
+
:resource_arn,
|
4971
|
+
:policy_id,
|
4972
|
+
:policy_hash)
|
4973
|
+
SENSITIVE = []
|
4974
|
+
include Aws::Structure
|
4975
|
+
end
|
4976
|
+
|
4977
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourcePolicyResponse AWS API Documentation
|
4978
|
+
#
|
4979
|
+
class DeleteResourcePolicyResponse < Aws::EmptyStructure; end
|
4980
|
+
|
4905
4981
|
# @note When making an API call, you may pass DeregisterManagedInstanceRequest
|
4906
4982
|
# data as a hash:
|
4907
4983
|
#
|
@@ -6797,7 +6873,7 @@ module Aws::SSM
|
|
6797
6873
|
# {
|
6798
6874
|
# ops_item_filters: [
|
6799
6875
|
# {
|
6800
|
-
# key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, ActualStartTime, ActualEndTime, PlannedStartTime, PlannedEndTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity, OpsItemType, ChangeRequestByRequesterArn, ChangeRequestByRequesterName, ChangeRequestByApproverArn, ChangeRequestByApproverName, ChangeRequestByTemplate, ChangeRequestByTargetsResourceGroup, InsightByType
|
6876
|
+
# key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, ActualStartTime, ActualEndTime, PlannedStartTime, PlannedEndTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity, OpsItemType, ChangeRequestByRequesterArn, ChangeRequestByRequesterName, ChangeRequestByApproverArn, ChangeRequestByApproverName, ChangeRequestByTemplate, ChangeRequestByTargetsResourceGroup, InsightByType, AccountId
|
6801
6877
|
# values: ["OpsItemFilterValue"], # required
|
6802
6878
|
# operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
|
6803
6879
|
# },
|
@@ -9681,16 +9757,22 @@ module Aws::SSM
|
|
9681
9757
|
#
|
9682
9758
|
# {
|
9683
9759
|
# ops_item_id: "OpsItemId", # required
|
9760
|
+
# ops_item_arn: "OpsItemArn",
|
9684
9761
|
# }
|
9685
9762
|
#
|
9686
9763
|
# @!attribute [rw] ops_item_id
|
9687
9764
|
# The ID of the OpsItem that you want to get.
|
9688
9765
|
# @return [String]
|
9689
9766
|
#
|
9767
|
+
# @!attribute [rw] ops_item_arn
|
9768
|
+
# The OpsItem Amazon Resource Name (ARN).
|
9769
|
+
# @return [String]
|
9770
|
+
#
|
9690
9771
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsItemRequest AWS API Documentation
|
9691
9772
|
#
|
9692
9773
|
class GetOpsItemRequest < Struct.new(
|
9693
|
-
:ops_item_id
|
9774
|
+
:ops_item_id,
|
9775
|
+
:ops_item_arn)
|
9694
9776
|
SENSITIVE = []
|
9695
9777
|
include Aws::Structure
|
9696
9778
|
end
|
@@ -10278,6 +10360,95 @@ module Aws::SSM
|
|
10278
10360
|
include Aws::Structure
|
10279
10361
|
end
|
10280
10362
|
|
10363
|
+
# @note When making an API call, you may pass GetResourcePoliciesRequest
|
10364
|
+
# data as a hash:
|
10365
|
+
#
|
10366
|
+
# {
|
10367
|
+
# resource_arn: "ResourceArnString", # required
|
10368
|
+
# next_token: "String",
|
10369
|
+
# max_results: 1,
|
10370
|
+
# }
|
10371
|
+
#
|
10372
|
+
# @!attribute [rw] resource_arn
|
10373
|
+
# Amazon Resource Name (ARN) of the resource to which the policies are
|
10374
|
+
# attached.
|
10375
|
+
# @return [String]
|
10376
|
+
#
|
10377
|
+
# @!attribute [rw] next_token
|
10378
|
+
# A token to start the list. Use this token to get the next set of
|
10379
|
+
# results.
|
10380
|
+
# @return [String]
|
10381
|
+
#
|
10382
|
+
# @!attribute [rw] max_results
|
10383
|
+
# The maximum number of items to return for this call. The call also
|
10384
|
+
# returns a token that you can specify in a subsequent call to get the
|
10385
|
+
# next set of results.
|
10386
|
+
# @return [Integer]
|
10387
|
+
#
|
10388
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetResourcePoliciesRequest AWS API Documentation
|
10389
|
+
#
|
10390
|
+
class GetResourcePoliciesRequest < Struct.new(
|
10391
|
+
:resource_arn,
|
10392
|
+
:next_token,
|
10393
|
+
:max_results)
|
10394
|
+
SENSITIVE = []
|
10395
|
+
include Aws::Structure
|
10396
|
+
end
|
10397
|
+
|
10398
|
+
# @!attribute [rw] next_token
|
10399
|
+
# The token for the next set of items to return. Use this token to get
|
10400
|
+
# the next set of results.
|
10401
|
+
# @return [String]
|
10402
|
+
#
|
10403
|
+
# @!attribute [rw] policies
|
10404
|
+
# An array of the `Policy` object.
|
10405
|
+
# @return [Array<Types::GetResourcePoliciesResponseEntry>]
|
10406
|
+
#
|
10407
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetResourcePoliciesResponse AWS API Documentation
|
10408
|
+
#
|
10409
|
+
class GetResourcePoliciesResponse < Struct.new(
|
10410
|
+
:next_token,
|
10411
|
+
:policies)
|
10412
|
+
SENSITIVE = []
|
10413
|
+
include Aws::Structure
|
10414
|
+
end
|
10415
|
+
|
10416
|
+
# A resource policy helps you to define the IAM entity (for example, an
|
10417
|
+
# Amazon Web Services account) that can manage your Systems Manager
|
10418
|
+
# resources. Currently, `OpsItemGroup` is the only resource that
|
10419
|
+
# supports Systems Manager resource policies. The resource policy for
|
10420
|
+
# `OpsItemGroup` enables Amazon Web Services accounts to view and
|
10421
|
+
# interact with OpsCenter operational work items (OpsItems).
|
10422
|
+
#
|
10423
|
+
# @!attribute [rw] policy_id
|
10424
|
+
# A policy ID.
|
10425
|
+
# @return [String]
|
10426
|
+
#
|
10427
|
+
# @!attribute [rw] policy_hash
|
10428
|
+
# ID of the current policy version. The hash helps to prevent a
|
10429
|
+
# situation where multiple users attempt to overwrite a policy. You
|
10430
|
+
# must provide this hash when updating or deleting a policy.
|
10431
|
+
# @return [String]
|
10432
|
+
#
|
10433
|
+
# @!attribute [rw] policy
|
10434
|
+
# A resource policy helps you to define the IAM entity (for example,
|
10435
|
+
# an Amazon Web Services account) that can manage your Systems Manager
|
10436
|
+
# resources. Currently, `OpsItemGroup` is the only resource that
|
10437
|
+
# supports Systems Manager resource policies. The resource policy for
|
10438
|
+
# `OpsItemGroup` enables Amazon Web Services accounts to view and
|
10439
|
+
# interact with OpsCenter operational work items (OpsItems).
|
10440
|
+
# @return [String]
|
10441
|
+
#
|
10442
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetResourcePoliciesResponseEntry AWS API Documentation
|
10443
|
+
#
|
10444
|
+
class GetResourcePoliciesResponseEntry < Struct.new(
|
10445
|
+
:policy_id,
|
10446
|
+
:policy_hash,
|
10447
|
+
:policy)
|
10448
|
+
SENSITIVE = []
|
10449
|
+
include Aws::Structure
|
10450
|
+
end
|
10451
|
+
|
10281
10452
|
# The request body of the GetServiceSetting API operation.
|
10282
10453
|
#
|
10283
10454
|
# @note When making an API call, you may pass GetServiceSettingRequest
|
@@ -14613,8 +14784,23 @@ module Aws::SSM
|
|
14613
14784
|
# @return [String]
|
14614
14785
|
#
|
14615
14786
|
# @!attribute [rw] ops_item_type
|
14616
|
-
# The type of OpsItem.
|
14617
|
-
#
|
14787
|
+
# The type of OpsItem. Systems Manager supports the following types of
|
14788
|
+
# OpsItems:
|
14789
|
+
#
|
14790
|
+
# * `/aws/issue`
|
14791
|
+
#
|
14792
|
+
# This type of OpsItem is used for default OpsItems created by
|
14793
|
+
# OpsCenter.
|
14794
|
+
#
|
14795
|
+
# * `/aws/changerequest`
|
14796
|
+
#
|
14797
|
+
# This type of OpsItem is used by Change Manager for reviewing and
|
14798
|
+
# approving or rejecting change requests.
|
14799
|
+
#
|
14800
|
+
# * `/aws/insights`
|
14801
|
+
#
|
14802
|
+
# This type of OpsItem is used by OpsCenter for aggregating and
|
14803
|
+
# reporting on duplicate OpsItems.
|
14618
14804
|
# @return [String]
|
14619
14805
|
#
|
14620
14806
|
# @!attribute [rw] created_time
|
@@ -14743,6 +14929,10 @@ module Aws::SSM
|
|
14743
14929
|
# `/aws/changerequest`.
|
14744
14930
|
# @return [Time]
|
14745
14931
|
#
|
14932
|
+
# @!attribute [rw] ops_item_arn
|
14933
|
+
# The OpsItem Amazon Resource Name (ARN).
|
14934
|
+
# @return [String]
|
14935
|
+
#
|
14746
14936
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItem AWS API Documentation
|
14747
14937
|
#
|
14748
14938
|
class OpsItem < Struct.new(
|
@@ -14766,7 +14956,24 @@ module Aws::SSM
|
|
14766
14956
|
:actual_start_time,
|
14767
14957
|
:actual_end_time,
|
14768
14958
|
:planned_start_time,
|
14769
|
-
:planned_end_time
|
14959
|
+
:planned_end_time,
|
14960
|
+
:ops_item_arn)
|
14961
|
+
SENSITIVE = []
|
14962
|
+
include Aws::Structure
|
14963
|
+
end
|
14964
|
+
|
14965
|
+
# You don't have permission to view OpsItems in the specified account.
|
14966
|
+
# Verify that your account is configured either as a Systems Manager
|
14967
|
+
# delegated administrator or that you are logged into the Organizations
|
14968
|
+
# management account.
|
14969
|
+
#
|
14970
|
+
# @!attribute [rw] message
|
14971
|
+
# @return [String]
|
14972
|
+
#
|
14973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/OpsItemAccessDeniedException AWS API Documentation
|
14974
|
+
#
|
14975
|
+
class OpsItemAccessDeniedException < Struct.new(
|
14976
|
+
:message)
|
14770
14977
|
SENSITIVE = []
|
14771
14978
|
include Aws::Structure
|
14772
14979
|
end
|
@@ -14906,7 +15113,7 @@ module Aws::SSM
|
|
14906
15113
|
# data as a hash:
|
14907
15114
|
#
|
14908
15115
|
# {
|
14909
|
-
# key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, ActualStartTime, ActualEndTime, PlannedStartTime, PlannedEndTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity, OpsItemType, ChangeRequestByRequesterArn, ChangeRequestByRequesterName, ChangeRequestByApproverArn, ChangeRequestByApproverName, ChangeRequestByTemplate, ChangeRequestByTargetsResourceGroup, InsightByType
|
15116
|
+
# key: "Status", # required, accepts Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, ActualStartTime, ActualEndTime, PlannedStartTime, PlannedEndTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity, OpsItemType, ChangeRequestByRequesterArn, ChangeRequestByRequesterName, ChangeRequestByApproverArn, ChangeRequestByApproverName, ChangeRequestByTemplate, ChangeRequestByTargetsResourceGroup, InsightByType, AccountId
|
14910
15117
|
# values: ["OpsItemFilterValue"], # required
|
14911
15118
|
# operator: "Equal", # required, accepts Equal, Contains, GreaterThan, LessThan
|
14912
15119
|
# }
|
@@ -15216,8 +15423,23 @@ module Aws::SSM
|
|
15216
15423
|
# @return [String]
|
15217
15424
|
#
|
15218
15425
|
# @!attribute [rw] ops_item_type
|
15219
|
-
# The type of OpsItem.
|
15220
|
-
#
|
15426
|
+
# The type of OpsItem. Systems Manager supports the following types of
|
15427
|
+
# OpsItems:
|
15428
|
+
#
|
15429
|
+
# * `/aws/issue`
|
15430
|
+
#
|
15431
|
+
# This type of OpsItem is used for default OpsItems created by
|
15432
|
+
# OpsCenter.
|
15433
|
+
#
|
15434
|
+
# * `/aws/changerequest`
|
15435
|
+
#
|
15436
|
+
# This type of OpsItem is used by Change Manager for reviewing and
|
15437
|
+
# approving or rejecting change requests.
|
15438
|
+
#
|
15439
|
+
# * `/aws/insights`
|
15440
|
+
#
|
15441
|
+
# This type of OpsItem is used by OpsCenter for aggregating and
|
15442
|
+
# reporting on duplicate OpsItems.
|
15221
15443
|
# @return [String]
|
15222
15444
|
#
|
15223
15445
|
# @!attribute [rw] actual_start_time
|
@@ -17017,6 +17239,65 @@ module Aws::SSM
|
|
17017
17239
|
include Aws::Structure
|
17018
17240
|
end
|
17019
17241
|
|
17242
|
+
# @note When making an API call, you may pass PutResourcePolicyRequest
|
17243
|
+
# data as a hash:
|
17244
|
+
#
|
17245
|
+
# {
|
17246
|
+
# resource_arn: "ResourceArnString", # required
|
17247
|
+
# policy: "Policy", # required
|
17248
|
+
# policy_id: "PolicyId",
|
17249
|
+
# policy_hash: "PolicyHash",
|
17250
|
+
# }
|
17251
|
+
#
|
17252
|
+
# @!attribute [rw] resource_arn
|
17253
|
+
# Amazon Resource Name (ARN) of the resource to which the policies are
|
17254
|
+
# attached.
|
17255
|
+
# @return [String]
|
17256
|
+
#
|
17257
|
+
# @!attribute [rw] policy
|
17258
|
+
# A policy you want to associate with a resource.
|
17259
|
+
# @return [String]
|
17260
|
+
#
|
17261
|
+
# @!attribute [rw] policy_id
|
17262
|
+
# The policy ID.
|
17263
|
+
# @return [String]
|
17264
|
+
#
|
17265
|
+
# @!attribute [rw] policy_hash
|
17266
|
+
# ID of the current policy version. The hash helps to prevent a
|
17267
|
+
# situation where multiple users attempt to overwrite a policy.
|
17268
|
+
# @return [String]
|
17269
|
+
#
|
17270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutResourcePolicyRequest AWS API Documentation
|
17271
|
+
#
|
17272
|
+
class PutResourcePolicyRequest < Struct.new(
|
17273
|
+
:resource_arn,
|
17274
|
+
:policy,
|
17275
|
+
:policy_id,
|
17276
|
+
:policy_hash)
|
17277
|
+
SENSITIVE = []
|
17278
|
+
include Aws::Structure
|
17279
|
+
end
|
17280
|
+
|
17281
|
+
# @!attribute [rw] policy_id
|
17282
|
+
# The policy ID. To update a policy, you must specify `PolicyId` and
|
17283
|
+
# `PolicyHash`.
|
17284
|
+
# @return [String]
|
17285
|
+
#
|
17286
|
+
# @!attribute [rw] policy_hash
|
17287
|
+
# ID of the current policy version. The hash helps to prevent a
|
17288
|
+
# situation where multiple users attempt to overwrite a policy. You
|
17289
|
+
# must provide this hash when updating or deleting a policy.
|
17290
|
+
# @return [String]
|
17291
|
+
#
|
17292
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutResourcePolicyResponse AWS API Documentation
|
17293
|
+
#
|
17294
|
+
class PutResourcePolicyResponse < Struct.new(
|
17295
|
+
:policy_id,
|
17296
|
+
:policy_hash)
|
17297
|
+
SENSITIVE = []
|
17298
|
+
include Aws::Structure
|
17299
|
+
end
|
17300
|
+
|
17020
17301
|
# @note When making an API call, you may pass RegisterDefaultPatchBaselineRequest
|
17021
17302
|
# data as a hash:
|
17022
17303
|
#
|
@@ -18220,6 +18501,62 @@ module Aws::SSM
|
|
18220
18501
|
include Aws::Structure
|
18221
18502
|
end
|
18222
18503
|
|
18504
|
+
# The hash provided in the call doesn't match the stored hash. This
|
18505
|
+
# exception is thrown when trying to update an obsolete policy version
|
18506
|
+
# or when multiple requests to update a policy are sent.
|
18507
|
+
#
|
18508
|
+
# @!attribute [rw] message
|
18509
|
+
# @return [String]
|
18510
|
+
#
|
18511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourcePolicyConflictException AWS API Documentation
|
18512
|
+
#
|
18513
|
+
class ResourcePolicyConflictException < Struct.new(
|
18514
|
+
:message)
|
18515
|
+
SENSITIVE = []
|
18516
|
+
include Aws::Structure
|
18517
|
+
end
|
18518
|
+
|
18519
|
+
# One or more parameters specified for the call aren't valid. Verify
|
18520
|
+
# the parameters and their values and try again.
|
18521
|
+
#
|
18522
|
+
# @!attribute [rw] parameter_names
|
18523
|
+
# @return [Array<String>]
|
18524
|
+
#
|
18525
|
+
# @!attribute [rw] message
|
18526
|
+
# @return [String]
|
18527
|
+
#
|
18528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourcePolicyInvalidParameterException AWS API Documentation
|
18529
|
+
#
|
18530
|
+
class ResourcePolicyInvalidParameterException < Struct.new(
|
18531
|
+
:parameter_names,
|
18532
|
+
:message)
|
18533
|
+
SENSITIVE = []
|
18534
|
+
include Aws::Structure
|
18535
|
+
end
|
18536
|
+
|
18537
|
+
# The PutResourcePolicy API action enforces two limits. A policy can't
|
18538
|
+
# be greater than 1024 bytes in size. And only one policy can be
|
18539
|
+
# attached to `OpsItemGroup`. Verify these limits and try again.
|
18540
|
+
#
|
18541
|
+
# @!attribute [rw] limit
|
18542
|
+
# @return [Integer]
|
18543
|
+
#
|
18544
|
+
# @!attribute [rw] limit_type
|
18545
|
+
# @return [String]
|
18546
|
+
#
|
18547
|
+
# @!attribute [rw] message
|
18548
|
+
# @return [String]
|
18549
|
+
#
|
18550
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourcePolicyLimitExceededException AWS API Documentation
|
18551
|
+
#
|
18552
|
+
class ResourcePolicyLimitExceededException < Struct.new(
|
18553
|
+
:limit,
|
18554
|
+
:limit_type,
|
18555
|
+
:message)
|
18556
|
+
SENSITIVE = []
|
18557
|
+
include Aws::Structure
|
18558
|
+
end
|
18559
|
+
|
18223
18560
|
# The inventory item result attribute.
|
18224
18561
|
#
|
18225
18562
|
# @note When making an API call, you may pass ResultAttribute
|
@@ -21550,7 +21887,21 @@ module Aws::SSM
|
|
21550
21887
|
# @return [String]
|
21551
21888
|
#
|
21552
21889
|
# @!attribute [rw] iam_role
|
21553
|
-
# The
|
21890
|
+
# The name of the Identity and Access Management (IAM) role that you
|
21891
|
+
# want to assign to the managed node. This IAM role must provide
|
21892
|
+
# AssumeRole permissions for the Amazon Web Services Systems Manager
|
21893
|
+
# service principal `ssm.amazonaws.com`. For more information, see
|
21894
|
+
# [Create an IAM service role for a hybrid environment][1] in the
|
21895
|
+
# *Amazon Web Services Systems Manager User Guide*.
|
21896
|
+
#
|
21897
|
+
# <note markdown="1"> You can't specify an IAM service-linked role for this parameter.
|
21898
|
+
# You must create a unique role.
|
21899
|
+
#
|
21900
|
+
# </note>
|
21901
|
+
#
|
21902
|
+
#
|
21903
|
+
#
|
21904
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html
|
21554
21905
|
# @return [String]
|
21555
21906
|
#
|
21556
21907
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateManagedInstanceRoleRequest AWS API Documentation
|
@@ -21598,6 +21949,7 @@ module Aws::SSM
|
|
21598
21949
|
# actual_end_time: Time.now,
|
21599
21950
|
# planned_start_time: Time.now,
|
21600
21951
|
# planned_end_time: Time.now,
|
21952
|
+
# ops_item_arn: "OpsItemArn",
|
21601
21953
|
# }
|
21602
21954
|
#
|
21603
21955
|
# @!attribute [rw] description
|
@@ -21710,6 +22062,10 @@ module Aws::SSM
|
|
21710
22062
|
# `/aws/changerequest`.
|
21711
22063
|
# @return [Time]
|
21712
22064
|
#
|
22065
|
+
# @!attribute [rw] ops_item_arn
|
22066
|
+
# The OpsItem Amazon Resource Name (ARN).
|
22067
|
+
# @return [String]
|
22068
|
+
#
|
21713
22069
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsItemRequest AWS API Documentation
|
21714
22070
|
#
|
21715
22071
|
class UpdateOpsItemRequest < Struct.new(
|
@@ -21727,7 +22083,8 @@ module Aws::SSM
|
|
21727
22083
|
:actual_start_time,
|
21728
22084
|
:actual_end_time,
|
21729
22085
|
:planned_start_time,
|
21730
|
-
:planned_end_time
|
22086
|
+
:planned_end_time,
|
22087
|
+
:ops_item_arn)
|
21731
22088
|
SENSITIVE = []
|
21732
22089
|
include Aws::Structure
|
21733
22090
|
end
|
data/lib/aws-sdk-ssm.rb
CHANGED
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.145.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: 2022-11-
|
11
|
+
date: 2022-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|