aws-sdk-ssm 1.0.0.rc8 → 1.0.0.rc9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b43d58c3a0d13156d2d3a8f599d7e0c06bc238e9
4
- data.tar.gz: ec3eddee6204a79e9db8b774e23a4202249f05c2
3
+ metadata.gz: 577a0c99ecd85a0943086d0ef2e7100f1f12b8e3
4
+ data.tar.gz: cdcaf1c5be7b9680cd7a98536c73b7b09efe549b
5
5
  SHA512:
6
- metadata.gz: 4bb536750331d48046d29eadeccfc8f1cc410249a89b0193ad9b7385785cff9a078aeb4e3c67ccd258aa63c20eb88026753ba68e0e08db9346f84a3161f3e567
7
- data.tar.gz: 51e5618a3e2a479eee395a06feeacf39069bf7f2a606415049719ef98779b2ac0d0e31d37a31964a00afb7989ffcc06f217d32c5d14ff85eba76885558a6d59e
6
+ metadata.gz: 28f7f6b769d2267b1000bb0d98630360ca718cd62a396c556ed09e62051b14c71dcdc243c5cb5ac783bbaef64ccab73522fbb42c562de326281e086a30628bb8
7
+ data.tar.gz: 856e5757ac6d3fe7aca74d1686923c01d0c6d274e42917fef40517d77b643336ca260df0972ebfafba587b1662b12f054a65095e57b7a2041832ac80303b90dc
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.0.0.rc8'
45
+ GEM_VERSION = '1.0.0.rc9'
46
46
 
47
47
  end
@@ -705,6 +705,53 @@ module Aws::SSM
705
705
  req.send_request(options)
706
706
  end
707
707
 
708
+ # Creates a resource data sync configuration to a single bucket in
709
+ # Amazon S3. This is an asynchronous operation that returns immediately.
710
+ # After a successful initial sync is completed, the system continuously
711
+ # syncs data to the Amazon S3 bucket. To check the status of the sync,
712
+ # use the [ListResourceDataSync](API_ListResourceDataSync.html)
713
+ # operation.
714
+ #
715
+ # By default, data is not encrypted in Amazon S3. We strongly recommend
716
+ # that you enable encryption in Amazon S3 to ensure secure data storage.
717
+ # We also recommend that you secure access to the Amazon S3 bucket by
718
+ # creating a restrictive bucket policy. To view an example of a
719
+ # restrictive Amazon S3 bucket policy for Resource Data Sync, see
720
+ # [Creating a Resource Data Sync][1].
721
+ #
722
+ #
723
+ #
724
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-datasync-create.html
725
+ #
726
+ # @option params [required, String] :sync_name
727
+ # A name for the configuration.
728
+ #
729
+ # @option params [required, Types::ResourceDataSyncS3Destination] :s3_destination
730
+ # Amazon S3 configuration details for the sync.
731
+ #
732
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
733
+ #
734
+ # @example Request syntax with placeholder values
735
+ #
736
+ # resp = client.create_resource_data_sync({
737
+ # sync_name: "ResourceDataSyncName", # required
738
+ # s3_destination: { # required
739
+ # bucket_name: "ResourceDataSyncS3BucketName", # required
740
+ # prefix: "ResourceDataSyncS3Prefix",
741
+ # sync_format: "JsonSerDe", # required, accepts JsonSerDe
742
+ # region: "ResourceDataSyncS3Region", # required
743
+ # },
744
+ # })
745
+ #
746
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSync AWS API Documentation
747
+ #
748
+ # @overload create_resource_data_sync(params = {})
749
+ # @param [Hash] params ({})
750
+ def create_resource_data_sync(params = {}, options = {})
751
+ req = build_request(:create_resource_data_sync, params)
752
+ req.send_request(options)
753
+ end
754
+
708
755
  # Deletes an activation. You are not required to delete an activation.
709
756
  # If you delete an activation, you can no longer use it to register
710
757
  # additional managed instances. Deleting an activation does not
@@ -905,6 +952,31 @@ module Aws::SSM
905
952
  req.send_request(options)
906
953
  end
907
954
 
