aws-sdk-dataexchange 1.39.0 → 1.41.0

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
  SHA256:
3
- metadata.gz: 10dd4f50da2aceea080434c29ccda7f9e4ec30b6eab62a3ceaf6f369b0768d99
4
- data.tar.gz: d8e16991e092b6da5e82b2a713b60d814aa507d3e662564ce9ab98012f62ccf9
3
+ metadata.gz: e3a16283afc65648e88fa958bf897b2889f9031c7aeff31e8f5ec2df826c54ee
4
+ data.tar.gz: b90eb2b387efb1b73b14eb1077c24a3307d8b9670c23ce3c109bffe12b7c8d5e
5
5
  SHA512:
6
- metadata.gz: 62088738c648c31e2aa3a0e66e9a338d9eea41a949b3acbb5db362437d4111f6b38d8d670522572f821c71ffbc9b170a24b70436144efa6057e9ad2429337de9
7
- data.tar.gz: 4d20a2a8109523d95f5e2d1e8ae87b6129893bb58ea85b0976d6dd290141f7fffb449638ff51217b9494f7a1152045ed5aca9080b9a723e0a99ac87b07c90aaa
6
+ metadata.gz: 7edd26b2735bfd042c6d78674a0db4899350372a7d018204597fba8e1c2b6b243ac5ff84146a13ed12888a0fc78cc8b7b6b3fdc1bf62f0f3ea567eda9f14fbcc
7
+ data.tar.gz: 12ae2ce379a8646178b480ddea796781f0570d7db25c9cc904d92f8524b5ed53638d4d8a6edfe3dc8c9f8272a5b3f46f76893758205085c14012ecf82e0e1ee9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2023-10-30)
5
+ ------------------
6
+
7
+ * Feature - We added a new API action: SendDataSetNotification.
8
+
9
+ 1.40.0 (2023-09-27)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.39.0 (2023-09-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.39.0
1
+ 1.41.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: "__stringMin0Max16384",
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.39.0'
2288
+ context[:gem_version] = '1.41.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')
@@ -329,6 +347,9 @@ module Aws::DataExchange
329
347
  DataSetEntry.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
330
348
  DataSetEntry.struct_class = Types::DataSetEntry
331
349
 
350
+ DataUpdateRequestDetails.add_member(:data_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DataUpdatedAt"))
351
+ DataUpdateRequestDetails.struct_class = Types::DataUpdateRequestDetails
352
+
332
353
  DatabaseLFTagPolicy.add_member(:expression, Shapes::ShapeRef.new(shape: ListOfLFTags, required: true, location_name: "Expression"))
333
354
  DatabaseLFTagPolicy.struct_class = Types::DatabaseLFTagPolicy
334
355
 
@@ -351,6 +372,9 @@ module Aws::DataExchange
351
372
  DeleteRevisionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
352
373
  DeleteRevisionRequest.struct_class = Types::DeleteRevisionRequest
353
374
 
375
+ DeprecationRequestDetails.add_member(:deprecation_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "DeprecationAt"))
376
+ DeprecationRequestDetails.struct_class = Types::DeprecationRequestDetails
377
+
354
378
  Details.add_member(:import_asset_from_signed_url_job_error_details, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlJobErrorDetails, location_name: "ImportAssetFromSignedUrlJobErrorDetails"))
355
379
  Details.add_member(:import_assets_from_s3_job_error_details, Shapes::ShapeRef.new(shape: ListOfAssetSourceEntry, location_name: "ImportAssetsFromS3JobErrorDetails"))
356
380
  Details.struct_class = Types::Details
@@ -604,6 +628,10 @@ module Aws::DataExchange
604
628
  LakeFormationDataPermissionDetails.add_member(:lf_tag_policy, Shapes::ShapeRef.new(shape: LFTagPolicyDetails, location_name: "LFTagPolicy"))
605
629
  LakeFormationDataPermissionDetails.struct_class = Types::LakeFormationDataPermissionDetails
606
630
 
631
+ LakeFormationTagPolicyDetails.add_member(:database, Shapes::ShapeRef.new(shape: __string, location_name: "Database"))
632
+ LakeFormationTagPolicyDetails.add_member(:table, Shapes::ShapeRef.new(shape: __string, location_name: "Table"))
633
+ LakeFormationTagPolicyDetails.struct_class = Types::LakeFormationTagPolicyDetails
634
+
607
635
  ListDataSetRevisionsRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
608
636
  ListDataSetRevisionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
609
637
  ListDataSetRevisionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
@@ -665,12 +693,20 @@ module Aws::DataExchange
665
693
 
666
694
  ListOfLFTags.member = Shapes::ShapeRef.new(shape: LFTag)
