aws-sdk-ssm 1.62.0 → 1.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +52 -1
- data/lib/aws-sdk-ssm/client_api.rb +25 -0
- data/lib/aws-sdk-ssm/errors.rb +16 -0
- data/lib/aws-sdk-ssm/types.rb +63 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac8f5c999b35b69781fe380a55e03dd12cdd3f79
|
4
|
+
data.tar.gz: b4cfc407ae320e8353a733896d515956df6db032
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a174b3bb752712942bf742958a9f3cbda3a12a25d7dfc3f6c524ed37d0bee9b266ab44d6b84f2a6b0c8bc3d009f47d89ce7b7e8cab55d7b24272b9edd3e32ee9
|
7
|
+
data.tar.gz: 1fa7394ba5d2ed0c3a26444e204af40a1a4076f4d59ac7e89b5b761729312ebd46325dafef2152c97ff715ba392c7bdd0dd7ea9506bab74eff5ca26167fc6e37
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -8977,6 +8977,57 @@ module Aws::SSM
|
|
8977
8977
|
req.send_request(options)
|
8978
8978
|
end
|
8979
8979
|
|
8980
|
+
# Update a resource data sync. After you create a resource data sync for
|
8981
|
+
# a Region, you can't change the account options for that sync. For
|
8982
|
+
# example, if you create a sync in the us-east-2 (Ohio) Region and you
|
8983
|
+
# choose the Include only the current account option, you can't edit
|
8984
|
+
# that sync later and choose the Include all accounts from my AWS
|
8985
|
+
# Organizations configuration option. Instead, you must delete the first
|
8986
|
+
# resource data sync, and create a new one.
|
8987
|
+
#
|
8988
|
+
# @option params [required, String] :sync_name
|
8989
|
+
# The name of the resource data sync you want to update.
|
8990
|
+
#
|
8991
|
+
# @option params [required, String] :sync_type
|
8992
|
+
# The type of resource data sync. If `SyncType` is `SyncToDestination`,
|
8993
|
+
# then the resource data sync synchronizes data to an Amazon S3 bucket.
|
8994
|
+
# If the `SyncType` is `SyncFromSource` then the resource data sync
|
8995
|
+
# synchronizes data from AWS Organizations or from multiple AWS Regions.
|
8996
|
+
#
|
8997
|
+
# @option params [required, Types::ResourceDataSyncSource] :sync_source
|
8998
|
+
# Specify information about the data sources to synchronize.
|
8999
|
+
#
|
9000
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
9001
|
+
#
|
9002
|
+
# @example Request syntax with placeholder values
|
9003
|
+
#
|
9004
|
+
# resp = client.update_resource_data_sync({
|
9005
|
+
# sync_name: "ResourceDataSyncName", # required
|
9006
|
+
# sync_type: "ResourceDataSyncType", # required
|
9007
|
+
# sync_source: { # required
|
9008
|
+
# source_type: "ResourceDataSyncSourceType", # required
|
9009
|
+
# aws_organizations_source: {
|
9010
|
+
# organization_source_type: "ResourceDataSyncOrganizationSourceType", # required
|
9011
|
+
# organizational_units: [
|
9012
|
+
# {
|
9013
|
+
# organizational_unit_id: "ResourceDataSyncOrganizationalUnitId",
|
9014
|
+
# },
|
9015
|
+
# ],
|
9016
|
+
# },
|
9017
|
+
# source_regions: ["ResourceDataSyncSourceRegion"], # required
|
9018
|
+
# include_future_regions: false,
|
9019
|
+
# },
|
9020
|
+
# })
|
9021
|
+
#
|
9022
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateResourceDataSync AWS API Documentation
|
9023
|
+
#
|
9024
|
+
# @overload update_resource_data_sync(params = {})
|
9025
|
+
# @param [Hash] params ({})
|
9026
|
+
def update_resource_data_sync(params = {}, options = {})
|
9027
|
+
req = build_request(:update_resource_data_sync, params)
|
9028
|
+
req.send_request(options)
|
9029
|
+
end
|
9030
|
+
|
8980
9031
|
# `ServiceSetting` is an account-level setting for an AWS service. This
|
8981
9032
|
# setting defines how a user interacts with or uses a service or a
|
8982
9033
|
# feature of a service. For example, if an AWS service charges money to
|
@@ -9032,7 +9083,7 @@ module Aws::SSM
|
|
9032
9083
|
params: params,
|
9033
9084
|
config: config)
|
9034
9085
|
context[:gem_name] = 'aws-sdk-ssm'
|
9035
|
-
context[:gem_version] = '1.
|
9086
|
+
context[:gem_version] = '1.63.0'
|
9036
9087
|
Seahorse::Client::Request.new(handlers, context)
|
9037
9088
|
end
|
9038
9089
|
|
@@ -849,6 +849,7 @@ module Aws::SSM
|
|
849
849
|
ResourceDataSyncAWSKMSKeyARN = Shapes::StringShape.new(name: 'ResourceDataSyncAWSKMSKeyARN')
|
850
850
|
ResourceDataSyncAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceDataSyncAlreadyExistsException')
|
851
851
|
ResourceDataSyncAwsOrganizationsSource = Shapes::StructureShape.new(name: 'ResourceDataSyncAwsOrganizationsSource')
|
852
|
+
ResourceDataSyncConflictException = Shapes::StructureShape.new(name: 'ResourceDataSyncConflictException')
|
852
853
|
ResourceDataSyncCountExceededException = Shapes::StructureShape.new(name: 'ResourceDataSyncCountExceededException')
|
853
854
|
ResourceDataSyncCreatedTime = Shapes::TimestampShape.new(name: 'ResourceDataSyncCreatedTime')
|
854
855
|
ResourceDataSyncIncludeFutureRegions = Shapes::BooleanShape.new(name: 'ResourceDataSyncIncludeFutureRegions')
|
@@ -1008,6 +1009,8 @@ module Aws::SSM
|
|
1008
1009
|
UpdateOpsItemResponse = Shapes::StructureShape.new(name: 'UpdateOpsItemResponse')
|
1009
1010
|
UpdatePatchBaselineRequest = Shapes::StructureShape.new(name: 'UpdatePatchBaselineRequest')
|
1010
1011
|
UpdatePatchBaselineResult = Shapes::StructureShape.new(name: 'UpdatePatchBaselineResult')
|
1012
|
+
UpdateResourceDataSyncRequest = Shapes::StructureShape.new(name: 'UpdateResourceDataSyncRequest')
|
1013
|
+
UpdateResourceDataSyncResult = Shapes::StructureShape.new(name: 'UpdateResourceDataSyncResult')
|
1011
1014
|
UpdateServiceSettingRequest = Shapes::StructureShape.new(name: 'UpdateServiceSettingRequest')
|
1012
1015
|
UpdateServiceSettingResult = Shapes::StructureShape.new(name: 'UpdateServiceSettingResult')
|
1013
1016
|
Url = Shapes::StringShape.new(name: 'Url')
|
@@ -3422,6 +3425,9 @@ module Aws::SSM
|
|
3422
3425
|
ResourceDataSyncAwsOrganizationsSource.add_member(:organizational_units, Shapes::ShapeRef.new(shape: ResourceDataSyncOrganizationalUnitList, location_name: "OrganizationalUnits"))
|
3423
3426
|
ResourceDataSyncAwsOrganizationsSource.struct_class = Types::ResourceDataSyncAwsOrganizationsSource
|
3424
3427
|
|
3428
|
+
ResourceDataSyncConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
3429
|
+
ResourceDataSyncConflictException.struct_class = Types::ResourceDataSyncConflictException
|
3430
|
+
|
3425
3431
|
ResourceDataSyncCountExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
3426
3432
|
ResourceDataSyncCountExceededException.struct_class = Types::ResourceDataSyncCountExceededException
|
3427
3433
|
|
@@ -3900,6 +3906,13 @@ module Aws::SSM
|
|
3900
3906
|
UpdatePatchBaselineResult.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
|
3901
3907
|
UpdatePatchBaselineResult.struct_class = Types::UpdatePatchBaselineResult
|
3902
3908
|
|
3909
|
+
UpdateResourceDataSyncRequest.add_member(:sync_name, Shapes::ShapeRef.new(shape: ResourceDataSyncName, required: true, location_name: "SyncName"))
|
3910
|
+
UpdateResourceDataSyncRequest.add_member(:sync_type, Shapes::ShapeRef.new(shape: ResourceDataSyncType, required: true, location_name: "SyncType"))
|
3911
|
+
UpdateResourceDataSyncRequest.add_member(:sync_source, Shapes::ShapeRef.new(shape: ResourceDataSyncSource, required: true, location_name: "SyncSource"))
|
3912
|
+
UpdateResourceDataSyncRequest.struct_class = Types::UpdateResourceDataSyncRequest
|
3913
|
+
|
3914
|
+
UpdateResourceDataSyncResult.struct_class = Types::UpdateResourceDataSyncResult
|
3915
|
+
|
3903
3916
|
UpdateServiceSettingRequest.add_member(:setting_id, Shapes::ShapeRef.new(shape: ServiceSettingId, required: true, location_name: "SettingId"))
|
3904
3917
|
UpdateServiceSettingRequest.add_member(:setting_value, Shapes::ShapeRef.new(shape: ServiceSettingValue, required: true, location_name: "SettingValue"))
|
3905
3918
|
UpdateServiceSettingRequest.struct_class = Types::UpdateServiceSettingRequest
|
@@ -5365,6 +5378,18 @@ module Aws::SSM
|
|
5365
5378
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
5366
5379
|
end)
|
5367
5380
|
|
5381
|
+
api.add_operation(:update_resource_data_sync, Seahorse::Model::Operation.new.tap do |o|
|
5382
|
+
o.name = "UpdateResourceDataSync"
|
5383
|
+
o.http_method = "POST"
|
5384
|
+
o.http_request_uri = "/"
|
5385
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateResourceDataSyncRequest)
|
5386
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateResourceDataSyncResult)
|
5387
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceDataSyncNotFoundException)
|
5388
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceDataSyncInvalidConfigurationException)
|
5389
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceDataSyncConflictException)
|
5390
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
5391
|
+
end)
|
5392
|
+
|
5368
5393
|
api.add_operation(:update_service_setting, Seahorse::Model::Operation.new.tap do |o|
|
5369
5394
|
o.name = "UpdateServiceSetting"
|
5370
5395
|
o.http_method = "POST"
|
data/lib/aws-sdk-ssm/errors.rb
CHANGED
@@ -1314,6 +1314,22 @@ module Aws::SSM
|
|
1314
1314
|
|
1315
1315
|
end
|
1316
1316
|
|
1317
|
+
class ResourceDataSyncConflictException < ServiceError
|
1318
|
+
|
1319
|
+
# @param [Seahorse::Client::RequestContext] context
|
1320
|
+
# @param [String] message
|
1321
|
+
# @param [Aws::SSM::Types::ResourceDataSyncConflictException] data
|
1322
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1323
|
+
super(context, message, data)
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
# @return [String]
|
1327
|
+
def message
|
1328
|
+
@message || @data[:message]
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
end
|
1332
|
+
|
1317
1333
|
class ResourceDataSyncCountExceededException < ServiceError
|
1318
1334
|
|
1319
1335
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -13798,6 +13798,19 @@ module Aws::SSM
|
|
13798
13798
|
include Aws::Structure
|
13799
13799
|
end
|
13800
13800
|
|
13801
|
+
# Another `UpdateResourceDataSync` request is being processed. Wait a
|
13802
|
+
# few minutes and try again.
|
13803
|
+
#
|
13804
|
+
# @!attribute [rw] message
|
13805
|
+
# @return [String]
|
13806
|
+
#
|
13807
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncConflictException AWS API Documentation
|
13808
|
+
#
|
13809
|
+
class ResourceDataSyncConflictException < Struct.new(
|
13810
|
+
:message)
|
13811
|
+
include Aws::Structure
|
13812
|
+
end
|
13813
|
+
|
13801
13814
|
# You have exceeded the allowed maximum sync configurations.
|
13802
13815
|
#
|
13803
13816
|
# @!attribute [rw] message
|
@@ -16863,6 +16876,56 @@ module Aws::SSM
|
|
16863
16876
|
include Aws::Structure
|
16864
16877
|
end
|
16865
16878
|
|
16879
|
+
# @note When making an API call, you may pass UpdateResourceDataSyncRequest
|
16880
|
+
# data as a hash:
|
16881
|
+
#
|
16882
|
+
# {
|
16883
|
+
# sync_name: "ResourceDataSyncName", # required
|
16884
|
+
# sync_type: "ResourceDataSyncType", # required
|
16885
|
+
# sync_source: { # required
|
16886
|
+
# source_type: "ResourceDataSyncSourceType", # required
|
16887
|
+
# aws_organizations_source: {
|
16888
|
+
# organization_source_type: "ResourceDataSyncOrganizationSourceType", # required
|
16889
|
+
# organizational_units: [
|
16890
|
+
# {
|
16891
|
+
# organizational_unit_id: "ResourceDataSyncOrganizationalUnitId",
|
16892
|
+
# },
|
16893
|
+
# ],
|
16894
|
+
# },
|
16895
|
+
# source_regions: ["ResourceDataSyncSourceRegion"], # required
|
16896
|
+
# include_future_regions: false,
|
16897
|
+
# },
|
16898
|
+
# }
|
16899
|
+
#
|
16900
|
+
# @!attribute [rw] sync_name
|
16901
|
+
# The name of the resource data sync you want to update.
|
16902
|
+
# @return [String]
|
16903
|
+
#
|
16904
|
+
# @!attribute [rw] sync_type
|
16905
|
+
# The type of resource data sync. If `SyncType` is
|
16906
|
+
# `SyncToDestination`, then the resource data sync synchronizes data
|
16907
|
+
# to an Amazon S3 bucket. If the `SyncType` is `SyncFromSource` then
|
16908
|
+
# the resource data sync synchronizes data from AWS Organizations or
|
16909
|
+
# from multiple AWS Regions.
|
16910
|
+
# @return [String]
|
16911
|
+
#
|
16912
|
+
# @!attribute [rw] sync_source
|
16913
|
+
# Specify information about the data sources to synchronize.
|
16914
|
+
# @return [Types::ResourceDataSyncSource]
|
16915
|
+
#
|
16916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateResourceDataSyncRequest AWS API Documentation
|
16917
|
+
#
|
16918
|
+
class UpdateResourceDataSyncRequest < Struct.new(
|
16919
|
+
:sync_name,
|
16920
|
+
:sync_type,
|
16921
|
+
:sync_source)
|
16922
|
+
include Aws::Structure
|
16923
|
+
end
|
16924
|
+
|
16925
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateResourceDataSyncResult AWS API Documentation
|
16926
|
+
#
|
16927
|
+
class UpdateResourceDataSyncResult < Aws::EmptyStructure; end
|
16928
|
+
|
16866
16929
|
# The request body of the UpdateServiceSetting API action.
|
16867
16930
|
#
|
16868
16931
|
# @note When making an API call, you may pass UpdateServiceSettingRequest
|
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.63.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-11-
|
11
|
+
date: 2019-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|