955
+ # Deletes a Resource Data Sync configuration. After the configuration is
956
+ # deleted, changes to inventory data on managed instances are no longer
957
+ # synced with the target Amazon S3 bucket. Deleting a sync configuration
958
+ # does not delete data in the target Amazon S3 bucket.
959
+ #
960
+ # @option params [required, String] :sync_name
961
+ # The name of the configuration to delete.
962
+ #
963
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
964
+ #
965
+ # @example Request syntax with placeholder values
966
+ #
967
+ # resp = client.delete_resource_data_sync({
968
+ # sync_name: "ResourceDataSyncName", # required
969
+ # })
970
+ #
971
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSync AWS API Documentation
972
+ #
973
+ # @overload delete_resource_data_sync(params = {})
974
+ # @param [Hash] params ({})
975
+ def delete_resource_data_sync(params = {}, options = {})
976
+ req = build_request(:delete_resource_data_sync, params)
977
+ req.send_request(options)
978
+ end
979
+
908
980
  # Removes the server or virtual machine from the list of registered
909
981
  # servers. You can reregister the instance again at any time. If you
910
982
  # don't plan to use Run Command on the server, we suggest uninstalling
@@ -2965,11 +3037,11 @@ module Aws::SSM
2965
3037
  end
2966
3038
 
2967
3039
  # Retrieve parameters in a specific hierarchy. For more information, see
2968
- # [Using Parameter Hierarchies][1].
3040
+ # [Working with Systems Manager Parameters][1].
2969
3041
  #
2970
3042
  #
2971
3043
  #
2972
- # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-working-path.html
3044
+ # [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-working.html
2973
3045
  #
2974
3046
  # @option params [required, String] :path
2975
3047
  # The hierarchy for the parameter. Hierarchies start with a forward
@@ -3528,6 +3600,63 @@ module Aws::SSM
3528
3600
  req.send_request(options)
3529
3601
  end
3530
3602
 
3603
+ # Lists your resource data sync configurations. Includes information
3604
+ # about the last time a sync attempted to start, the last sync status,
3605
+ # and the last time a sync successfully completed.
3606
+ #
3607
+ # The number of sync configurations might be too large to return using a
3608
+ # single call to `ListResourceDataSync`. You can limit the number of
3609
+ # sync configurations returned by using the `MaxResults` parameter. To
3610
+ # determine whether there are more sync configurations to list, check
3611
+ # the value of `NextToken` in the output. If there are more sync
3612
+ # configurations to list, you can request them by specifying the
3613
+ # `NextToken` returned in the call to the parameter of a subsequent
3614
+ # call.
3615
+ #
3616
+ # @option params [String] :next_token
3617
+ # A token to start the list. Use this token to get the next set of
3618
+ # results.
3619
+ #
3620
+ # @option params [Integer] :max_results
3621
+ # The maximum number of items to return for this call. The call also
3622
+ # returns a token that you can specify in a subsequent call to get the
3623
+ # next set of results.
3624
+ #
3625
+ # @return [Types::ListResourceDataSyncResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3626
+ #
3627
+ # * {Types::ListResourceDataSyncResult#resource_data_sync_items #resource_data_sync_items} => Array<Types::ResourceDataSyncItem>
3628
+ # * {Types::ListResourceDataSyncResult#next_token #next_token} => String
3629
+ #
3630
+ # @example Request syntax with placeholder values
3631
+ #
3632
+ # resp = client.list_resource_data_sync({
3633
+ # next_token: "NextToken",
3634
+ # max_results: 1,
3635
+ # })
3636
+ #
3637
+ # @example Response structure
3638
+ #
3639
+ # resp.resource_data_sync_items #=> Array
3640
+ # resp.resource_data_sync_items[0].sync_name #=> String
3641
+ # resp.resource_data_sync_items[0].s3_destination.bucket_name #=> String
3642
+ # resp.resource_data_sync_items[0].s3_destination.prefix #=> String
3643
+ # resp.resource_data_sync_items[0].s3_destination.sync_format #=> String, one of "JsonSerDe"
3644
+ # resp.resource_data_sync_items[0].s3_destination.region #=> String
3645
+ # resp.resource_data_sync_items[0].last_sync_time #=> Time
3646
+ # resp.resource_data_sync_items[0].last_successful_sync_time #=> Time
3647
+ # resp.resource_data_sync_items[0].last_status #=> String, one of "Successful", "Failed", "InProgress"
3648
+ # resp.resource_data_sync_items[0].sync_created_time #=> Time
3649
+ # resp.next_token #=> String
3650
+ #
3651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSync AWS API Documentation
3652
+ #
3653
+ # @overload list_resource_data_sync(params = {})
3654
+ # @param [Hash] params ({})
3655
+ def list_resource_data_sync(params = {}, options = {})
3656
+ req = build_request(:list_resource_data_sync, params)
3657
+ req.send_request(options)
3658
+ end
3659
+
3531
3660
  # Returns a list of the tags assigned to the specified resource.
