aws-sdk-dataexchange 1.40.0 → 1.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a678eecb584c37cb5466167eebae2eb6781cecd070637cbf472e2bfae96d80c2
4
- data.tar.gz: bd5065e9977ca33e0f8eea09017d0c858fb34dd650eb098c0bf92d87ab71fff6
3
+ metadata.gz: 818c29b821410698ae2bb5de87c741dddc46c5dc68faff4d301bbfaa24e66d7a
4
+ data.tar.gz: 8b309f0bc677da155d3b9b5126a9ebe154a954eab17732de7266940cf89dafe6
5
5
  SHA512:
6
- metadata.gz: 7b6bcb25f0ad9805c67423023be4fbc7b0064547fa99b99adfa2616e080ab7fb7336d21265fafcec218e7efd93c4e501f8c7387fdee753ef7df6f4e404b3a241
7
- data.tar.gz: 69c46057a9bc44105a840c6ab9a4960fa1ae115568e6abae2767813e939fc7991f096e25380272668d35e9b869f6fc4f862407b4077ab772485a011d05428d44
6
+ metadata.gz: 9a596e24bc3e372ba5d65c8533873c4b55d38fcfa85f115fb6823203907ea60399234efa1c674f9ea62a63a57d46db6545c6aa390017dd4b3cd8546fe4f04cb1
7
+ data.tar.gz: e6db20266e3d7965ecd2ca6c3f3fef87255e4b583bc4ebb9020f9873c3bd582004c989d8290bc09479c13554d18dff80aa3a3de78ec4e54f9d9b44f3aa4491a4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.42.0 (2023-11-07)
5
+ ------------------
6
+
7
+ * Feature - Updated SendDataSetNotificationRequest Comment to be maximum length 4096.
8
+
9
+ 1.41.0 (2023-10-30)
10
+ ------------------
11
+
12
+ * Feature - We added a new API action: SendDataSetNotification.
13
+
4
14
  1.40.0 (2023-09-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.0
1
+ 1.42.0
@@ -1834,6 +1834,96 @@ module Aws::DataExchange
1834
1834
  req.send_request(options)
1835
1835
  end
1836
1836
 
1837
+ # The type of event associated with the data set.
1838
+ #
1839
+ # @option params [Types::ScopeDetails] :scope
1840
+ # Affected scope of this notification such as the underlying resources
1841
+ # affected by the notification event.
1842
+ #
1843
+ # @option params [String] :client_token
1844
+ # Idempotency key for the notification, this key allows us to
1845
+ # deduplicate notifications that are sent in quick succession
1846
+ # erroneously.
1847
+ #
1848
+ # **A suitable default value is auto-generated.** You should normally
1849
+ # not need to pass this option.**
1850
+ #
1851
+ # @option params [String] :comment
1852
+ # Free-form text field for providers to add information about their
1853
+ # notifications.
1854
+ #
1855
+ # @option params [required, String] :data_set_id
1856
+ # Affected data set of the notification.
1857
+ #
1858
+ # @option params [Types::NotificationDetails] :details
1859
+ # Extra details specific to this notification type.
1860
+ #
1861
+ # @option params [required, String] :type
1862
+ # The type of the notification. Describing the kind of event the
1863
+ # notification is alerting you to.
1864
+ #
1865
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1866
+ #
1867
+ # @example Request syntax with placeholder values
1868
+ #
1869
+ # resp = client.send_data_set_notification({
1870
+ # scope: {
1871
+ # lake_formation_tag_policies: [
1872
+ # {
1873
+ # database: "__string",
1874
+ # table: "__string",
1875
+ # },
1876
+ # ],
1877
+ # redshift_data_shares: [
1878
+ # {
1879
+ # arn: "__string", # required
1880
+ # database: "__string", # required
1881
+ # function: "__string",
1882
+ # table: "__string",
1883
+ # schema: "__string",
1884
+ # view: "__string",
1885
+ # },
1886
+ # ],
1887
+ # s3_data_accesses: [
1888
+ # {
1889
+ # key_prefixes: ["__string"],
1890
+ # keys: ["__string"],
1891
+ # },
1892
+ # ],
1893
+ # },
1894
+ # client_token: "ClientToken",
1895
+ # comment: "__stringMin0Max4096",
1896
+ # data_set_id: "__string", # required
1897
+ # details: {
1898
+ # data_update: {
1899
+ # data_updated_at: Time.now,
1900
+ # },
1901
+ # deprecation: {
1902
+ # deprecation_at: Time.now, # required
1903
+ # },
1904
+ # schema_change: {
1905
+ # changes: [
1906
+ # {
1907
+ # name: "__string", # required
1908
+ # type: "ADD", # required, accepts ADD, REMOVE, MODIFY
1909
+ # description: "__string",
1910
+ # },
1911
+ # ],
1912
+ # schema_change_at: Time.now, # required
1913
+ # },
1914
+ # },
1915
+ # type: "DATA_DELAY", # required, accepts DATA_DELAY, DATA_UPDATE, DEPRECATION, SCHEMA_CHANGE
1916
+ # })
1917
+ #
1918
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/SendDataSetNotification AWS API Documentation
1919
+ #
1920
+ # @overload send_data_set_notification(params = {})
1921
+ # @param [Hash] params ({})
1922
+ def send_data_set_notification(params = {}, options = {})
1923
+ req = build_request(:send_data_set_notification, params)
1924
+ req.send_request(options)
1925
+ end
1926
+
1837
1927
  # This operation starts a job.
1838
1928
  #
1839
1929
  # @option params [required, String] :job_id
@@ -2195,7 +2285,7 @@ module Aws::DataExchange
2195
2285
  params: params,
2196
2286
  config: config)