667
695
 
696
+ ListOfLakeFormationTagPolicies.member = Shapes::ShapeRef.new(shape: LakeFormationTagPolicyDetails)
697
+
668
698
  ListOfRedshiftDataShareAssetSourceEntry.member = Shapes::ShapeRef.new(shape: RedshiftDataShareAssetSourceEntry)
669
699
 
700
+ ListOfRedshiftDataShares.member = Shapes::ShapeRef.new(shape: RedshiftDataShareDetails)
701
+
670
702
  ListOfRevisionDestinationEntry.member = Shapes::ShapeRef.new(shape: RevisionDestinationEntry)
671
703
 
672
704
  ListOfRevisionEntry.member = Shapes::ShapeRef.new(shape: RevisionEntry)
673
705
 
706
+ ListOfS3DataAccesses.member = Shapes::ShapeRef.new(shape: S3DataAccessDetails)
707
+
708
+ ListOfSchemaChangeDetails.member = Shapes::ShapeRef.new(shape: SchemaChangeDetails)
709
+
674
710
  ListOfTableTagPolicyLFPermissions.member = Shapes::ShapeRef.new(shape: TableTagPolicyLFPermission)
675
711
 
676
712
  ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
@@ -694,6 +730,11 @@ module Aws::DataExchange
694
730
  MapOf__string.key = Shapes::ShapeRef.new(shape: __string)
695
731
  MapOf__string.value = Shapes::ShapeRef.new(shape: __string)
696
732
 
733
+ NotificationDetails.add_member(:data_update, Shapes::ShapeRef.new(shape: DataUpdateRequestDetails, location_name: "DataUpdate"))
734
+ NotificationDetails.add_member(:deprecation, Shapes::ShapeRef.new(shape: DeprecationRequestDetails, location_name: "Deprecation"))
735
+ NotificationDetails.add_member(:schema_change, Shapes::ShapeRef.new(shape: SchemaChangeRequestDetails, location_name: "SchemaChange"))
736
+ NotificationDetails.struct_class = Types::NotificationDetails
737
+
697
738
  OriginDetails.add_member(:product_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ProductId"))
698
739
  OriginDetails.struct_class = Types::OriginDetails
699
740
 
@@ -703,6 +744,14 @@ module Aws::DataExchange
703
744
  RedshiftDataShareAssetSourceEntry.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "DataShareArn"))
704
745
  RedshiftDataShareAssetSourceEntry.struct_class = Types::RedshiftDataShareAssetSourceEntry
705
746
 
747
+ RedshiftDataShareDetails.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
748
+ RedshiftDataShareDetails.add_member(:database, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Database"))
749
+ RedshiftDataShareDetails.add_member(:function, Shapes::ShapeRef.new(shape: __string, location_name: "Function"))
750
+ RedshiftDataShareDetails.add_member(:table, Shapes::ShapeRef.new(shape: __string, location_name: "Table"))
751
+ RedshiftDataShareDetails.add_member(:schema, Shapes::ShapeRef.new(shape: __string, location_name: "Schema"))
752
+ RedshiftDataShareDetails.add_member(:view, Shapes::ShapeRef.new(shape: __string, location_name: "View"))
753
+ RedshiftDataShareDetails.struct_class = Types::RedshiftDataShareDetails
754
+
706
755
  RequestDetails.add_member(:export_asset_to_signed_url, Shapes::ShapeRef.new(shape: ExportAssetToSignedUrlRequestDetails, location_name: "ExportAssetToSignedUrl"))
707
756
  RequestDetails.add_member(:export_assets_to_s3, Shapes::ShapeRef.new(shape: ExportAssetsToS3RequestDetails, location_name: "ExportAssetsToS3"))
708
757
  RequestDetails.add_member(:export_revisions_to_s3, Shapes::ShapeRef.new(shape: ExportRevisionsToS3RequestDetails, location_name: "ExportRevisionsToS3"))
@@ -783,9 +832,27 @@ module Aws::DataExchange
783
832
  S3DataAccessAssetSourceEntry.add_member(:kms_keys_to_grant, Shapes::ShapeRef.new(shape: ListOfKmsKeysToGrant, location_name: "KmsKeysToGrant"))
784
833
  S3DataAccessAssetSourceEntry.struct_class = Types::S3DataAccessAssetSourceEntry
785
834
 
835
+ S3DataAccessDetails.add_member(:key_prefixes, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "KeyPrefixes"))
836
+ S3DataAccessDetails.add_member(:keys, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Keys"))
837
+ S3DataAccessDetails.struct_class = Types::S3DataAccessDetails
838
+
786
839
  S3SnapshotAsset.add_member(:size, Shapes::ShapeRef.new(shape: __doubleMin0, required: true, location_name: "Size"))
787
840
  S3SnapshotAsset.struct_class = Types::S3SnapshotAsset
788
841
 
842
+ SchemaChangeDetails.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Name"))
843
+ SchemaChangeDetails.add_member(:type, Shapes::ShapeRef.new(shape: SchemaChangeType, required: true, location_name: "Type"))
844
+ SchemaChangeDetails.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
845
+ SchemaChangeDetails.struct_class = Types::SchemaChangeDetails
846
+
847
+ SchemaChangeRequestDetails.add_member(:changes, Shapes::ShapeRef.new(shape: ListOfSchemaChangeDetails, location_name: "Changes"))
848
+ SchemaChangeRequestDetails.add_member(:schema_change_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "SchemaChangeAt"))
849
+ SchemaChangeRequestDetails.struct_class = Types::SchemaChangeRequestDetails
850
+
851
+ ScopeDetails.add_member(:lake_formation_tag_policies, Shapes::ShapeRef.new(shape: ListOfLakeFormationTagPolicies, location_name: "LakeFormationTagPolicies"))
852
+ ScopeDetails.add_member(:redshift_data_shares, Shapes::ShapeRef.new(shape: ListOfRedshiftDataShares, location_name: "RedshiftDataShares"))
853
+ ScopeDetails.add_member(:s3_data_accesses, Shapes::ShapeRef.new(shape: ListOfS3DataAccesses, location_name: "S3DataAccesses"))
854
+ ScopeDetails.struct_class = Types::ScopeDetails
855
+
789
856
  SendApiAssetRequest.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