3532
3661
  #
3533
3662
  # @option params [required, String] :resource_type
@@ -4633,7 +4762,7 @@ module Aws::SSM
4633
4762
  params: params,
4634
4763
  config: config)
4635
4764
  context[:gem_name] = 'aws-sdk-ssm'
4636
- context[:gem_version] = '1.0.0.rc8'
4765
+ context[:gem_version] = '1.0.0.rc9'
4637
4766
  Seahorse::Client::Request.new(handlers, context)
4638
4767
  end
4639
4768
 
@@ -104,6 +104,8 @@ module Aws::SSM
104
104
  CreateMaintenanceWindowResult = Shapes::StructureShape.new(name: 'CreateMaintenanceWindowResult')
105
105
  CreatePatchBaselineRequest = Shapes::StructureShape.new(name: 'CreatePatchBaselineRequest')
106
106
  CreatePatchBaselineResult = Shapes::StructureShape.new(name: 'CreatePatchBaselineResult')
107
+ CreateResourceDataSyncRequest = Shapes::StructureShape.new(name: 'CreateResourceDataSyncRequest')
108
+ CreateResourceDataSyncResult = Shapes::StructureShape.new(name: 'CreateResourceDataSyncResult')
107
109
  CreatedDate = Shapes::TimestampShape.new(name: 'CreatedDate')
108
110
  CustomSchemaCountLimitExceededException = Shapes::StructureShape.new(name: 'CustomSchemaCountLimitExceededException')
109
111
  DateTime = Shapes::TimestampShape.new(name: 'DateTime')
@@ -123,6 +125,8 @@ module Aws::SSM
123
125
  DeleteParametersResult = Shapes::StructureShape.new(name: 'DeleteParametersResult')
124
126
  DeletePatchBaselineRequest = Shapes::StructureShape.new(name: 'DeletePatchBaselineRequest')
125
127
  DeletePatchBaselineResult = Shapes::StructureShape.new(name: 'DeletePatchBaselineResult')
128
+ DeleteResourceDataSyncRequest = Shapes::StructureShape.new(name: 'DeleteResourceDataSyncRequest')
129
+ DeleteResourceDataSyncResult = Shapes::StructureShape.new(name: 'DeleteResourceDataSyncResult')
126
130
  DeregisterManagedInstanceRequest = Shapes::StructureShape.new(name: 'DeregisterManagedInstanceRequest')
127
131
  DeregisterManagedInstanceResult = Shapes::StructureShape.new(name: 'DeregisterManagedInstanceResult')
128
132
  DeregisterPatchBaselineForPatchGroupRequest = Shapes::StructureShape.new(name: 'DeregisterPatchBaselineForPatchGroupRequest')
@@ -364,6 +368,9 @@ module Aws::SSM
364
368
  ItemContentMismatchException = Shapes::StructureShape.new(name: 'ItemContentMismatchException')
365
369
  ItemSizeLimitExceededException = Shapes::StructureShape.new(name: 'ItemSizeLimitExceededException')
366
370
  KeyList = Shapes::ListShape.new(name: 'KeyList')