2197
2287
  context[:gem_name] = 'aws-sdk-dataexchange'
2198
- context[:gem_version] = '1.40.0'
2288
+ context[:gem_version] = '1.42.0'
2199
2289
  Seahorse::Client::Request.new(handlers, context)
2200
2290
  end
2201
2291
 
@@ -28,6 +28,7 @@ module Aws::DataExchange
28
28
  AutoExportRevisionToS3RequestDetails = Shapes::StructureShape.new(name: 'AutoExportRevisionToS3RequestDetails')
29
29
  AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
30
30
  CancelJobRequest = Shapes::StructureShape.new(name: 'CancelJobRequest')
31
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
31
32
  Code = Shapes::StringShape.new(name: 'Code')
32
33
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
33
34
  CreateDataSetRequest = Shapes::StructureShape.new(name: 'CreateDataSetRequest')
@@ -41,6 +42,7 @@ module Aws::DataExchange
41
42
  CreateS3DataAccessFromS3BucketRequestDetails = Shapes::StructureShape.new(name: 'CreateS3DataAccessFromS3BucketRequestDetails')
42
43
  CreateS3DataAccessFromS3BucketResponseDetails = Shapes::StructureShape.new(name: 'CreateS3DataAccessFromS3BucketResponseDetails')
43
44
  DataSetEntry = Shapes::StructureShape.new(name: 'DataSetEntry')
45
+ DataUpdateRequestDetails = Shapes::StructureShape.new(name: 'DataUpdateRequestDetails')
44
46
  DatabaseLFTagPolicy = Shapes::StructureShape.new(name: 'DatabaseLFTagPolicy')
45
47
  DatabaseLFTagPolicyAndPermissions = Shapes::StructureShape.new(name: 'DatabaseLFTagPolicyAndPermissions')
46
48
  DatabaseLFTagPolicyPermission = Shapes::StringShape.new(name: 'DatabaseLFTagPolicyPermission')
@@ -48,6 +50,7 @@ module Aws::DataExchange
48
50
  DeleteDataSetRequest = Shapes::StructureShape.new(name: 'DeleteDataSetRequest')
49
51
  DeleteEventActionRequest = Shapes::StructureShape.new(name: 'DeleteEventActionRequest')
50
52
  DeleteRevisionRequest = Shapes::StructureShape.new(name: 'DeleteRevisionRequest')
53
+ DeprecationRequestDetails = Shapes::StructureShape.new(name: 'DeprecationRequestDetails')
51
54
  Description = Shapes::StringShape.new(name: 'Description')
52
55
  Details = Shapes::StructureShape.new(name: 'Details')
53
56
  Event = Shapes::StructureShape.new(name: 'Event')
@@ -97,6 +100,7 @@ module Aws::DataExchange
97
100
  LakeFormationDataPermissionAsset = Shapes::StructureShape.new(name: 'LakeFormationDataPermissionAsset')
98
101
  LakeFormationDataPermissionDetails = Shapes::StructureShape.new(name: 'LakeFormationDataPermissionDetails')
99
102
  LakeFormationDataPermissionType = Shapes::StringShape.new(name: 'LakeFormationDataPermissionType')
103
+ LakeFormationTagPolicyDetails = Shapes::StructureShape.new(name: 'LakeFormationTagPolicyDetails')
100
104
  LimitName = Shapes::StringShape.new(name: 'LimitName')
101
105
  ListDataSetRevisionsRequest = Shapes::StructureShape.new(name: 'ListDataSetRevisionsRequest')
102
106
  ListDataSetRevisionsResponse = Shapes::StructureShape.new(name: 'ListDataSetRevisionsResponse')
@@ -118,9 +122,13 @@ module Aws::DataExchange
118
122
  ListOfLFPermissions = Shapes::ListShape.new(name: 'ListOfLFPermissions')
119
123
  ListOfLFTagValues = Shapes::ListShape.new(name: 'ListOfLFTagValues')
120
124
  ListOfLFTags = Shapes::ListShape.new(name: 'ListOfLFTags')
125
+ ListOfLakeFormationTagPolicies = Shapes::ListShape.new(name: 'ListOfLakeFormationTagPolicies')
121
126
  ListOfRedshiftDataShareAssetSourceEntry = Shapes::ListShape.new(name: 'ListOfRedshiftDataShareAssetSourceEntry')
