aws-sdk-proton 1.28.0 → 1.30.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: 0b3ad1c959e9449c57b9d320d03b8746280fdf5ebf1e31971c98b0763c7396a3
4
- data.tar.gz: '09d6c1769de3b0918a9418b9b1c3ab8f3aa7bd4b8ff61a0cf1890daea444edbc'
3
+ metadata.gz: bd36905dea7bbe9d4eab0df7823070a483e1ce099854a9bb1647113c3943ffcf
4
+ data.tar.gz: 86155c243e4406646f59a2ecdd881719889b02c542c8b07d0df114685cf54b08
5
5
  SHA512:
6
- metadata.gz: 68e898b6dcc4f3d0fef50aeabae5ffdbb18ced3cf127f650686a90628d7bbdb5a5642f79549d1e0f43ecf9cb660412596c404cfdcc3f5373ef6598a4fd39d262
7
- data.tar.gz: bf6f6a8040ef57fb2a4d1eacb484a7901f23df6ae7446d84432489b9ffd07c91bee9c11ae1a3d65a6568129a71a539af9fcede870e51968ea7000287640b46c9
6
+ metadata.gz: a86c0faeec26a5bc682551c548a205efb63c407a7bba01e73a5415b97ea13d4f57967ad05789843f90d3e4bad2319f6d82c9f7442013b3e8ea44a8cbf571ce5b
7
+ data.tar.gz: 8e61b20c114a98eb9565ba7e3933af9f795004bae278a95380b732232774a94879bf31e818f7c01f70a1c4a2e36774f89a3061205ea38a62179082e5de9ac9de
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.30.0 (2023-07-13)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for deployment history for Proton provisioned resources
8
+
9
+ 1.29.0 (2023-07-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.28.0 (2023-07-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.28.0
1
+ 1.30.0
@@ -216,6 +216,10 @@ module Aws::Proton
216
216
  # @option options [Boolean] :endpoint_discovery (false)
217
217
  # When set to `true`, endpoint discovery will be enabled for operations when available.
218
218
  #
219
+ # @option options [Boolean] :ignore_configured_endpoint_urls
220
+ # Setting to true disables use of endpoint URLs provided via environment
221
+ # variables and the shared configuration file.
222
+ #
219
223
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
220
224
  # The log formatter.
221
225
  #
@@ -473,10 +477,12 @@ module Aws::Proton
473
477
  # resp.component.deployment_status_message #=> String
474
478
  # resp.component.description #=> String
475
479
  # resp.component.environment_name #=> String
480
+ # resp.component.last_attempted_deployment_id #=> String
476
481
  # resp.component.last_client_request_token #=> String
477
482
  # resp.component.last_deployment_attempted_at #=> Time
478
483
  # resp.component.last_deployment_succeeded_at #=> Time
479
484
  # resp.component.last_modified_at #=> Time
485
+ # resp.component.last_succeeded_deployment_id #=> String
480
486
  # resp.component.name #=> String
481
487
  # resp.component.service_instance_name #=> String
482
488
  # resp.component.service_name #=> String
@@ -535,8 +541,10 @@ module Aws::Proton
535
541
  # resp.environment.description #=> String
536
542
  # resp.environment.environment_account_connection_id #=> String
537
543
  # resp.environment.environment_account_id #=> String
544
+ # resp.environment.last_attempted_deployment_id #=> String
538
545
  # resp.environment.last_deployment_attempted_at #=> Time
539
546
  # resp.environment.last_deployment_succeeded_at #=> Time
547
+ # resp.environment.last_succeeded_deployment_id #=> String
540
548
  # resp.environment.name #=> String
541
549
  # resp.environment.proton_service_role_arn #=> String
542
550
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
@@ -604,9 +612,11 @@ module Aws::Proton
604
612
  # resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
605
613
  # resp.service_instance.deployment_status_message #=> String
606
614
  # resp.service_instance.environment_name #=> String
615
+ # resp.service_instance.last_attempted_deployment_id #=> String
607
616
  # resp.service_instance.last_client_request_token #=> String
608
617
  # resp.service_instance.last_deployment_attempted_at #=> Time
609
618
  # resp.service_instance.last_deployment_succeeded_at #=> Time
619
+ # resp.service_instance.last_succeeded_deployment_id #=> String
610
620
  # resp.service_instance.name #=> String
611
621
  # resp.service_instance.service_name #=> String
612
622
  # resp.service_instance.spec #=> String
@@ -664,8 +674,10 @@ module Aws::Proton
664
674
  # resp.pipeline.created_at #=> Time
665
675
  # resp.pipeline.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
666
676
  # resp.pipeline.deployment_status_message #=> String
677
+ # resp.pipeline.last_attempted_deployment_id #=> String
667
678
  # resp.pipeline.last_deployment_attempted_at #=> Time
668
679
  # resp.pipeline.last_deployment_succeeded_at #=> Time
680
+ # resp.pipeline.last_succeeded_deployment_id #=> String
669
681
  # resp.pipeline.spec #=> String
670
682
  # resp.pipeline.template_major_version #=> String
671
683
  # resp.pipeline.template_minor_version #=> String
@@ -781,10 +793,12 @@ module Aws::Proton
781
793
  # resp.component.deployment_status_message #=> String
782
794
  # resp.component.description #=> String
783
795
  # resp.component.environment_name #=> String
796
+ # resp.component.last_attempted_deployment_id #=> String
784
797
  # resp.component.last_client_request_token #=> String
785
798
  # resp.component.last_deployment_attempted_at #=> Time
786
799
  # resp.component.last_deployment_succeeded_at #=> Time
787
800
  # resp.component.last_modified_at #=> Time
801
+ # resp.component.last_succeeded_deployment_id #=> String
788
802
  # resp.component.name #=> String
789
803
  # resp.component.service_instance_name #=> String
790
804
  # resp.component.service_name #=> String
@@ -960,8 +974,10 @@ module Aws::Proton
960
974
  # resp.environment.description #=> String
961
975
  # resp.environment.environment_account_connection_id #=> String
962
976
  # resp.environment.environment_account_id #=> String
977
+ # resp.environment.last_attempted_deployment_id #=> String
963
978
  # resp.environment.last_deployment_attempted_at #=> Time
964
979
  # resp.environment.last_deployment_succeeded_at #=> Time
980
+ # resp.environment.last_succeeded_deployment_id #=> String
965
981
  # resp.environment.name #=> String
966
982
  # resp.environment.proton_service_role_arn #=> String
967
983
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
@@ -1467,8 +1483,10 @@ module Aws::Proton
1467
1483
  # resp.service.pipeline.created_at #=> Time
1468
1484
  # resp.service.pipeline.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
1469
1485
  # resp.service.pipeline.deployment_status_message #=> String
1486
+ # resp.service.pipeline.last_attempted_deployment_id #=> String
1470
1487
  # resp.service.pipeline.last_deployment_attempted_at #=> Time
1471
1488
  # resp.service.pipeline.last_deployment_succeeded_at #=> Time
1489
+ # resp.service.pipeline.last_succeeded_deployment_id #=> String
1472
1490
  # resp.service.pipeline.spec #=> String
1473
1491
  # resp.service.pipeline.template_major_version #=> String
1474
1492
  # resp.service.pipeline.template_minor_version #=> String
@@ -1553,9 +1571,11 @@ module Aws::Proton
1553
1571
  # resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
1554
1572
  # resp.service_instance.deployment_status_message #=> String
1555
1573
  # resp.service_instance.environment_name #=> String
1574
+ # resp.service_instance.last_attempted_deployment_id #=> String
1556
1575
  # resp.service_instance.last_client_request_token #=> String
1557
1576
  # resp.service_instance.last_deployment_attempted_at #=> Time
1558
1577
  # resp.service_instance.last_deployment_succeeded_at #=> Time
1578
+ # resp.service_instance.last_succeeded_deployment_id #=> String
1559
1579
  # resp.service_instance.name #=> String
1560
1580
  # resp.service_instance.service_name #=> String
1561
1581
  # resp.service_instance.spec #=> String
@@ -1926,10 +1946,12 @@ module Aws::Proton
1926
1946
  # resp.component.deployment_status_message #=> String
1927
1947
  # resp.component.description #=> String
1928
1948
  # resp.component.environment_name #=> String
1949
+ # resp.component.last_attempted_deployment_id #=> String
1929
1950
  # resp.component.last_client_request_token #=> String
1930
1951
  # resp.component.last_deployment_attempted_at #=> Time
1931
1952
  # resp.component.last_deployment_succeeded_at #=> Time
1932
1953
  # resp.component.last_modified_at #=> Time
1954
+ # resp.component.last_succeeded_deployment_id #=> String
1933
1955
  # resp.component.name #=> String
1934
1956
  # resp.component.service_instance_name #=> String
1935
1957
  # resp.component.service_name #=> String
@@ -1944,6 +1966,89 @@ module Aws::Proton
1944
1966
  req.send_request(options)
1945
1967
  end
1946
1968
 
1969
+ # Delete the deployment.
1970
+ #
1971
+ # @option params [required, String] :id
1972
+ # The ID of the deployment to delete.
1973
+ #
1974
+ # @return [Types::DeleteDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1975
+ #
1976
+ # * {Types::DeleteDeploymentOutput#deployment #deployment} => Types::Deployment
1977
+ #
1978
+ # @example Request syntax with placeholder values
1979
+ #
1980
+ # resp = client.delete_deployment({
1981
+ # id: "DeploymentId", # required
1982
+ # })
1983
+ #
1984
+ # @example Response structure
1985
+ #
1986
+ # resp.deployment.arn #=> String
1987
+ # resp.deployment.completed_at #=> Time
1988
+ # resp.deployment.component_name #=> String
1989
+ # resp.deployment.created_at #=> Time
1990
+ # resp.deployment.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
1991
+ # resp.deployment.deployment_status_message #=> String
1992
+ # resp.deployment.environment_name #=> String
1993
+ # resp.deployment.id #=> String
1994
+ # resp.deployment.initial_state.component.service_instance_name #=> String
1995
+ # resp.deployment.initial_state.component.service_name #=> String
1996
+ # resp.deployment.initial_state.component.service_spec #=> String
1997
+ # resp.deployment.initial_state.component.template_file #=> String
1998
+ # resp.deployment.initial_state.environment.spec #=> String
1999
+ # resp.deployment.initial_state.environment.template_major_version #=> String
2000
+ # resp.deployment.initial_state.environment.template_minor_version #=> String
2001
+ # resp.deployment.initial_state.environment.template_name #=> String
2002
+ # resp.deployment.initial_state.service_instance.last_successful_component_deployment_ids #=> Array
2003
+ # resp.deployment.initial_state.service_instance.last_successful_component_deployment_ids[0] #=> String
2004
+ # resp.deployment.initial_state.service_instance.last_successful_environment_deployment_id #=> String
2005
+ # resp.deployment.initial_state.service_instance.last_successful_service_pipeline_deployment_id #=> String
2006
+ # resp.deployment.initial_state.service_instance.spec #=> String
2007
+ # resp.deployment.initial_state.service_instance.template_major_version #=> String
2008
+ # resp.deployment.initial_state.service_instance.template_minor_version #=> String
2009
+ # resp.deployment.initial_state.service_instance.template_name #=> String
2010
+ # resp.deployment.initial_state.service_pipeline.spec #=> String
2011
+ # resp.deployment.initial_state.service_pipeline.template_major_version #=> String
2012
+ # resp.deployment.initial_state.service_pipeline.template_minor_version #=> String
2013
+ # resp.deployment.initial_state.service_pipeline.template_name #=> String
2014
+ # resp.deployment.last_attempted_deployment_id #=> String
2015
+ # resp.deployment.last_modified_at #=> Time
2016
+ # resp.deployment.last_succeeded_deployment_id #=> String
2017
+ # resp.deployment.service_instance_name #=> String
2018
+ # resp.deployment.service_name #=> String
2019
+ # resp.deployment.target_arn #=> String
2020
+ # resp.deployment.target_resource_created_at #=> Time
2021
+ # resp.deployment.target_resource_type #=> String, one of "ENVIRONMENT", "SERVICE_PIPELINE", "SERVICE_INSTANCE", "COMPONENT"
2022
+ # resp.deployment.target_state.component.service_instance_name #=> String
2023
+ # resp.deployment.target_state.component.service_name #=> String
2024
+ # resp.deployment.target_state.component.service_spec #=> String
2025
+ # resp.deployment.target_state.component.template_file #=> String
2026
+ # resp.deployment.target_state.environment.spec #=> String
2027
+ # resp.deployment.target_state.environment.template_major_version #=> String
2028
+ # resp.deployment.target_state.environment.template_minor_version #=> String
2029
+ # resp.deployment.target_state.environment.template_name #=> String
2030
+ # resp.deployment.target_state.service_instance.last_successful_component_deployment_ids #=> Array
2031
+ # resp.deployment.target_state.service_instance.last_successful_component_deployment_ids[0] #=> String
2032
+ # resp.deployment.target_state.service_instance.last_successful_environment_deployment_id #=> String
2033
+ # resp.deployment.target_state.service_instance.last_successful_service_pipeline_deployment_id #=> String
2034
+ # resp.deployment.target_state.service_instance.spec #=> String
2035
+ # resp.deployment.target_state.service_instance.template_major_version #=> String
2036
+ # resp.deployment.target_state.service_instance.template_minor_version #=> String
2037
+ # resp.deployment.target_state.service_instance.template_name #=> String
2038
+ # resp.deployment.target_state.service_pipeline.spec #=> String
2039
+ # resp.deployment.target_state.service_pipeline.template_major_version #=> String
2040
+ # resp.deployment.target_state.service_pipeline.template_minor_version #=> String
2041
+ # resp.deployment.target_state.service_pipeline.template_name #=> String
2042
+ #
2043
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteDeployment AWS API Documentation
2044
+ #
2045
+ # @overload delete_deployment(params = {})
2046
+ # @param [Hash] params ({})
2047
+ def delete_deployment(params = {}, options = {})
2048
+ req = build_request(:delete_deployment, params)
2049
+ req.send_request(options)
2050
+ end
2051
+
1947
2052
  # Delete an environment.
1948
2053
  #
1949
2054
  # @option params [required, String] :name
@@ -1970,8 +2075,10 @@ module Aws::Proton
1970
2075
  # resp.environment.description #=> String
1971
2076
  # resp.environment.environment_account_connection_id #=> String
1972
2077
  # resp.environment.environment_account_id #=> String
2078
+ # resp.environment.last_attempted_deployment_id #=> String
1973
2079
  # resp.environment.last_deployment_attempted_at #=> Time
1974
2080
  # resp.environment.last_deployment_succeeded_at #=> Time
2081
+ # resp.environment.last_succeeded_deployment_id #=> String
1975
2082
  # resp.environment.name #=> String
1976
2083
  # resp.environment.proton_service_role_arn #=> String
1977
2084
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
@@ -2214,8 +2321,10 @@ module Aws::Proton
2214
2321
  # resp.service.pipeline.created_at #=> Time
2215
2322
  # resp.service.pipeline.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
2216
2323
  # resp.service.pipeline.deployment_status_message #=> String
2324
+ # resp.service.pipeline.last_attempted_deployment_id #=> String
2217
2325
  # resp.service.pipeline.last_deployment_attempted_at #=> Time
2218
2326
  # resp.service.pipeline.last_deployment_succeeded_at #=> Time
2327
+ # resp.service.pipeline.last_succeeded_deployment_id #=> String
2219
2328
  # resp.service.pipeline.spec #=> String
2220
2329
  # resp.service.pipeline.template_major_version #=> String
2221
2330
  # resp.service.pipeline.template_minor_version #=> String
@@ -2459,10 +2568,12 @@ module Aws::Proton
2459
2568
  # resp.component.deployment_status_message #=> String
2460
2569
  # resp.component.description #=> String
2461
2570
  # resp.component.environment_name #=> String
2571
+ # resp.component.last_attempted_deployment_id #=> String
2462
2572
  # resp.component.last_client_request_token #=> String
2463
2573
  # resp.component.last_deployment_attempted_at #=> Time
2464
2574
  # resp.component.last_deployment_succeeded_at #=> Time
2465
2575
  # resp.component.last_modified_at #=> Time
2576
+ # resp.component.last_succeeded_deployment_id #=> String
2466
2577
  # resp.component.name #=> String
2467
2578
  # resp.component.service_instance_name #=> String
2468
2579
  # resp.component.service_name #=> String
@@ -2483,6 +2594,106 @@ module Aws::Proton
2483
2594
  req.send_request(options)
2484
2595
  end
2485
2596
 
2597
+ # Get detailed data for a deployment.
2598
+ #
2599
+ # @option params [String] :component_name
2600
+ # The name of a component that you want to get the detailed data for.
2601
+ #
2602
+ # @option params [String] :environment_name
2603
+ # The name of a environment that you want to get the detailed data for.
2604
+ #
2605
+ # @option params [required, String] :id
2606
+ # The ID of the deployment that you want to get the detailed data for.
2607
+ #
2608
+ # @option params [String] :service_instance_name
2609
+ # The name of the service instance associated with the given deployment
2610
+ # ID. `serviceName` must be specified to identify the service instance.
2611
+ #
2612
+ # @option params [String] :service_name
2613
+ # The name of the service associated with the given deployment ID.
2614
+ #
2615
+ # @return [Types::GetDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2616
+ #
2617
+ # * {Types::GetDeploymentOutput#deployment #deployment} => Types::Deployment
2618
+ #
2619
+ # @example Request syntax with placeholder values
2620
+ #
2621
+ # resp = client.get_deployment({
2622
+ # component_name: "ResourceName",
2623
+ # environment_name: "ResourceName",
2624
+ # id: "DeploymentId", # required
2625
+ # service_instance_name: "ResourceName",
2626
+ # service_name: "ResourceName",
2627
+ # })
2628
+ #
2629
+ # @example Response structure
2630
+ #
2631
+ # resp.deployment.arn #=> String
2632
+ # resp.deployment.completed_at #=> Time
2633
+ # resp.deployment.component_name #=> String
2634
+ # resp.deployment.created_at #=> Time
2635
+ # resp.deployment.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
2636
+ # resp.deployment.deployment_status_message #=> String
2637
+ # resp.deployment.environment_name #=> String
2638
+ # resp.deployment.id #=> String
2639
+ # resp.deployment.initial_state.component.service_instance_name #=> String
2640
+ # resp.deployment.initial_state.component.service_name #=> String
2641
+ # resp.deployment.initial_state.component.service_spec #=> String
2642
+ # resp.deployment.initial_state.component.template_file #=> String
2643
+ # resp.deployment.initial_state.environment.spec #=> String
2644
+ # resp.deployment.initial_state.environment.template_major_version #=> String
2645
+ # resp.deployment.initial_state.environment.template_minor_version #=> String
2646
+ # resp.deployment.initial_state.environment.template_name #=> String
2647
+ # resp.deployment.initial_state.service_instance.last_successful_component_deployment_ids #=> Array
2648
+ # resp.deployment.initial_state.service_instance.last_successful_component_deployment_ids[0] #=> String
2649
+ # resp.deployment.initial_state.service_instance.last_successful_environment_deployment_id #=> String
2650
+ # resp.deployment.initial_state.service_instance.last_successful_service_pipeline_deployment_id #=> String
2651
+ # resp.deployment.initial_state.service_instance.spec #=> String
2652
+ # resp.deployment.initial_state.service_instance.template_major_version #=> String
2653
+ # resp.deployment.initial_state.service_instance.template_minor_version #=> String
2654
+ # resp.deployment.initial_state.service_instance.template_name #=> String
2655
+ # resp.deployment.initial_state.service_pipeline.spec #=> String
2656
+ # resp.deployment.initial_state.service_pipeline.template_major_version #=> String
2657
+ # resp.deployment.initial_state.service_pipeline.template_minor_version #=> String
2658
+ # resp.deployment.initial_state.service_pipeline.template_name #=> String
2659
+ # resp.deployment.last_attempted_deployment_id #=> String
2660
+ # resp.deployment.last_modified_at #=> Time
2661
+ # resp.deployment.last_succeeded_deployment_id #=> String
2662
+ # resp.deployment.service_instance_name #=> String
2663
+ # resp.deployment.service_name #=> String
2664
+ # resp.deployment.target_arn #=> String
2665
+ # resp.deployment.target_resource_created_at #=> Time
2666
+ # resp.deployment.target_resource_type #=> String, one of "ENVIRONMENT", "SERVICE_PIPELINE", "SERVICE_INSTANCE", "COMPONENT"
2667
+ # resp.deployment.target_state.component.service_instance_name #=> String
2668
+ # resp.deployment.target_state.component.service_name #=> String
2669
+ # resp.deployment.target_state.component.service_spec #=> String
2670
+ # resp.deployment.target_state.component.template_file #=> String
2671
+ # resp.deployment.target_state.environment.spec #=> String
2672
+ # resp.deployment.target_state.environment.template_major_version #=> String
2673
+ # resp.deployment.target_state.environment.template_minor_version #=> String
2674
+ # resp.deployment.target_state.environment.template_name #=> String
2675
+ # resp.deployment.target_state.service_instance.last_successful_component_deployment_ids #=> Array
2676
+ # resp.deployment.target_state.service_instance.last_successful_component_deployment_ids[0] #=> String
2677
+ # resp.deployment.target_state.service_instance.last_successful_environment_deployment_id #=> String
2678
+ # resp.deployment.target_state.service_instance.last_successful_service_pipeline_deployment_id #=> String
2679
+ # resp.deployment.target_state.service_instance.spec #=> String
2680
+ # resp.deployment.target_state.service_instance.template_major_version #=> String
2681
+ # resp.deployment.target_state.service_instance.template_minor_version #=> String
2682
+ # resp.deployment.target_state.service_instance.template_name #=> String
2683
+ # resp.deployment.target_state.service_pipeline.spec #=> String
2684
+ # resp.deployment.target_state.service_pipeline.template_major_version #=> String
2685
+ # resp.deployment.target_state.service_pipeline.template_minor_version #=> String
2686
+ # resp.deployment.target_state.service_pipeline.template_name #=> String
2687
+ #
2688
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetDeployment AWS API Documentation
2689
+ #
2690
+ # @overload get_deployment(params = {})
2691
+ # @param [Hash] params ({})
2692
+ def get_deployment(params = {}, options = {})
2693
+ req = build_request(:get_deployment, params)
2694
+ req.send_request(options)
2695
+ end
2696
+
2486
2697
  # Get detailed data for an environment.
2487
2698
  #
2488
2699
  # @option params [required, String] :name
@@ -2510,8 +2721,10 @@ module Aws::Proton
2510
2721
  # resp.environment.description #=> String
2511
2722
  # resp.environment.environment_account_connection_id #=> String
2512
2723
  # resp.environment.environment_account_id #=> String
2724
+ # resp.environment.last_attempted_deployment_id #=> String
2513
2725
  # resp.environment.last_deployment_attempted_at #=> Time
2514
2726
  # resp.environment.last_deployment_succeeded_at #=> Time
2727
+ # resp.environment.last_succeeded_deployment_id #=> String
2515
2728
  # resp.environment.name #=> String
2516
2729
  # resp.environment.proton_service_role_arn #=> String
2517
2730
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
@@ -2878,8 +3091,10 @@ module Aws::Proton
2878
3091
  # resp.service.pipeline.created_at #=> Time
2879
3092
  # resp.service.pipeline.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
2880
3093
  # resp.service.pipeline.deployment_status_message #=> String
3094
+ # resp.service.pipeline.last_attempted_deployment_id #=> String
2881
3095
  # resp.service.pipeline.last_deployment_attempted_at #=> Time
2882
3096
  # resp.service.pipeline.last_deployment_succeeded_at #=> Time
3097
+ # resp.service.pipeline.last_succeeded_deployment_id #=> String
2883
3098
  # resp.service.pipeline.spec #=> String
2884
3099
  # resp.service.pipeline.template_major_version #=> String
2885
3100
  # resp.service.pipeline.template_minor_version #=> String
@@ -2937,9 +3152,11 @@ module Aws::Proton
2937
3152
  # resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
2938
3153
  # resp.service_instance.deployment_status_message #=> String
2939
3154
  # resp.service_instance.environment_name #=> String
3155
+ # resp.service_instance.last_attempted_deployment_id #=> String
2940
3156
  # resp.service_instance.last_client_request_token #=> String
2941
3157
  # resp.service_instance.last_deployment_attempted_at #=> Time
2942
3158
  # resp.service_instance.last_deployment_succeeded_at #=> Time
3159
+ # resp.service_instance.last_succeeded_deployment_id #=> String
2943
3160
  # resp.service_instance.name #=> String
2944
3161
  # resp.service_instance.service_name #=> String
2945
3162
  # resp.service_instance.spec #=> String
@@ -3340,6 +3557,9 @@ module Aws::Proton
3340
3557
  # @option params [required, String] :component_name
3341
3558
  # The name of the component whose outputs you want.
3342
3559
  #
3560
+ # @option params [String] :deployment_id
3561
+ # The ID of the deployment whose outputs you want.
3562
+ #
3343
3563
  # @option params [String] :next_token
3344
3564
  # A token that indicates the location of the next output in the array of
3345
3565
  # outputs, after the list of outputs that was previously requested.
@@ -3355,6 +3575,7 @@ module Aws::Proton
3355
3575
  #
3356
3576
  # resp = client.list_component_outputs({
3357
3577
  # component_name: "ResourceName", # required
3578
+ # deployment_id: "DeploymentId",
3358
3579
  # next_token: "EmptyNextToken",
3359
3580
  # })
3360
3581
  #
@@ -3478,9 +3699,11 @@ module Aws::Proton
3478
3699
  # resp.components[0].deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
3479
3700
  # resp.components[0].deployment_status_message #=> String
3480
3701
  # resp.components[0].environment_name #=> String
3702
+ # resp.components[0].last_attempted_deployment_id #=> String
3481
3703
  # resp.components[0].last_deployment_attempted_at #=> Time
3482
3704
  # resp.components[0].last_deployment_succeeded_at #=> Time
3483
3705
  # resp.components[0].last_modified_at #=> Time
3706
+ # resp.components[0].last_succeeded_deployment_id #=> String
3484
3707
  # resp.components[0].name #=> String
3485
3708
  # resp.components[0].service_instance_name #=> String
3486
3709
  # resp.components[0].service_name #=> String
@@ -3495,6 +3718,80 @@ module Aws::Proton
3495
3718
  req.send_request(options)
3496
3719
  end
3497
3720
 
3721
+ # List deployments. You can filter the result list by environment,
3722
+ # service, or a single service instance.
3723
+ #
3724
+ # @option params [String] :component_name
3725
+ # The name of a component for result list filtering. Proton returns
3726
+ # deployments associated with that component.
3727
+ #
3728
+ # @option params [String] :environment_name
3729
+ # The name of an environment for result list filtering. Proton returns
3730
+ # deployments associated with the environment.
3731
+ #
3732
+ # @option params [Integer] :max_results
3733
+ # The maximum number of deployments to list.
3734
+ #
3735
+ # @option params [String] :next_token
3736
+ # A token that indicates the location of the next deployment in the
3737
+ # array of deployment, after the list of deployment that was previously
3738
+ # requested.
3739
+ #
3740
+ # @option params [String] :service_instance_name
3741
+ # The name of a service instance for result list filtering. Proton
3742
+ # returns the deployments associated with the service instance.
3743
+ #
3744
+ # @option params [String] :service_name
3745
+ # The name of a service for result list filtering. Proton returns
3746
+ # deployments associated with service instances of the service.
3747
+ #
3748
+ # @return [Types::ListDeploymentsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3749
+ #
3750
+ # * {Types::ListDeploymentsOutput#deployments #deployments} => Array<Types::DeploymentSummary>
3751
+ # * {Types::ListDeploymentsOutput#next_token #next_token} => String
3752
+ #
3753
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3754
+ #
3755
+ # @example Request syntax with placeholder values
3756
+ #
3757
+ # resp = client.list_deployments({
3758
+ # component_name: "ResourceName",
3759
+ # environment_name: "ResourceName",
3760
+ # max_results: 1,
3761
+ # next_token: "NextToken",
3762
+ # service_instance_name: "ResourceName",
3763
+ # service_name: "ResourceName",
3764
+ # })
3765
+ #
3766
+ # @example Response structure
3767
+ #
3768
+ # resp.deployments #=> Array
3769
+ # resp.deployments[0].arn #=> String
3770
+ # resp.deployments[0].completed_at #=> Time
3771
+ # resp.deployments[0].component_name #=> String
3772
+ # resp.deployments[0].created_at #=> Time
3773
+ # resp.deployments[0].deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
3774
+ # resp.deployments[0].environment_name #=> String
3775
+ # resp.deployments[0].id #=> String
3776
+ # resp.deployments[0].last_attempted_deployment_id #=> String
3777
+ # resp.deployments[0].last_modified_at #=> Time
3778
+ # resp.deployments[0].last_succeeded_deployment_id #=> String
3779
+ # resp.deployments[0].service_instance_name #=> String
3780
+ # resp.deployments[0].service_name #=> String
3781
+ # resp.deployments[0].target_arn #=> String
3782
+ # resp.deployments[0].target_resource_created_at #=> Time
3783
+ # resp.deployments[0].target_resource_type #=> String, one of "ENVIRONMENT", "SERVICE_PIPELINE", "SERVICE_INSTANCE", "COMPONENT"
3784
+ # resp.next_token #=> String
3785
+ #
3786
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListDeployments AWS API Documentation
3787
+ #
3788
+ # @overload list_deployments(params = {})
3789
+ # @param [Hash] params ({})
3790
+ def list_deployments(params = {}, options = {})
3791
+ req = build_request(:list_deployments, params)
3792
+ req.send_request(options)
3793
+ end
3794
+
3498
3795
  # View a list of environment account connections.
3499
3796
  #
3500
3797
  # For more information, see [Environment account connections][1] in the
@@ -3566,6 +3863,9 @@ module Aws::Proton
3566
3863
 
3567
3864
  # List the infrastructure as code outputs for your environment.
3568
3865
  #
3866
+ # @option params [String] :deployment_id
3867
+ # The ID of the deployment whose outputs you want.
3868
+ #
3569
3869
  # @option params [required, String] :environment_name
3570
3870
  # The environment name.
3571
3871
  #
@@ -3584,6 +3884,7 @@ module Aws::Proton
3584
3884
  # @example Request syntax with placeholder values
3585
3885
  #
3586
3886
  # resp = client.list_environment_outputs({
3887
+ # deployment_id: "DeploymentId",
3587
3888
  # environment_name: "ResourceName", # required
3588
3889
  # next_token: "EmptyNextToken",
3589
3890
  # })
@@ -3799,8 +4100,10 @@ module Aws::Proton
3799
4100
  # resp.environments[0].description #=> String
3800
4101
  # resp.environments[0].environment_account_connection_id #=> String
3801
4102
  # resp.environments[0].environment_account_id #=> String
4103
+ # resp.environments[0].last_attempted_deployment_id #=> String
3802
4104
  # resp.environments[0].last_deployment_attempted_at #=> Time
3803
4105
  # resp.environments[0].last_deployment_succeeded_at #=> Time
4106
+ # resp.environments[0].last_succeeded_deployment_id #=> String
3804
4107
  # resp.environments[0].name #=> String
3805
4108
  # resp.environments[0].proton_service_role_arn #=> String
3806
4109
  # resp.environments[0].provisioning #=> String, one of "CUSTOMER_MANAGED"
@@ -3912,6 +4215,9 @@ module Aws::Proton
3912
4215
 
3913
4216
  # Get a list service of instance Infrastructure as Code (IaC) outputs.
3914
4217
  #
4218
+ # @option params [String] :deployment_id
4219
+ # The ID of the deployment whose outputs you want.
4220
+ #
3915
4221
  # @option params [String] :next_token
3916
4222
  # A token that indicates the location of the next output in the array of
3917
4223
  # outputs, after the list of outputs that was previously requested.
@@ -3932,6 +4238,7 @@ module Aws::Proton
3932
4238
  # @example Request syntax with placeholder values
3933
4239
  #
3934
4240
  # resp = client.list_service_instance_outputs({
4241
+ # deployment_id: "DeploymentId",
3935
4242
  # next_token: "EmptyNextToken",
3936
4243
  # service_instance_name: "ResourceName", # required
3937
4244
  # service_name: "ResourceName", # required
@@ -4062,8 +4369,10 @@ module Aws::Proton
4062
4369
  # resp.service_instances[0].deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
4063
4370
  # resp.service_instances[0].deployment_status_message #=> String
4064
4371
  # resp.service_instances[0].environment_name #=> String
4372
+ # resp.service_instances[0].last_attempted_deployment_id #=> String
4065
4373
  # resp.service_instances[0].last_deployment_attempted_at #=> Time
4066
4374
  # resp.service_instances[0].last_deployment_succeeded_at #=> Time
4375
+ # resp.service_instances[0].last_succeeded_deployment_id #=> String
4067
4376
  # resp.service_instances[0].name #=> String
4068
4377
  # resp.service_instances[0].service_name #=> String
4069
4378
  # resp.service_instances[0].template_major_version #=> String
@@ -4081,6 +4390,9 @@ module Aws::Proton
4081
4390
 
4082
4391
  # Get a list of service pipeline Infrastructure as Code (IaC) outputs.
4083
4392
  #
4393
+ # @option params [String] :deployment_id
4394
+ # The ID of the deployment you want the outputs for.
4395
+ #
4084
4396
  # @option params [String] :next_token
4085
4397
  # A token that indicates the location of the next output in the array of
4086
4398
  # outputs, after the list of outputs that was previously requested.
@@ -4098,6 +4410,7 @@ module Aws::Proton
4098
4410
  # @example Request syntax with placeholder values
4099
4411
  #
4100
4412
  # resp = client.list_service_pipeline_outputs({
4413
+ # deployment_id: "DeploymentId",
4101
4414
  # next_token: "EmptyNextToken",
4102
4415
  # service_name: "ResourceName", # required
4103
4416
  # })
@@ -4712,10 +5025,12 @@ module Aws::Proton
4712
5025
  # resp.component.deployment_status_message #=> String
4713
5026
  # resp.component.description #=> String
4714
5027
  # resp.component.environment_name #=> String
5028
+ # resp.component.last_attempted_deployment_id #=> String
4715
5029
  # resp.component.last_client_request_token #=> String
4716
5030
  # resp.component.last_deployment_attempted_at #=> Time
4717
5031
  # resp.component.last_deployment_succeeded_at #=> Time
4718
5032
  # resp.component.last_modified_at #=> Time
5033
+ # resp.component.last_succeeded_deployment_id #=> String
4719
5034
  # resp.component.name #=> String
4720
5035
  # resp.component.service_instance_name #=> String
4721
5036
  # resp.component.service_name #=> String
@@ -4933,8 +5248,10 @@ module Aws::Proton
4933
5248
  # resp.environment.description #=> String
4934
5249
  # resp.environment.environment_account_connection_id #=> String
4935
5250
  # resp.environment.environment_account_id #=> String
5251
+ # resp.environment.last_attempted_deployment_id #=> String
4936
5252
  # resp.environment.last_deployment_attempted_at #=> Time
4937
5253
  # resp.environment.last_deployment_succeeded_at #=> Time
5254
+ # resp.environment.last_succeeded_deployment_id #=> String
4938
5255
  # resp.environment.name #=> String
4939
5256
  # resp.environment.proton_service_role_arn #=> String
4940
5257
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
@@ -5198,8 +5515,10 @@ module Aws::Proton
5198
5515
  # resp.service.pipeline.created_at #=> Time
5199
5516
  # resp.service.pipeline.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
5200
5517
  # resp.service.pipeline.deployment_status_message #=> String
5518
+ # resp.service.pipeline.last_attempted_deployment_id #=> String
5201
5519
  # resp.service.pipeline.last_deployment_attempted_at #=> Time
5202
5520
  # resp.service.pipeline.last_deployment_succeeded_at #=> Time
5521
+ # resp.service.pipeline.last_succeeded_deployment_id #=> String
5203
5522
  # resp.service.pipeline.spec #=> String
5204
5523
  # resp.service.pipeline.template_major_version #=> String
5205
5524
  # resp.service.pipeline.template_minor_version #=> String
@@ -5320,9 +5639,11 @@ module Aws::Proton
5320
5639
  # resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
5321
5640
  # resp.service_instance.deployment_status_message #=> String
5322
5641
  # resp.service_instance.environment_name #=> String
5642
+ # resp.service_instance.last_attempted_deployment_id #=> String
5323
5643
  # resp.service_instance.last_client_request_token #=> String
5324
5644
  # resp.service_instance.last_deployment_attempted_at #=> Time
5325
5645
  # resp.service_instance.last_deployment_succeeded_at #=> Time
5646
+ # resp.service_instance.last_succeeded_deployment_id #=> String
5326
5647
  # resp.service_instance.name #=> String
5327
5648
  # resp.service_instance.service_name #=> String
5328
5649
  # resp.service_instance.spec #=> String
@@ -5454,8 +5775,10 @@ module Aws::Proton
5454
5775
  # resp.pipeline.created_at #=> Time
5455
5776
  # resp.pipeline.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
5456
5777
  # resp.pipeline.deployment_status_message #=> String
5778
+ # resp.pipeline.last_attempted_deployment_id #=> String
5457
5779
  # resp.pipeline.last_deployment_attempted_at #=> Time
5458
5780
  # resp.pipeline.last_deployment_succeeded_at #=> Time
5781
+ # resp.pipeline.last_succeeded_deployment_id #=> String
5459
5782
  # resp.pipeline.spec #=> String
5460
5783
  # resp.pipeline.template_major_version #=> String
5461
5784
  # resp.pipeline.template_minor_version #=> String
@@ -5773,7 +6096,7 @@ module Aws::Proton
5773
6096
  params: params,
5774
6097
  config: config)
5775
6098
  context[:gem_name] = 'aws-sdk-proton'
5776
- context[:gem_version] = '1.28.0'
6099
+ context[:gem_version] = '1.30.0'
5777
6100
  Seahorse::Client::Request.new(handlers, context)
5778
6101
  end
5779
6102