371
+ LastResourceDataSyncStatus = Shapes::StringShape.new(name: 'LastResourceDataSyncStatus')
372
+ LastResourceDataSyncTime = Shapes::TimestampShape.new(name: 'LastResourceDataSyncTime')
373
+ LastSuccessfulResourceDataSyncTime = Shapes::TimestampShape.new(name: 'LastSuccessfulResourceDataSyncTime')
367
374
  ListAssociationsRequest = Shapes::StructureShape.new(name: 'ListAssociationsRequest')
368
375
  ListAssociationsResult = Shapes::StructureShape.new(name: 'ListAssociationsResult')
369
376
  ListCommandInvocationsRequest = Shapes::StructureShape.new(name: 'ListCommandInvocationsRequest')
@@ -376,6 +383,8 @@ module Aws::SSM
376
383
  ListDocumentsResult = Shapes::StructureShape.new(name: 'ListDocumentsResult')
377
384
  ListInventoryEntriesRequest = Shapes::StructureShape.new(name: 'ListInventoryEntriesRequest')
378
385
  ListInventoryEntriesResult = Shapes::StructureShape.new(name: 'ListInventoryEntriesResult')
386
+ ListResourceDataSyncRequest = Shapes::StructureShape.new(name: 'ListResourceDataSyncRequest')
387
+ ListResourceDataSyncResult = Shapes::StructureShape.new(name: 'ListResourceDataSyncResult')
379
388
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
380
389
  ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
381
390
  LoggingInfo = Shapes::StructureShape.new(name: 'LoggingInfo')
@@ -543,6 +552,19 @@ module Aws::SSM
543
552
  RegistrationsCount = Shapes::IntegerShape.new(name: 'RegistrationsCount')
544
553
  RemoveTagsFromResourceRequest = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceRequest')
545
554
  RemoveTagsFromResourceResult = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceResult')
555
+ ResourceDataSyncAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceDataSyncAlreadyExistsException')
556
+ ResourceDataSyncCountExceededException = Shapes::StructureShape.new(name: 'ResourceDataSyncCountExceededException')
557
+ ResourceDataSyncCreatedTime = Shapes::TimestampShape.new(name: 'ResourceDataSyncCreatedTime')
558
+ ResourceDataSyncInvalidConfigurationException = Shapes::StructureShape.new(name: 'ResourceDataSyncInvalidConfigurationException')
559
+ ResourceDataSyncItem = Shapes::StructureShape.new(name: 'ResourceDataSyncItem')
560
+ ResourceDataSyncItemList = Shapes::ListShape.new(name: 'ResourceDataSyncItemList')
561
+ ResourceDataSyncName = Shapes::StringShape.new(name: 'ResourceDataSyncName')
562
+ ResourceDataSyncNotFoundException = Shapes::StructureShape.new(name: 'ResourceDataSyncNotFoundException')
563
+ ResourceDataSyncS3BucketName = Shapes::StringShape.new(name: 'ResourceDataSyncS3BucketName')
564
+ ResourceDataSyncS3Destination = Shapes::StructureShape.new(name: 'ResourceDataSyncS3Destination')
565
+ ResourceDataSyncS3Format = Shapes::StringShape.new(name: 'ResourceDataSyncS3Format')
566
+ ResourceDataSyncS3Prefix = Shapes::StringShape.new(name: 'ResourceDataSyncS3Prefix')
567
+ ResourceDataSyncS3Region = Shapes::StringShape.new(name: 'ResourceDataSyncS3Region')
546
568
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
547
569
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
548
570
  ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
@@ -864,6 +886,12 @@ module Aws::SSM
864
886
  CreatePatchBaselineResult.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, location_name: "BaselineId"))
865
887
  CreatePatchBaselineResult.struct_class = Types::CreatePatchBaselineResult
866
888
 
889
+ CreateResourceDataSyncRequest.add_member(:sync_name, Shapes::ShapeRef.new(shape: ResourceDataSyncName, required: true, location_name: "SyncName"))
890
+ CreateResourceDataSyncRequest.add_member(:s3_destination, Shapes::ShapeRef.new(shape: ResourceDataSyncS3Destination, required: true, location_name: "S3Destination"))
891
+ CreateResourceDataSyncRequest.struct_class = Types::CreateResourceDataSyncRequest
892
+
893
+ CreateResourceDataSyncResult.struct_class = Types::CreateResourceDataSyncResult
894
+
867
895
  DeleteActivationRequest.add_member(:activation_id, Shapes::ShapeRef.new(shape: ActivationId, required: true, location_name: "ActivationId"))
868
896
  DeleteActivationRequest.struct_class = Types::DeleteActivationRequest
869
897
 
@@ -905,6 +933,11 @@ module Aws::SSM
905
933
  DeletePatchBaselineResult.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, location_name: "BaselineId"))
906
934
  DeletePatchBaselineResult.struct_class = Types::DeletePatchBaselineResult
907
935
 
936
+ DeleteResourceDataSyncRequest.add_member(:sync_name, Shapes::ShapeRef.new(shape: ResourceDataSyncName, required: true, location_name: "SyncName"))
937
+ DeleteResourceDataSyncRequest.struct_class = Types::DeleteResourceDataSyncRequest
938
+
939
+ DeleteResourceDataSyncResult.struct_class = Types::DeleteResourceDataSyncResult
940
+
908
941
  DeregisterManagedInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ManagedInstanceId, required: true, location_name: "InstanceId"))
909
942
  DeregisterManagedInstanceRequest.struct_class = Types::DeregisterManagedInstanceRequest
910
943
 
@@ -1618,6 +1651,14 @@ module Aws::SSM
1618
1651
  ListInventoryEntriesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1619
1652
  ListInventoryEntriesResult.struct_class = Types::ListInventoryEntriesResult
1620
1653
 
1654
+ ListResourceDataSyncRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1655
+ ListResourceDataSyncRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
1656
+ ListResourceDataSyncRequest.struct_class = Types::ListResourceDataSyncRequest
1657
+
1658
+ ListResourceDataSyncResult.add_member(:resource_data_sync_items, Shapes::ShapeRef.new(shape: ResourceDataSyncItemList, location_name: "ResourceDataSyncItems"))
1659
+ ListResourceDataSyncResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1660
+ ListResourceDataSyncResult.struct_class = Types::ListResourceDataSyncResult
1661
+
1621
1662
  ListTagsForResourceRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceTypeForTagging, required: true, location_name: "ResourceType"))
1622
1663
  ListTagsForResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
1623
1664
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
@@ -1935,6 +1976,22 @@ module Aws::SSM
1935
1976
 
1936
1977
  RemoveTagsFromResourceResult.struct_class = Types::RemoveTagsFromResourceResult
1937
1978
 
1979
+ ResourceDataSyncItem.add_member(:sync_name, Shapes::ShapeRef.new(shape: ResourceDataSyncName, location_name: "SyncName"))
1980
+ ResourceDataSyncItem.add_member(:s3_destination, Shapes::ShapeRef.new(shape: ResourceDataSyncS3Destination, location_name: "S3Destination"))
1981
+ ResourceDataSyncItem.add_member(:last_sync_time, Shapes::ShapeRef.new(shape: LastResourceDataSyncTime, location_name: "LastSyncTime"))
1982
+ ResourceDataSyncItem.add_member(:last_successful_sync_time, Shapes::ShapeRef.new(shape: LastSuccessfulResourceDataSyncTime, location_name: "LastSuccessfulSyncTime"))
1983
+ ResourceDataSyncItem.add_member(:last_status, Shapes::ShapeRef.new(shape: LastResourceDataSyncStatus, location_name: "LastStatus"))
1984
+ ResourceDataSyncItem.add_member(:sync_created_time, Shapes::ShapeRef.new(shape: ResourceDataSyncCreatedTime, location_name: "SyncCreatedTime"))
1985
+ ResourceDataSyncItem.struct_class = Types::ResourceDataSyncItem
1986
+
1987
+ ResourceDataSyncItemList.member = Shapes::ShapeRef.new(shape: ResourceDataSyncItem)
1988
+
1989
+ ResourceDataSyncS3Destination.add_member(:bucket_name, Shapes::ShapeRef.new(shape: ResourceDataSyncS3BucketName, required: true, location_name: "BucketName"))
1990
+ ResourceDataSyncS3Destination.add_member(:prefix, Shapes::ShapeRef.new(shape: ResourceDataSyncS3Prefix, location_name: "Prefix"))
1991
+ ResourceDataSyncS3Destination.add_member(:sync_format, Shapes::ShapeRef.new(shape: ResourceDataSyncS3Format, required: true, location_name: "SyncFormat"))
1992
+ ResourceDataSyncS3Destination.add_member(:region, Shapes::ShapeRef.new(shape: ResourceDataSyncS3Region, required: true, location_name: "Region"))
1993
+ ResourceDataSyncS3Destination.struct_class = Types::ResourceDataSyncS3Destination
1994
+
1938
1995
  ResultAttribute.add_member(:type_name, Shapes::ShapeRef.new(shape: InventoryItemTypeName, required: true, location_name: "TypeName"))
1939
1996
  ResultAttribute.struct_class = Types::ResultAttribute
1940
1997
 
@@ -2213,6 +2270,18 @@ module Aws::SSM
2213
2270
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2214
2271
  end)
2215
2272
 
2273
+ api.add_operation(:create_resource_data_sync, Seahorse::Model::Operation.new.tap do |o|
2274
+ o.name = "CreateResourceDataSync"
2275
+ o.http_method = "POST"
2276
+ o.http_request_uri = "/"
2277
+ o.input = Shapes::ShapeRef.new(shape: CreateResourceDataSyncRequest)
2278
+ o.output = Shapes::ShapeRef.new(shape: CreateResourceDataSyncResult)
2279
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2280
+ o.errors << Shapes::ShapeRef.new(shape: ResourceDataSyncCountExceededException)
2281
+ o.errors << Shapes::ShapeRef.new(shape: ResourceDataSyncAlreadyExistsException)
2282
+ o.errors << Shapes::ShapeRef.new(shape: ResourceDataSyncInvalidConfigurationException)
2283
+ end)
2284
+
2216
2285
  api.add_operation(:delete_activation, Seahorse::Model::Operation.new.tap do |o|
2217
2286
  o.name = "DeleteActivation"
2218
2287
  o.http_method = "POST"
@@ -2287,6 +2356,16 @@ module Aws::SSM
2287
2356
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2288
2357
  end)
2289
2358
 
2359
+ api.add_operation(:delete_resource_data_sync, Seahorse::Model::Operation.new.tap do |o|
2360
+ o.name = "DeleteResourceDataSync"
2361
+ o.http_method = "POST"
2362
+ o.http_request_uri = "/"
2363
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourceDataSyncRequest)
2364
+ o.output = Shapes::ShapeRef.new(shape: DeleteResourceDataSyncResult)
2365
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2366
+ o.errors << Shapes::ShapeRef.new(shape: ResourceDataSyncNotFoundException)
2367
+ end)
2368
+
2290
2369
  api.add_operation(:deregister_managed_instance, Seahorse::Model::Operation.new.tap do |o|
2291
2370
  o.name = "DeregisterManagedInstance"
2292
2371
  o.http_method = "POST"
@@ -2867,6 +2946,16 @@ module Aws::SSM
2867
2946
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
2868
2947
  end)
2869
2948
 
2949
+ api.add_operation(:list_resource_data_sync, Seahorse::Model::Operation.new.tap do |o|
2950
+ o.name = "ListResourceDataSync"
2951
+ o.http_method = "POST"
2952
+ o.http_request_uri = "/"
2953
+ o.input = Shapes::ShapeRef.new(shape: ListResourceDataSyncRequest)
2954
+ o.output = Shapes::ShapeRef.new(shape: ListResourceDataSyncResult)
2955
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2956
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
2957
+ end)
2958
+
2870
2959
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
2871
2960
  o.name = "ListTagsForResource"
2872
2961
  o.http_method = "POST"
@@ -1491,6 +1491,39 @@ module Aws::SSM
1491
1491
  include Aws::Structure
1492
1492
  end
1493
1493
 