127
+ ListOfRedshiftDataShares = Shapes::ListShape.new(name: 'ListOfRedshiftDataShares')
122
128
  ListOfRevisionDestinationEntry = Shapes::ListShape.new(name: 'ListOfRevisionDestinationEntry')
123
129
  ListOfRevisionEntry = Shapes::ListShape.new(name: 'ListOfRevisionEntry')
130
+ ListOfS3DataAccesses = Shapes::ListShape.new(name: 'ListOfS3DataAccesses')
131
+ ListOfSchemaChangeDetails = Shapes::ListShape.new(name: 'ListOfSchemaChangeDetails')
124
132
  ListOfTableTagPolicyLFPermissions = Shapes::ListShape.new(name: 'ListOfTableTagPolicyLFPermissions')
125
133
  ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
126
134
  ListRevisionAssetsRequest = Shapes::StructureShape.new(name: 'ListRevisionAssetsRequest')
@@ -131,11 +139,14 @@ module Aws::DataExchange
131
139
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
132
140
  Name = Shapes::StringShape.new(name: 'Name')
133
141
  NextToken = Shapes::StringShape.new(name: 'NextToken')
142
+ NotificationDetails = Shapes::StructureShape.new(name: 'NotificationDetails')
143
+ NotificationType = Shapes::StringShape.new(name: 'NotificationType')
134
144
  Origin = Shapes::StringShape.new(name: 'Origin')
135
145
  OriginDetails = Shapes::StructureShape.new(name: 'OriginDetails')
136
146
  ProtocolType = Shapes::StringShape.new(name: 'ProtocolType')
137
147
  RedshiftDataShareAsset = Shapes::StructureShape.new(name: 'RedshiftDataShareAsset')
138
148
  RedshiftDataShareAssetSourceEntry = Shapes::StructureShape.new(name: 'RedshiftDataShareAssetSourceEntry')
149
+ RedshiftDataShareDetails = Shapes::StructureShape.new(name: 'RedshiftDataShareDetails')
139
150
  RequestDetails = Shapes::StructureShape.new(name: 'RequestDetails')
140
151
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
141
152
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
@@ -148,9 +159,16 @@ module Aws::DataExchange
148
159
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
149
160
  S3DataAccessAsset = Shapes::StructureShape.new(name: 'S3DataAccessAsset')
150
161
  S3DataAccessAssetSourceEntry = Shapes::StructureShape.new(name: 'S3DataAccessAssetSourceEntry')
162
+ S3DataAccessDetails = Shapes::StructureShape.new(name: 'S3DataAccessDetails')
151
163
  S3SnapshotAsset = Shapes::StructureShape.new(name: 'S3SnapshotAsset')
164
+ SchemaChangeDetails = Shapes::StructureShape.new(name: 'SchemaChangeDetails')
165
+ SchemaChangeRequestDetails = Shapes::StructureShape.new(name: 'SchemaChangeRequestDetails')
166
+ SchemaChangeType = Shapes::StringShape.new(name: 'SchemaChangeType')
167
+ ScopeDetails = Shapes::StructureShape.new(name: 'ScopeDetails')
152
168
  SendApiAssetRequest = Shapes::StructureShape.new(name: 'SendApiAssetRequest')
153
169
  SendApiAssetResponse = Shapes::StructureShape.new(name: 'SendApiAssetResponse')
170
+ SendDataSetNotificationRequest = Shapes::StructureShape.new(name: 'SendDataSetNotificationRequest')
171
+ SendDataSetNotificationResponse = Shapes::StructureShape.new(name: 'SendDataSetNotificationResponse')
154
172
  ServerSideEncryptionTypes = Shapes::StringShape.new(name: 'ServerSideEncryptionTypes')
155
173
  ServiceLimitExceededException = Shapes::StructureShape.new(name: 'ServiceLimitExceededException')
156
174
  StartJobRequest = Shapes::StructureShape.new(name: 'StartJobRequest')
@@ -179,6 +197,7 @@ module Aws::DataExchange
179
197
  __doubleMin0 = Shapes::FloatShape.new(name: '__doubleMin0')
180
198
  __string = Shapes::StringShape.new(name: '__string')
181
199
  __stringMin0Max16384 = Shapes::StringShape.new(name: '__stringMin0Max16384')
200
+ __stringMin0Max4096 = Shapes::StringShape.new(name: '__stringMin0Max4096')
182
201
  __stringMin10Max512 = Shapes::StringShape.new(name: '__stringMin10Max512')
183
202
  __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093 = Shapes::StringShape.new(name: '__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093')
184
203
 
@@ -329,6 +348,9 @@ module Aws::DataExchange
329
348
  DataSetEntry.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
330
349
  DataSetEntry.struct_class = Types::DataSetEntry
331
350
 