790
857
  SendApiAssetRequest.add_member(:query_string_parameters, Shapes::ShapeRef.new(shape: MapOf__string, location: "querystring", location_name: "QueryStringParameters"))
791
858
  SendApiAssetRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "header", location_name: "x-amzn-dataexchange-asset-id"))
@@ -804,6 +871,16 @@ module Aws::DataExchange
804
871
  SendApiAssetResponse[:payload] = :body
805
872
  SendApiAssetResponse[:payload_member] = SendApiAssetResponse.member(:body)
806
873
 
874
+ SendDataSetNotificationRequest.add_member(:scope, Shapes::ShapeRef.new(shape: ScopeDetails, location_name: "Scope"))
875
+ SendDataSetNotificationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
876
+ SendDataSetNotificationRequest.add_member(:comment, Shapes::ShapeRef.new(shape: __stringMin0Max16384, location_name: "Comment"))
877
+ SendDataSetNotificationRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
878
+ SendDataSetNotificationRequest.add_member(:details, Shapes::ShapeRef.new(shape: NotificationDetails, location_name: "Details"))
879
+ SendDataSetNotificationRequest.add_member(:type, Shapes::ShapeRef.new(shape: NotificationType, required: true, location_name: "Type"))
880
+ SendDataSetNotificationRequest.struct_class = Types::SendDataSetNotificationRequest
881
+
882
+ SendDataSetNotificationResponse.struct_class = Types::SendDataSetNotificationResponse
883
+
807
884
  ServiceLimitExceededException.add_member(:limit_name, Shapes::ShapeRef.new(shape: LimitName, location_name: "LimitName"))
808
885
  ServiceLimitExceededException.add_member(:limit_value, Shapes::ShapeRef.new(shape: __double, location_name: "LimitValue"))
809
886
  ServiceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
@@ -1228,6 +1305,20 @@ module Aws::DataExchange
1228
1305
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1229
1306
  end)
1230
1307
 
1308
+ api.add_operation(:send_data_set_notification, Seahorse::Model::Operation.new.tap do |o|
1309
+ o.name = "SendDataSetNotification"
1310
+ o.http_method = "POST"
1311
+ o.http_request_uri = "/v1/data-sets/{DataSetId}/notification"
1312
+ o.input = Shapes::ShapeRef.new(shape: SendDataSetNotificationRequest)
1313
+ o.output = Shapes::ShapeRef.new(shape: SendDataSetNotificationResponse)
1314
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1315
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1316
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1317
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1318
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1319
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1320
+ end)
1321
+
1231
1322
  api.add_operation(:start_job, Seahorse::Model::Operation.new.tap do |o|
1232
1323
  o.name = "StartJob"
1233
1324
  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.39.0'
56
+ GEM_VERSION = '1.41.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.39.0
4
+ version: 1.41.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-19 00:00:00.000000000 Z
11
+ date: 2023-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.177.0
22
+ version: 3.184.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.177.0
32
+ version: 3.184.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement