aws-sdk-osis 1.39.0 → 1.40.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: 3d5914475e69afc494d7f4db39f240f514fd7bdf182e31868fe1205970cf4ce3
4
- data.tar.gz: eb1eb3197539e9d3eae5c09f8e5c7613633fd698d1a71b055c3e61016d9e7906
3
+ metadata.gz: a0d3207e032d12173e58eea3e0d52d33c97c95d5cc585a4b9d2d857216e3557a
4
+ data.tar.gz: 779d3c0f9498f198191b484b3d2f738951577a09a8ebd8f46118c6dbc32b350f
5
5
  SHA512:
6
- metadata.gz: 4d77abfafd0314bccaeff0c7d280847628d8e15a5ffc9295fae9db417e0914b6ab33daef5fe6a8110c8b876d58b7c5c742211da4fe3920c961116d4e09ec6da6
7
- data.tar.gz: 342fba8108279c29dc77dcbf2201913a839731a9c3a6e9d30fe73854256d7e70b0cfd33d89b65b17f2c8bd4d4e9d5020bf18ed2c61a0370cca4dfbcaf3aa69b4
6
+ metadata.gz: 4e5aee4720df708377ed88124958f33c48ca45ac893c000666ab0475a2dbf0e7bd79760473b53201e47008c948ca8e723bb68de9d40d40ebb80463fa2560c2ca
7
+ data.tar.gz: 22df51c4ac977b6389112c890db3edaa111d2f936133c335817e442ff5023653525cb8df83bdae6fbad83b48b82871cfa90a4c24af08a712214888e3320adfbe
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.40.0 (2025-09-16)
5
+ ------------------
6
+
7
+ * Feature - Adds support for cross-account ingestion for push-based sources. This includes resource policies for sharing pipelines across accounts and features for managing pipeline endpoints which enable accessing pipelines across different VPCs, including VPCs in other accounts.
8
+
4
9
  1.39.0 (2025-08-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.39.0
1
+ 1.40.0
@@ -519,14 +519,8 @@ module Aws::OSIS
519
519
  # List of tags to add to the pipeline upon creation.
520
520
  #
521
521
  # @option params [String] :pipeline_role_arn
522
- # The Amazon Resource Name (ARN) of an IAM role that provides the
523
- # required permissions for a pipeline to read from the source and write
524
- # to the sink. For more information, see [Setting up roles and users in
525
- # Amazon OpenSearch Ingestion][1].
526
- #
527
- #
528
- #
529
- # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/pipeline-security-overview.html
522
+ # The Amazon Resource Name (ARN) of the IAM role that grants the
523
+ # pipeline permission to access Amazon Web Services resources.
530
524
  #
531
525
  # @return [Types::CreatePipelineResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
532
526
  #
@@ -617,6 +611,51 @@ module Aws::OSIS
617
611
  req.send_request(options)
618
612
  end
619
613
 
614
+ # Creates a VPC endpoint for an OpenSearch Ingestion pipeline. Pipeline
615
+ # endpoints allow you to ingest data from your VPC into pipelines that
616
+ # you have access to.
617
+ #
618
+ # @option params [required, String] :pipeline_arn
619
+ # The Amazon Resource Name (ARN) of the pipeline to create the endpoint
620
+ # for.
621
+ #
622
+ # @option params [required, Types::PipelineEndpointVpcOptions] :vpc_options
623
+ # Container for the VPC configuration for the pipeline endpoint,
624
+ # including subnet IDs and security group IDs.
625
+ #
626
+ # @return [Types::CreatePipelineEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
627
+ #
628
+ # * {Types::CreatePipelineEndpointResponse#pipeline_arn #pipeline_arn} => String
629
+ # * {Types::CreatePipelineEndpointResponse#endpoint_id #endpoint_id} => String
630
+ # * {Types::CreatePipelineEndpointResponse#status #status} => String
631
+ # * {Types::CreatePipelineEndpointResponse#vpc_id #vpc_id} => String
632
+ #
633
+ # @example Request syntax with placeholder values
634
+ #
635
+ # resp = client.create_pipeline_endpoint({
636
+ # pipeline_arn: "PipelineArn", # required
637
+ # vpc_options: { # required
638
+ # subnet_ids: ["SubnetId"],
639
+ # security_group_ids: ["SecurityGroupId"],
640
+ # },
641
+ # })
642
+ #
643
+ # @example Response structure
644
+ #
645
+ # resp.pipeline_arn #=> String
646
+ # resp.endpoint_id #=> String
647
+ # resp.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "DELETING", "REVOKING", "REVOKED"
648
+ # resp.vpc_id #=> String
649
+ #
650
+ # @see http://docs.aws.amazon.com/goto/WebAPI/osis-2022-01-01/CreatePipelineEndpoint AWS API Documentation
651
+ #
652
+ # @overload create_pipeline_endpoint(params = {})
653
+ # @param [Hash] params ({})
654
+ def create_pipeline_endpoint(params = {}, options = {})
655
+ req = build_request(:create_pipeline_endpoint, params)
656
+ req.send_request(options)
657
+ end
658
+
620
659
  # Deletes an OpenSearch Ingestion pipeline. For more information, see
621
660
  # [Deleting Amazon OpenSearch Ingestion pipelines][1].
622
661
  #
@@ -644,6 +683,51 @@ module Aws::OSIS
644
683
  req.send_request(options)
645
684
  end
646
685
 
686
+ # Deletes a VPC endpoint for an OpenSearch Ingestion pipeline.
687
+ #
688
+ # @option params [required, String] :endpoint_id
689
+ # The unique identifier of the pipeline endpoint to delete.
690
+ #
691
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
692
+ #
693
+ # @example Request syntax with placeholder values
694
+ #
695
+ # resp = client.delete_pipeline_endpoint({
696
+ # endpoint_id: "PipelineEndpointId", # required
697
+ # })
698
+ #
699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/osis-2022-01-01/DeletePipelineEndpoint AWS API Documentation
700
+ #
701
+ # @overload delete_pipeline_endpoint(params = {})
702
+ # @param [Hash] params ({})
703
+ def delete_pipeline_endpoint(params = {}, options = {})
704
+ req = build_request(:delete_pipeline_endpoint, params)
705
+ req.send_request(options)
706
+ end
707
+
708
+ # Deletes a resource-based policy from an OpenSearch Ingestion resource.
709
+ #
710
+ # @option params [required, String] :resource_arn
711
+ # The Amazon Resource Name (ARN) of the resource from which to delete
712
+ # the policy.
713
+ #
714
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
715
+ #
716
+ # @example Request syntax with placeholder values
717
+ #
718
+ # resp = client.delete_resource_policy({
719
+ # resource_arn: "PipelineArn", # required
720
+ # })
721
+ #
722
+ # @see http://docs.aws.amazon.com/goto/WebAPI/osis-2022-01-01/DeleteResourcePolicy AWS API Documentation
723
+ #
724
+ # @overload delete_resource_policy(params = {})
725
+ # @param [Hash] params ({})
726
+ def delete_resource_policy(params = {}, options = {})
727
+ req = build_request(:delete_resource_policy, params)
728
+ req.send_request(options)
729
+ end
730
+
647
731
  # Retrieves information about an OpenSearch Ingestion pipeline.
648
732
  #
649
733
  # @option params [required, String] :pipeline_name
@@ -798,6 +882,38 @@ module Aws::OSIS
798
882
  req.send_request(options)
799
883
  end
800
884
 
885
+ # Retrieves the resource-based policy attached to an OpenSearch
886
+ # Ingestion resource.
887
+ #
888
+ # @option params [required, String] :resource_arn
889
+ # The Amazon Resource Name (ARN) of the resource for which to retrieve
890
+ # the policy.
891
+ #
892
+ # @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
893
+ #
894
+ # * {Types::GetResourcePolicyResponse#resource_arn #resource_arn} => String
895
+ # * {Types::GetResourcePolicyResponse#policy #policy} => String
896
+ #
897
+ # @example Request syntax with placeholder values
898
+ #
899
+ # resp = client.get_resource_policy({
900
+ # resource_arn: "PipelineArn", # required
901
+ # })
902
+ #
903
+ # @example Response structure
904
+ #
905
+ # resp.resource_arn #=> String
906
+ # resp.policy #=> String
907
+ #
908
+ # @see http://docs.aws.amazon.com/goto/WebAPI/osis-2022-01-01/GetResourcePolicy AWS API Documentation
909
+ #
910
+ # @overload get_resource_policy(params = {})
911
+ # @param [Hash] params ({})
912
+ def get_resource_policy(params = {}, options = {})
913
+ req = build_request(:get_resource_policy, params)
914
+ req.send_request(options)
915
+ end
916
+
801
917
  # Retrieves a list of all available blueprints for Data Prepper. For
802
918
  # more information, see [Using blueprints to create a pipeline][1].
803
919
  #
@@ -827,6 +943,98 @@ module Aws::OSIS
827
943
  req.send_request(options)
828
944
  end
829
945
 
946
+ # Lists the pipeline endpoints connected to pipelines in your account.
947
+ #
948
+ # @option params [Integer] :max_results
949
+ # The maximum number of pipeline endpoint connections to return in the
950
+ # response.
951
+ #
952
+ # @option params [String] :next_token
953
+ # If your initial `ListPipelineEndpointConnections` operation returns a
954
+ # `nextToken`, you can include the returned `nextToken` in subsequent
955
+ # `ListPipelineEndpointConnections` operations, which returns results in
956
+ # the next page.
957
+ #
958
+ # @return [Types::ListPipelineEndpointConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
959
+ #
960
+ # * {Types::ListPipelineEndpointConnectionsResponse#next_token #next_token} => String
961
+ # * {Types::ListPipelineEndpointConnectionsResponse#pipeline_endpoint_connections #pipeline_endpoint_connections} => Array<Types::PipelineEndpointConnection>
962
+ #
963
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
964
+ #
965
+ # @example Request syntax with placeholder values
966
+ #
967
+ # resp = client.list_pipeline_endpoint_connections({
968
+ # max_results: 1,
969
+ # next_token: "NextToken",
970
+ # })
971
+ #
972
+ # @example Response structure
973
+ #
974
+ # resp.next_token #=> String
975
+ # resp.pipeline_endpoint_connections #=> Array
976
+ # resp.pipeline_endpoint_connections[0].pipeline_arn #=> String
977
+ # resp.pipeline_endpoint_connections[0].endpoint_id #=> String
978
+ # resp.pipeline_endpoint_connections[0].status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "DELETING", "REVOKING", "REVOKED"
979
+ # resp.pipeline_endpoint_connections[0].vpc_endpoint_owner #=> String
980
+ #
981
+ # @see http://docs.aws.amazon.com/goto/WebAPI/osis-2022-01-01/ListPipelineEndpointConnections AWS API Documentation
982
+ #
983
+ # @overload list_pipeline_endpoint_connections(params = {})
984
+ # @param [Hash] params ({})
985
+ def list_pipeline_endpoint_connections(params = {}, options = {})
986
+ req = build_request(:list_pipeline_endpoint_connections, params)
987
+ req.send_request(options)
988
+ end
989
+
990
+ # Lists all pipeline endpoints in your account.
991
+ #
992
+ # @option params [Integer] :max_results
993
+ # The maximum number of pipeline endpoints to return in the response.
994
+ #
995
+ # @option params [String] :next_token
996
+ # If your initial `ListPipelineEndpoints` operation returns a
997
+ # `NextToken`, you can include the returned `NextToken` in subsequent
998
+ # `ListPipelineEndpoints` operations, which returns results in the next
999
+ # page.
1000
+ #
1001
+ # @return [Types::ListPipelineEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1002
+ #
1003
+ # * {Types::ListPipelineEndpointsResponse#next_token #next_token} => String
1004
+ # * {Types::ListPipelineEndpointsResponse#pipeline_endpoints #pipeline_endpoints} => Array<Types::PipelineEndpoint>
1005
+ #
1006
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1007
+ #
1008
+ # @example Request syntax with placeholder values
1009
+ #
1010
+ # resp = client.list_pipeline_endpoints({
1011
+ # max_results: 1,
1012
+ # next_token: "NextToken",
1013
+ # })
1014
+ #
1015
+ # @example Response structure
1016
+ #
1017
+ # resp.next_token #=> String
1018
+ # resp.pipeline_endpoints #=> Array
1019
+ # resp.pipeline_endpoints[0].pipeline_arn #=> String
1020
+ # resp.pipeline_endpoints[0].endpoint_id #=> String
1021
+ # resp.pipeline_endpoints[0].status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "DELETING", "REVOKING", "REVOKED"
1022
+ # resp.pipeline_endpoints[0].vpc_id #=> String
1023
+ # resp.pipeline_endpoints[0].vpc_options.subnet_ids #=> Array
1024
+ # resp.pipeline_endpoints[0].vpc_options.subnet_ids[0] #=> String
1025
+ # resp.pipeline_endpoints[0].vpc_options.security_group_ids #=> Array
1026
+ # resp.pipeline_endpoints[0].vpc_options.security_group_ids[0] #=> String
1027
+ # resp.pipeline_endpoints[0].ingest_endpoint_url #=> String
1028
+ #
1029
+ # @see http://docs.aws.amazon.com/goto/WebAPI/osis-2022-01-01/ListPipelineEndpoints AWS API Documentation
1030
+ #
1031
+ # @overload list_pipeline_endpoints(params = {})
1032
+ # @param [Hash] params ({})
1033
+ def list_pipeline_endpoints(params = {}, options = {})
1034
+ req = build_request(:list_pipeline_endpoints, params)
1035
+ req.send_request(options)
1036
+ end
1037
+
830
1038
  # Lists all OpenSearch Ingestion pipelines in the current Amazon Web
831
1039
  # Services account and Region. For more information, see [Viewing Amazon
832
1040
  # OpenSearch Ingestion pipelines][1].
@@ -922,6 +1130,76 @@ module Aws::OSIS
922
1130
  req.send_request(options)
923
1131
  end
924
1132
 
1133
+ # Attaches a resource-based policy to an OpenSearch Ingestion resource.
1134
+ # Resource-based policies grant permissions to principals to perform
1135
+ # actions on the resource.
1136
+ #
1137
+ # @option params [required, String] :resource_arn
1138
+ # The Amazon Resource Name (ARN) of the resource to attach the policy
1139
+ # to.
1140
+ #
1141
+ # @option params [required, String] :policy
1142
+ # The resource-based policy document in JSON format.
1143
+ #
1144
+ # @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1145
+ #
1146
+ # * {Types::PutResourcePolicyResponse#resource_arn #resource_arn} => String
1147
+ # * {Types::PutResourcePolicyResponse#policy #policy} => String
1148
+ #
1149
+ # @example Request syntax with placeholder values
1150
+ #
1151
+ # resp = client.put_resource_policy({
1152
+ # resource_arn: "PipelineArn", # required
1153
+ # policy: "ResourcePolicy", # required
1154
+ # })
1155
+ #
1156
+ # @example Response structure
1157
+ #
1158
+ # resp.resource_arn #=> String
1159
+ # resp.policy #=> String
1160
+ #
1161
+ # @see http://docs.aws.amazon.com/goto/WebAPI/osis-2022-01-01/PutResourcePolicy AWS API Documentation
1162
+ #
1163
+ # @overload put_resource_policy(params = {})
1164
+ # @param [Hash] params ({})
1165
+ def put_resource_policy(params = {}, options = {})
1166
+ req = build_request(:put_resource_policy, params)
1167
+ req.send_request(options)
1168
+ end
1169
+
1170
+ # Revokes pipeline endpoints from specified endpoint IDs.
1171
+ #
1172
+ # @option params [required, String] :pipeline_arn
1173
+ # The Amazon Resource Name (ARN) of the pipeline from which to revoke
1174
+ # endpoint connections.
1175
+ #
1176
+ # @option params [required, Array<String>] :endpoint_ids
1177
+ # A list of endpoint IDs for which to revoke access to the pipeline.
1178
+ #
1179
+ # @return [Types::RevokePipelineEndpointConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1180
+ #
1181
+ # * {Types::RevokePipelineEndpointConnectionsResponse#pipeline_arn #pipeline_arn} => String
1182
+ #
1183
+ # @example Request syntax with placeholder values
1184
+ #
1185
+ # resp = client.revoke_pipeline_endpoint_connections({
1186
+ # pipeline_arn: "PipelineArn", # required
1187
+ # endpoint_ids: ["PipelineEndpointId"], # required
1188
+ # })
1189
+ #
1190
+ # @example Response structure
1191
+ #
1192
+ # resp.pipeline_arn #=> String
1193
+ #
1194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/osis-2022-01-01/RevokePipelineEndpointConnections AWS API Documentation
1195
+ #
1196
+ # @overload revoke_pipeline_endpoint_connections(params = {})
1197
+ # @param [Hash] params ({})
1198
+ def revoke_pipeline_endpoint_connections(params = {}, options = {})
1199
+ req = build_request(:revoke_pipeline_endpoint_connections, params)
1200
+ req.send_request(options)
1201
+ end
1202
+
925
1203
  # Starts an OpenSearch Ingestion pipeline. For more information, see
926
1204
  # [Starting an OpenSearch Ingestion pipeline][1].
927
1205
  #
@@ -1159,14 +1437,8 @@ module Aws::OSIS
1159
1437
  # persistent buffer.
1160
1438
  #
1161
1439
  # @option params [String] :pipeline_role_arn
1162
- # The Amazon Resource Name (ARN) of an IAM role that provides the
1163
- # required permissions for a pipeline to read from the source and write
1164
- # to the sink. For more information, see [Setting up roles and users in
1165
- # Amazon OpenSearch Ingestion][1].
1166
- #
1167
- #
1168
- #
1169
- # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/pipeline-security-overview.html
1440
+ # The Amazon Resource Name (ARN) of the IAM role that grants the
1441
+ # pipeline permission to access Amazon Web Services resources.
1170
1442
  #
1171
1443
  # @return [Types::UpdatePipelineResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1172
1444
  #
@@ -1300,7 +1572,7 @@ module Aws::OSIS
1300
1572
  tracer: tracer
1301
1573
  )
1302
1574
  context[:gem_name] = 'aws-sdk-osis'
1303
- context[:gem_version] = '1.39.0'
1575
+ context[:gem_version] = '1.40.0'
1304
1576
  Seahorse::Client::Request.new(handlers, context)
1305
1577
  end
1306
1578