351
+ DataUpdateRequestDetails.add_member(:data_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DataUpdatedAt"))
352
+ DataUpdateRequestDetails.struct_class = Types::DataUpdateRequestDetails
353
+
332
354
  DatabaseLFTagPolicy.add_member(:expression, Shapes::ShapeRef.new(shape: ListOfLFTags, required: true, location_name: "Expression"))
333
355
  DatabaseLFTagPolicy.struct_class = Types::DatabaseLFTagPolicy
334
356
 
@@ -351,6 +373,9 @@ module Aws::DataExchange
351
373
  DeleteRevisionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
352
374
  DeleteRevisionRequest.struct_class = Types::DeleteRevisionRequest
353
375
 
376
+ DeprecationRequestDetails.add_member(:deprecation_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "DeprecationAt"))
377
+ DeprecationRequestDetails.struct_class = Types::DeprecationRequestDetails
378
+
354
379
  Details.add_member(:import_asset_from_signed_url_job_error_details, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlJobErrorDetails, location_name: "ImportAssetFromSignedUrlJobErrorDetails"))
355
380
  Details.add_member(:import_assets_from_s3_job_error_details, Shapes::ShapeRef.new(shape: ListOfAssetSourceEntry, location_name: "ImportAssetsFromS3JobErrorDetails"))
356
381
  Details.struct_class = Types::Details
@@ -604,6 +629,10 @@ module Aws::DataExchange
604
629
  LakeFormationDataPermissionDetails.add_member(:lf_tag_policy, Shapes::ShapeRef.new(shape: LFTagPolicyDetails, location_name: "LFTagPolicy"))
605
630
  LakeFormationDataPermissionDetails.struct_class = Types::LakeFormationDataPermissionDetails
606
631
 
632
+ LakeFormationTagPolicyDetails.add_member(:database, Shapes::ShapeRef.new(shape: __string, location_name: "Database"))
633
+ LakeFormationTagPolicyDetails.add_member(:table, Shapes::ShapeRef.new(shape: __string, location_name: "Table"))
634
+ LakeFormationTagPolicyDetails.struct_class = Types::LakeFormationTagPolicyDetails
635
+
607
636
  ListDataSetRevisionsRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
608
637
  ListDataSetRevisionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
609
638
  ListDataSetRevisionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
@@ -665,12 +694,20 @@ module Aws::DataExchange
665
694
 
666
695
  ListOfLFTags.member = Shapes::ShapeRef.new(shape: LFTag)
667
696
 
697
+ ListOfLakeFormationTagPolicies.member = Shapes::ShapeRef.new(shape: LakeFormationTagPolicyDetails)
698
+
668
699
  ListOfRedshiftDataShareAssetSourceEntry.member = Shapes::ShapeRef.new(shape: RedshiftDataShareAssetSourceEntry)
669
700
 
701
+ ListOfRedshiftDataShares.member = Shapes::ShapeRef.new(shape: RedshiftDataShareDetails)
702
+
670
703
  ListOfRevisionDestinationEntry.member = Shapes::ShapeRef.new(shape: RevisionDestinationEntry)
671
704
 
672
705
  ListOfRevisionEntry.member = Shapes::ShapeRef.new(shape: RevisionEntry)
673
706
 
707
+ ListOfS3DataAccesses.member = Shapes::ShapeRef.new(shape: S3DataAccessDetails)
708
+
709
+ ListOfSchemaChangeDetails.member = Shapes::ShapeRef.new(shape: SchemaChangeDetails)
710
+
674
711
  ListOfTableTagPolicyLFPermissions.member = Shapes::ShapeRef.new(shape: TableTagPolicyLFPermission)
675
712
 
676
713
  ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
@@ -694,6 +731,11 @@ module Aws::DataExchange
694
731
  MapOf__string.key = Shapes::ShapeRef.new(shape: __string)
695
732
  MapOf__string.value = Shapes::ShapeRef.new(shape: __string)
696
733
 
734
+ NotificationDetails.add_member(:data_update, Shapes::ShapeRef.new(shape: DataUpdateRequestDetails, location_name: "DataUpdate"))
735
+ NotificationDetails.add_member(:deprecation, Shapes::ShapeRef.new(shape: DeprecationRequestDetails, location_name: "Deprecation"))
736
+ NotificationDetails.add_member(:schema_change, Shapes::ShapeRef.new(shape: SchemaChangeRequestDetails, location_name: "SchemaChange"))
737
+ NotificationDetails.struct_class = Types::NotificationDetails
738
+
697
739
  OriginDetails.add_member(:product_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ProductId"))
698
740
  OriginDetails.struct_class = Types::OriginDetails
699
741
 
@@ -703,6 +745,14 @@ module Aws::DataExchange
703
745
  RedshiftDataShareAssetSourceEntry.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "DataShareArn"))
704
746
  RedshiftDataShareAssetSourceEntry.struct_class = Types::RedshiftDataShareAssetSourceEntry
705
747
 