1494
+ # @note When making an API call, you may pass CreateResourceDataSyncRequest
1495
+ # data as a hash:
1496
+ #
1497
+ # {
1498
+ # sync_name: "ResourceDataSyncName", # required
1499
+ # s3_destination: { # required
1500
+ # bucket_name: "ResourceDataSyncS3BucketName", # required
1501
+ # prefix: "ResourceDataSyncS3Prefix",
1502
+ # sync_format: "JsonSerDe", # required, accepts JsonSerDe
1503
+ # region: "ResourceDataSyncS3Region", # required
1504
+ # },
1505
+ # }
1506
+ #
1507
+ # @!attribute [rw] sync_name
1508
+ # A name for the configuration.
1509
+ # @return [String]
1510
+ #
1511
+ # @!attribute [rw] s3_destination
1512
+ # Amazon S3 configuration details for the sync.
1513
+ # @return [Types::ResourceDataSyncS3Destination]
1514
+ #
1515
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSyncRequest AWS API Documentation
1516
+ #
1517
+ class CreateResourceDataSyncRequest < Struct.new(
1518
+ :sync_name,
1519
+ :s3_destination)
1520
+ include Aws::Structure
1521
+ end
1522
+
1523
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSyncResult AWS API Documentation
1524
+ #
1525
+ class CreateResourceDataSyncResult < Aws::EmptyStructure; end
1526
+
1494
1527
  # @note When making an API call, you may pass DeleteActivationRequest
1495
1528
  # data as a hash:
1496
1529
  #
@@ -1684,6 +1717,28 @@ module Aws::SSM
1684
1717
  include Aws::Structure
1685
1718
  end
1686
1719
 
1720
+ # @note When making an API call, you may pass DeleteResourceDataSyncRequest
1721
+ # data as a hash:
1722
+ #
1723
+ # {
1724
+ # sync_name: "ResourceDataSyncName", # required
1725
+ # }
1726
+ #
1727
+ # @!attribute [rw] sync_name
1728
+ # The name of the configuration to delete.
1729
+ # @return [String]
1730
+ #
1731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSyncRequest AWS API Documentation
1732
+ #
1733
+ class DeleteResourceDataSyncRequest < Struct.new(
1734
+ :sync_name)
1735
+ include Aws::Structure
1736
+ end
1737
+
1738
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSyncResult AWS API Documentation
1739
+ #
1740
+ class DeleteResourceDataSyncResult < Aws::EmptyStructure; end
1741
+
1687
1742
  # @note When making an API call, you may pass DeregisterManagedInstanceRequest
1688
1743
  # data as a hash:
1689
1744
  #
@@ -5517,6 +5572,51 @@ module Aws::SSM
5517
5572
  include Aws::Structure
5518
5573
  end
5519
5574
 
5575
+ # @note When making an API call, you may pass ListResourceDataSyncRequest
5576
+ # data as a hash:
5577
+ #
5578
+ # {
5579
+ # next_token: "NextToken",
5580
+ # max_results: 1,
5581
+ # }
5582
+ #
5583
+ # @!attribute [rw] next_token
5584
+ # A token to start the list. Use this token to get the next set of
5585
+ # results.
5586
+ # @return [String]
5587
+ #
5588
+ # @!attribute [rw] max_results
5589
+ # The maximum number of items to return for this call. The call also
5590
+ # returns a token that you can specify in a subsequent call to get the
5591
+ # next set of results.
5592
+ # @return [Integer]
5593
+ #
5594
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSyncRequest AWS API Documentation
5595
+ #
5596
+ class ListResourceDataSyncRequest < Struct.new(
5597
+ :next_token,
5598
+ :max_results)
5599
+ include Aws::Structure
5600
+ end
5601
+
5602
+ # @!attribute [rw] resource_data_sync_items
5603
+ # A list of your current Resource Data Sync configurations and their
5604
+ # statuses.
5605
+ # @return [Array<Types::ResourceDataSyncItem>]
5606
+ #
5607
+ # @!attribute [rw] next_token
5608
+ # The token for the next set of items to return. Use this token to get
5609
+ # the next set of results.
5610
+ # @return [String]
5611
+ #
5612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSyncResult AWS API Documentation
5613
+ #
5614
+ class ListResourceDataSyncResult < Struct.new(
5615
+ :resource_data_sync_items,
5616
+ :next_token)
5617
+ include Aws::Structure
5618
+ end
5619
+
5520
5620
  # @note When making an API call, you may pass ListTagsForResourceRequest