748
+ RedshiftDataShareDetails.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
749
+ RedshiftDataShareDetails.add_member(:database, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Database"))
750
+ RedshiftDataShareDetails.add_member(:function, Shapes::ShapeRef.new(shape: __string, location_name: "Function"))
751
+ RedshiftDataShareDetails.add_member(:table, Shapes::ShapeRef.new(shape: __string, location_name: "Table"))
752
+ RedshiftDataShareDetails.add_member(:schema, Shapes::ShapeRef.new(shape: __string, location_name: "Schema"))
753
+ RedshiftDataShareDetails.add_member(:view, Shapes::ShapeRef.new(shape: __string, location_name: "View"))
754
+ RedshiftDataShareDetails.struct_class = Types::RedshiftDataShareDetails
755
+
706
756
  RequestDetails.add_member(:export_asset_to_signed_url, Shapes::ShapeRef.new(shape: ExportAssetToSignedUrlRequestDetails, location_name: "ExportAssetToSignedUrl"))
707
757
  RequestDetails.add_member(:export_assets_to_s3, Shapes::ShapeRef.new(shape: ExportAssetsToS3RequestDetails, location_name: "ExportAssetsToS3"))
708
758
  RequestDetails.add_member(:export_revisions_to_s3, Shapes::ShapeRef.new(shape: ExportRevisionsToS3RequestDetails, location_name: "ExportRevisionsToS3"))
@@ -783,9 +833,27 @@ module Aws::DataExchange
783
833
  S3DataAccessAssetSourceEntry.add_member(:kms_keys_to_grant, Shapes::ShapeRef.new(shape: ListOfKmsKeysToGrant, location_name: "KmsKeysToGrant"))
784
834
  S3DataAccessAssetSourceEntry.struct_class = Types::S3DataAccessAssetSourceEntry
785
835
 
836
+ S3DataAccessDetails.add_member(:key_prefixes, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "KeyPrefixes"))
837
+ S3DataAccessDetails.add_member(:keys, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Keys"))
838
+ S3DataAccessDetails.struct_class = Types::S3DataAccessDetails
839
+
786
840
  S3SnapshotAsset.add_member(:size, Shapes::ShapeRef.new(shape: __doubleMin0, required: true, location_name: "Size"))
787
841
  S3SnapshotAsset.struct_class = Types::S3SnapshotAsset
788
842
 
843
+ SchemaChangeDetails.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Name"))
844
+ SchemaChangeDetails.add_member(:type, Shapes::ShapeRef.new(shape: SchemaChangeType, required: true, location_name: "Type"))
845
+ SchemaChangeDetails.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
846
+ SchemaChangeDetails.struct_class = Types::SchemaChangeDetails
847
+
848
+ SchemaChangeRequestDetails.add_member(:changes, Shapes::ShapeRef.new(shape: ListOfSchemaChangeDetails, location_name: "Changes"))
849
+ SchemaChangeRequestDetails.add_member(:schema_change_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "SchemaChangeAt"))
850
+ SchemaChangeRequestDetails.struct_class = Types::SchemaChangeRequestDetails
851
+
852
+ ScopeDetails.add_member(:lake_formation_tag_policies, Shapes::ShapeRef.new(shape: ListOfLakeFormationTagPolicies, location_name: "LakeFormationTagPolicies"))
853
+ ScopeDetails.add_member(:redshift_data_shares, Shapes::ShapeRef.new(shape: ListOfRedshiftDataShares, location_name: "RedshiftDataShares"))
854
+ ScopeDetails.add_member(:s3_data_accesses, Shapes::ShapeRef.new(shape: ListOfS3DataAccesses, location_name: "S3DataAccesses"))
855
+ ScopeDetails.struct_class = Types::ScopeDetails
856
+
789
857
  SendApiAssetRequest.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
790
858
  SendApiAssetRequest.add_member(:query_string_parameters, Shapes::ShapeRef.new(shape: MapOf__string, location: "querystring", location_name: "QueryStringParameters"))
791
859
  SendApiAssetRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "header", location_name: "x-amzn-dataexchange-asset-id"))
@@ -804,6 +872,16 @@ module Aws::DataExchange
804
872
  SendApiAssetResponse[:payload] = :body
805
873
  SendApiAssetResponse[:payload_member] = SendApiAssetResponse.member(:body)
806
874
 
875
+ SendDataSetNotificationRequest.add_member(:scope, Shapes::ShapeRef.new(shape: ScopeDetails, location_name: "Scope"))
876
+ SendDataSetNotificationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
877
+ SendDataSetNotificationRequest.add_member(:comment, Shapes::ShapeRef.new(shape: __stringMin0Max4096, location_name: "Comment"))
878
+ SendDataSetNotificationRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
879
+ SendDataSetNotificationRequest.add_member(:details, Shapes::ShapeRef.new(shape: NotificationDetails, location_name: "Details"))
880
+ SendDataSetNotificationRequest.add_member(:type, Shapes::ShapeRef.new(shape: NotificationType, required: true, location_name: "Type"))
881
+ SendDataSetNotificationRequest.struct_class = Types::SendDataSetNotificationRequest
882
+
883
+ SendDataSetNotificationResponse.struct_class = Types::SendDataSetNotificationResponse
884
+
807
885
  ServiceLimitExceededException.add_member(:limit_name, Shapes::ShapeRef.new(shape: LimitName, location_name: "LimitName"))