5521
5621
  # data as a hash:
5522
5622
  #
@@ -6933,6 +7033,88 @@ module Aws::SSM
6933
7033
  #
6934
7034
  class RemoveTagsFromResourceResult < Aws::EmptyStructure; end
6935
7035
 
7036
+ # Information about a Resource Data Sync configuration, including its
7037
+ # current status and last successful sync.
7038
+ #
7039
+ # @!attribute [rw] sync_name
7040
+ # The name of the Resource Data Sync.
7041
+ # @return [String]
7042
+ #
7043
+ # @!attribute [rw] s3_destination
7044
+ # Configuration information for the target Amazon S3 bucket.
7045
+ # @return [Types::ResourceDataSyncS3Destination]
7046
+ #
7047
+ # @!attribute [rw] last_sync_time
7048
+ # The last time the configuration attempted to sync (UTC).
7049
+ # @return [Time]
7050
+ #
7051
+ # @!attribute [rw] last_successful_sync_time
7052
+ # The last time the sync operations returned a status of `SUCCESSFUL`
7053
+ # (UTC).
7054
+ # @return [Time]
7055
+ #
7056
+ # @!attribute [rw] last_status
7057
+ # The status reported by the last sync.
7058
+ # @return [String]
7059
+ #
7060
+ # @!attribute [rw] sync_created_time
7061
+ # The date and time the configuration was created (UTC).
7062
+ # @return [Time]
7063
+ #
7064
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncItem AWS API Documentation
7065
+ #
7066
+ class ResourceDataSyncItem < Struct.new(
7067
+ :sync_name,
7068
+ :s3_destination,
7069
+ :last_sync_time,
7070
+ :last_successful_sync_time,
7071
+ :last_status,
7072
+ :sync_created_time)
7073
+ include Aws::Structure
7074
+ end
7075
+
7076
+ # Information about the target Amazon S3 bucket for the Resource Data
7077
+ # Sync.
7078
+ #
7079
+ # @note When making an API call, you may pass ResourceDataSyncS3Destination
7080
+ # data as a hash:
7081
+ #
7082
+ # {
7083
+ # bucket_name: "ResourceDataSyncS3BucketName", # required
7084
+ # prefix: "ResourceDataSyncS3Prefix",
7085
+ # sync_format: "JsonSerDe", # required, accepts JsonSerDe
7086
+ # region: "ResourceDataSyncS3Region", # required
7087
+ # }
7088
+ #
7089
+ # @!attribute [rw] bucket_name
7090
+ # The name of the Amazon S3 bucket where the aggregated data is
7091
+ # stored.
7092
+ # @return [String]
7093
+ #
7094
+ # @!attribute [rw] prefix
7095
+ # An Amazon S3 prefix for the bucket.
7096
+ # @return [String]
7097
+ #
7098
+ # @!attribute [rw] sync_format
7099
+ # A supported sync format. The following format is currently
7100
+ # supported: JsonSerDe
7101
+ # @return [String]
7102
+ #
7103
+ # @!attribute [rw] region
7104
+ # The AWS Region with the Amazon S3 bucket targeted by the Resource
7105
+ # Data Sync.
7106
+ # @return [String]
7107
+ #
7108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncS3Destination AWS API Documentation
7109
+ #
7110
+ class ResourceDataSyncS3Destination < Struct.new(
7111
+ :bucket_name,
7112
+ :prefix,
7113
+ :sync_format,
7114
+ :region)
7115
+ include Aws::Structure
7116
+ end
7117
+
6936
7118
  # The inventory item result attribute.
6937
7119
  #
6938
7120
  # @note When making an API call, you may pass ResultAttribute
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.0.0.rc8
4
+ version: 1.0.0.rc9
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: 2017-06-26 00:00:00.000000000 Z
11
+ date: 2017-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc13
19
+ version: 3.0.0.rc14
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc13
26
+ version: 3.0.0.rc14
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sigv4
29
29
  requirement: !ruby/object:Gem::Requirement