808
886
  ServiceLimitExceededException.add_member(:limit_value, Shapes::ShapeRef.new(shape: __double, location_name: "LimitValue"))
809
887
  ServiceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
@@ -1228,6 +1306,20 @@ module Aws::DataExchange
1228
1306
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1229
1307
  end)
1230
1308
 
1309
+ api.add_operation(:send_data_set_notification, Seahorse::Model::Operation.new.tap do |o|
1310
+ o.name = "SendDataSetNotification"
1311
+ o.http_method = "POST"
1312
+ o.http_request_uri = "/v1/data-sets/{DataSetId}/notification"
1313
+ o.input = Shapes::ShapeRef.new(shape: SendDataSetNotificationRequest)
1314
+ o.output = Shapes::ShapeRef.new(shape: SendDataSetNotificationResponse)
1315
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1316
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1317
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1318
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1319
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1320
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1321
+ end)
1322
+
1231
1323
  api.add_operation(:start_job, Seahorse::Model::Operation.new.tap do |o|
1232
1324
  o.name = "StartJob"
1233
1325
  o.http_method = "PATCH"
@@ -32,7 +32,7 @@ module Aws::DataExchange
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://dataexchange-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -320,6 +320,20 @@ module Aws::DataExchange
320
320
  end
321
321
  end
322
322
 
323
+ class SendDataSetNotification
324
+ def self.build(context)
325
+ unless context.config.regional_endpoint
326
+ endpoint = context.config.endpoint.to_s
327
+ end
328
+ Aws::DataExchange::EndpointParameters.new(
329
+ region: context.config.region,
330
+ use_dual_stack: context.config.use_dualstack_endpoint,
331
+ use_fips: context.config.use_fips_endpoint,
332
+ endpoint: endpoint,
333
+ )
334
+ end
335
+ end
336
+
323
337
  class StartJob
324
338
  def self.build(context)
325
339
  unless context.config.regional_endpoint
@@ -100,6 +100,8 @@ module Aws::DataExchange
100
100
  Aws::DataExchange::Endpoints::RevokeRevision.build(context)
101
101
  when :send_api_asset
102
102
  Aws::DataExchange::Endpoints::SendApiAsset.build(context)
103
+ when :send_data_set_notification
104
+ Aws::DataExchange::Endpoints::SendDataSetNotification.build(context)
103
105
  when :start_job
104
106
  Aws::DataExchange::Endpoints::StartJob.build(context)
105
107
  when :tag_resource
@@ -771,6 +771,22 @@ module Aws::DataExchange
771
771
  include Aws::Structure
772
772
  end
773
773
 
774
+ # Extra details specific to a data update type notification.
775
+ #
776
+ # @!attribute [rw] data_updated_at
777
+ # A datetime in the past when the data was updated. This typically
778
+ # means that the underlying resource supporting the data set was
779
+ # updated.
780
+ # @return [Time]
781
+ #
782
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DataUpdateRequestDetails AWS API Documentation
783
+ #
784
+ class DataUpdateRequestDetails < Struct.new(
785
+ :data_updated_at)
786
+ SENSITIVE = []
787
+ include Aws::Structure
788
+ end
789
+
774
790
  # The LF-tag policy for database resources.
775
791
  #
776
792
  # @!attribute [rw] expression
@@ -867,6 +883,20 @@ module Aws::DataExchange
867
883
  include Aws::Structure
868
884
  end
869
885
 
886
+ # Extra details specific to a deprecation type notification.
887
+ #
888
+ # @!attribute [rw] deprecation_at
889
+ # A datetime in the future when the data set will be deprecated.
890
+ # @return [Time]
891
+ #
892
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeprecationRequestDetails AWS API Documentation
893
+ #
894
+ class DeprecationRequestDetails < Struct.new(
895
+ :deprecation_at)
896
+ SENSITIVE = []
897
+ include Aws::Structure
898
+ end
899
+
870
900
  # Information about the job error.
871
901
  #
872
902
  # @!attribute [rw] import_asset_from_signed_url_job_error_details
@@ -2167,6 +2197,25 @@ module Aws::DataExchange
2167
2197
  include Aws::Structure
2168
2198
  end
2169
2199
 
2200
+ # Extra details specific to the affected scope in this LF data set.
2201
+ #
2202
+ # @!attribute [rw] database
2203
+ # The underlying Glue database that the notification is referring to.
2204
+ # @return [String]
2205
+ #
2206
+ # @!attribute [rw] table
2207
+ # The underlying Glue table that the notification is referring to.
2208
+ # @return [String]
2209
+ #
2210
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/LakeFormationTagPolicyDetails AWS API Documentation
2211
+ #
2212
+ class LakeFormationTagPolicyDetails < Struct.new(
2213
+ :database,
2214
+ :table)
2215
+ SENSITIVE = []
2216
+ include Aws::Structure
2217
+ end
2218
+
2170
2219
  # @!attribute [rw] data_set_id
2171
2220
  # The unique identifier for a data set.
2172
2221
  # @return [String]
@@ -2409,6 +2458,30 @@ module Aws::DataExchange
2409
2458
  include Aws::Structure
2410
2459
  end
2411
2460
 
2461
+ # Extra details specific to this notification.
2462
+ #
2463
+ # @!attribute [rw] data_update
2464
+ # Extra details specific to a data update type notification.
2465
+ # @return [Types::DataUpdateRequestDetails]
2466
+ #
2467
+ # @!attribute [rw] deprecation
2468
+ # Extra details specific to a deprecation type notification.
2469
+ # @return [Types::DeprecationRequestDetails]
2470
+ #
2471
+ # @!attribute [rw] schema_change
2472
+ # Extra details specific to a schema change type notification.
2473
+ # @return [Types::SchemaChangeRequestDetails]
2474
+ #
2475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/NotificationDetails AWS API Documentation
2476
+ #
2477
+ class NotificationDetails < Struct.new(
2478
+ :data_update,
2479
+ :deprecation,
2480
+ :schema_change)
2481
+ SENSITIVE = []
2482
+ include Aws::Structure
2483
+ end
2484
+
2412
2485
  # Details about the origin of the data set.
2413
2486
  #
2414
2487
  # @!attribute [rw] product_id
@@ -2451,6 +2524,52 @@ module Aws::DataExchange
2451
2524
  include Aws::Structure
2452
2525
  end
2453
2526
 
2527
+ # Extra details specific to the affected scope in this Redshift data
2528
+ # set.
2529
+ #
2530
+ # @!attribute [rw] arn
2531
+ # The ARN of the underlying Redshift data share that is being affected
2532
+ # by this notification.
2533
+ # @return [String]
2534
+ #
2535
+ # @!attribute [rw] database
2536
+ # The database name in the Redshift data share that is being affected
2537
+ # by this notification.
2538
+ # @return [String]
2539
+ #
2540
+ # @!attribute [rw] function
2541
+ # A function name in the Redshift database that is being affected by
2542
+ # this notification.
2543
+ # @return [String]
2544
+ #
2545
+ # @!attribute [rw] table
2546
+ # A table name in the Redshift database that is being affected by this
2547
+ # notification.
2548
+ # @return [String]
2549
+ #
2550
+ # @!attribute [rw] schema
2551
+ # A schema name in the Redshift database that is being affected by
2552
+ # this notification.
2553
+ # @return [String]
2554
+ #
2555
+ # @!attribute [rw] view
2556
+ # A view name in the Redshift database that is being affected by this
2557
+ # notification.
2558
+ # @return [String]
2559
+ #
2560
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RedshiftDataShareDetails AWS API Documentation
2561
+ #
2562
+ class RedshiftDataShareDetails < Struct.new(
2563
+ :arn,
2564
+ :database,
2565
+ :function,
2566
+ :table,
2567
+ :schema,
2568
+ :view)
2569
+ SENSITIVE = []
2570
+ include Aws::Structure
2571
+ end
2572
+
2454
2573
  # The details for the request.
2455
2574
  #
2456
2575
  # @!attribute [rw] export_asset_to_signed_url
@@ -2885,6 +3004,28 @@ module Aws::DataExchange
2885
3004
  include Aws::Structure
2886
3005
  end
2887
3006
 
3007
+ # Extra details specific to the affected scope in this S3 Data Access
3008
+ # data set.
3009
+ #
3010
+ # @!attribute [rw] key_prefixes
3011
+ # A list of the key prefixes affected by this notification. This can
3012
+ # have up to 50 entries.
3013
+ # @return [Array<String>]
3014
+ #
3015
+ # @!attribute [rw] keys
3016
+ # A list of the keys affected by this notification. This can have up
3017
+ # to 50 entries.
3018
+ # @return [Array<String>]
3019
+ #
3020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/S3DataAccessDetails AWS API Documentation
3021
+ #
3022
+ class S3DataAccessDetails < Struct.new(
3023
+ :key_prefixes,
3024
+ :keys)
3025
+ SENSITIVE = []
3026
+ include Aws::Structure
3027
+ end
3028
+
2888
3029
  # The Amazon S3 object that is the asset.
2889
3030
  #
2890
3031
  # @!attribute [rw] size
@@ -2899,6 +3040,79 @@ module Aws::DataExchange
2899
3040
  include Aws::Structure
2900
3041
  end
2901
3042
 
3043
+ # Object encompassing information about a schema change to a single,
3044
+ # particular field, a notification can have up to 100 of these.
3045
+ #
3046
+ # @!attribute [rw] name
3047
+ # Name of the changing field. This value can be up to 255 characters
3048
+ # long.
3049
+ # @return [String]
3050
+ #
3051
+ # @!attribute [rw] type
3052
+ # Is the field being added, removed, or modified?
3053
+ # @return [String]
3054
+ #
3055
+ # @!attribute [rw] description
3056
+ # Description of what's changing about this field. This value can be
3057
+ # up to 512 characters long.
3058
+ # @return [String]
3059
+ #
3060
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/SchemaChangeDetails AWS API Documentation
3061
+ #
3062
+ class SchemaChangeDetails < Struct.new(
3063
+ :name,
3064
+ :type,
3065
+ :description)
3066
+ SENSITIVE = []
3067
+ include Aws::Structure
3068
+ end
3069
+
3070
+ # Extra details specific to this schema change type notification.
3071
+ #
3072
+ # @!attribute [rw] changes
3073
+ # List of schema changes happening in the scope of this notification.
3074
+ # This can have up to 100 entries.
3075
+ # @return [Array<Types::SchemaChangeDetails>]
3076
+ #
3077
+ # @!attribute [rw] schema_change_at
3078
+ # A date in the future when the schema change is taking effect.
3079
+ # @return [Time]
3080
+ #
3081
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/SchemaChangeRequestDetails AWS API Documentation
3082
+ #
3083
+ class SchemaChangeRequestDetails < Struct.new(
3084
+ :changes,
3085
+ :schema_change_at)
3086
+ SENSITIVE = []
3087
+ include Aws::Structure
3088
+ end
3089
+
3090
+ # Details about the scope of the notifications such as the affected
3091
+ # resources.
3092
+ #
3093
+ # @!attribute [rw] lake_formation_tag_policies
3094
+ # Underlying LF resources that will be affected by this notification.
3095
+ # @return [Array<Types::LakeFormationTagPolicyDetails>]
3096
+ #
3097
+ # @!attribute [rw] redshift_data_shares
3098
+ # Underlying Redshift resources that will be affected by this
3099
+ # notification.
3100
+ # @return [Array<Types::RedshiftDataShareDetails>]
3101
+ #
3102
+ # @!attribute [rw] s3_data_accesses
3103
+ # Underlying S3 resources that will be affected by this notification.
3104
+ # @return [Array<Types::S3DataAccessDetails>]
3105
+ #
3106
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ScopeDetails AWS API Documentation
3107
+ #
3108
+ class ScopeDetails < Struct.new(
3109
+ :lake_formation_tag_policies,
3110
+ :redshift_data_shares,
3111
+ :s3_data_accesses)
3112
+ SENSITIVE = []
3113
+ include Aws::Structure
3114
+ end
3115
+
2902
3116
  # @!attribute [rw] body
2903
3117
  # The request body.
2904
3118
  # @return [String]
@@ -2971,6 +3185,55 @@ module Aws::DataExchange
2971
3185
  include Aws::Structure
2972
3186
  end
2973
3187
 
3188
+ # @!attribute [rw] scope
3189
+ # Affected scope of this notification such as the underlying resources
3190
+ # affected by the notification event.
3191
+ # @return [Types::ScopeDetails]
3192
+ #
3193
+ # @!attribute [rw] client_token
3194
+ # Idempotency key for the notification, this key allows us to
3195
+ # deduplicate notifications that are sent in quick succession
3196
+ # erroneously.
3197
+ #
3198
+ # **A suitable default value is auto-generated.** You should normally
3199
+ # not need to pass this option.
3200
+ # @return [String]
3201
+ #
3202
+ # @!attribute [rw] comment
3203
+ # Free-form text field for providers to add information about their
3204
+ # notifications.
3205
+ # @return [String]
3206
+ #
3207
+ # @!attribute [rw] data_set_id
3208
+ # Affected data set of the notification.
3209
+ # @return [String]
3210
+ #
3211
+ # @!attribute [rw] details
3212
+ # Extra details specific to this notification type.
3213
+ # @return [Types::NotificationDetails]
3214
+ #
3215
+ # @!attribute [rw] type
3216
+ # The type of the notification. Describing the kind of event the
3217
+ # notification is alerting you to.
3218
+ # @return [String]
3219
+ #
3220
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/SendDataSetNotificationRequest AWS API Documentation
3221
+ #
3222
+ class SendDataSetNotificationRequest < Struct.new(
3223
+ :scope,
3224
+ :client_token,
3225
+ :comment,
3226
+ :data_set_id,
3227
+ :details,
3228
+ :type)
3229
+ SENSITIVE = []
3230
+ include Aws::Structure
3231
+ end
3232
+
3233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/SendDataSetNotificationResponse AWS API Documentation
3234
+ #
3235
+ class SendDataSetNotificationResponse < Aws::EmptyStructure; end
3236
+
2974
3237
  # The request has exceeded the quotas imposed by the service.
2975
3238
  #
2976
3239
  # @!attribute [rw] limit_name
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-dataexchange/customizations'
53
53
  # @!group service
54
54
  module Aws::DataExchange
55
55
 
56
- GEM_VERSION = '1.40.0'
56
+ GEM_VERSION = '1.42.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dataexchange
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.40.0
4
+ version: 1.42.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: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core