aws-sdk-proton 1.29.0 → 1.31.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: d908843270182cd442d2a7421f547d6321210b3c8c7ed9115bc614d1637a66ab
4
- data.tar.gz: cea35fdeaa1ca5cd6afc2d96d234f870d963186efd7c238913bb60871fd0f88a
3
+ metadata.gz: e5ad3e582c8512206b85473262c8f5031b179441901ca5ae53e35acc57f8944b
4
+ data.tar.gz: a8adfcdbb7e20d6af388c197434b28dcb037d433ec0ff67b19699b8d83bf48de
5
5
  SHA512:
6
- metadata.gz: a3e4a69943b8a876b6d435d5b5e0facfe58e04fb15a7cf5ddbbe1b41ac94634dea5a718bf7d4d7a7b7458d8d5d33135559b8db4161227d35075a0d30ba109765
7
- data.tar.gz: aa11bcd5eed80d0a3f328c855b549e490f24e5431b8f6d3fded80f2a8e4683e2bff94f13f1e2f0ef25e70dd782e76b96f1b8d0707f5a89e49ed3db13bdede998
6
+ metadata.gz: 2f929177f63cb0a9b4e46f81e9f854f70af90f07107b81a73478d932a7ee5a3b87a0d312686fcbe5535dcc0b128d98a8cd57b4431d005307ce56c07058d3b7df
7
+ data.tar.gz: f2d06958d05752a054000a7bd4011b7d5274108ec492cf697ec488179bd5b962e75c987d2ee28d689769ae676b05f9b28c97bfa40bf1060cd45293c94eb49d9d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.31.0 (2023-09-27)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.30.0 (2023-07-13)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for deployment history for Proton provisioned resources
13
+
4
14
  1.29.0 (2023-07-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.31.0
@@ -477,10 +477,12 @@ module Aws::Proton
477
477
  # resp.component.deployment_status_message #=> String
478
478
  # resp.component.description #=> String
479
479
  # resp.component.environment_name #=> String
480
+ # resp.component.last_attempted_deployment_id #=> String
480
481
  # resp.component.last_client_request_token #=> String
481
482
  # resp.component.last_deployment_attempted_at #=> Time
482
483
  # resp.component.last_deployment_succeeded_at #=> Time
483
484
  # resp.component.last_modified_at #=> Time
485
+ # resp.component.last_succeeded_deployment_id #=> String
484
486
  # resp.component.name #=> String
485
487
  # resp.component.service_instance_name #=> String
486
488
  # resp.component.service_name #=> String
@@ -539,8 +541,10 @@ module Aws::Proton
539
541
  # resp.environment.description #=> String
540
542
  # resp.environment.environment_account_connection_id #=> String
541
543
  # resp.environment.environment_account_id #=> String
544
+ # resp.environment.last_attempted_deployment_id #=> String
542
545
  # resp.environment.last_deployment_attempted_at #=> Time
543
546
  # resp.environment.last_deployment_succeeded_at #=> Time
547
+ # resp.environment.last_succeeded_deployment_id #=> String
544
548
  # resp.environment.name #=> String
545
549
  # resp.environment.proton_service_role_arn #=> String
546
550
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
@@ -608,9 +612,11 @@ module Aws::Proton
608
612
  # resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
609
613
  # resp.service_instance.deployment_status_message #=> String
610
614
  # resp.service_instance.environment_name #=> String
615
+ # resp.service_instance.last_attempted_deployment_id #=> String
611
616
  # resp.service_instance.last_client_request_token #=> String
612
617
  # resp.service_instance.last_deployment_attempted_at #=> Time
613
618
  # resp.service_instance.last_deployment_succeeded_at #=> Time
619
+ # resp.service_instance.last_succeeded_deployment_id #=> String
614
620
  # resp.service_instance.name #=> String
615
621
  # resp.service_instance.service_name #=> String
616
622
  # resp.service_instance.spec #=> String
@@ -668,8 +674,10 @@ module Aws::Proton
668
674
  # resp.pipeline.created_at #=> Time
669
675
  # resp.pipeline.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
670
676
  # resp.pipeline.deployment_status_message #=> String
677
+ # resp.pipeline.last_attempted_deployment_id #=> String
671
678
  # resp.pipeline.last_deployment_attempted_at #=> Time
672
679
  # resp.pipeline.last_deployment_succeeded_at #=> Time
680
+ # resp.pipeline.last_succeeded_deployment_id #=> String
673
681
  # resp.pipeline.spec #=> String
674
682
  # resp.pipeline.template_major_version #=> String
675
683
  # resp.pipeline.template_minor_version #=> String
@@ -785,10 +793,12 @@ module Aws::Proton
785
793
  # resp.component.deployment_status_message #=> String
786
794
  # resp.component.description #=> String
787
795
  # resp.component.environment_name #=> String
796
+ # resp.component.last_attempted_deployment_id #=> String
788
797
  # resp.component.last_client_request_token #=> String
789
798
  # resp.component.last_deployment_attempted_at #=> Time
790
799
  # resp.component.last_deployment_succeeded_at #=> Time
791
800
  # resp.component.last_modified_at #=> Time
801
+ # resp.component.last_succeeded_deployment_id #=> String
792
802
  # resp.component.name #=> String
793
803
  # resp.component.service_instance_name #=> String
794
804
  # resp.component.service_name #=> String
@@ -964,8 +974,10 @@ module Aws::Proton
964
974
  # resp.environment.description #=> String
965
975
  # resp.environment.environment_account_connection_id #=> String
966
976
  # resp.environment.environment_account_id #=> String
977
+ # resp.environment.last_attempted_deployment_id #=> String
967
978
  # resp.environment.last_deployment_attempted_at #=> Time
968
979
  # resp.environment.last_deployment_succeeded_at #=> Time
980
+ # resp.environment.last_succeeded_deployment_id #=> String
969
981
  # resp.environment.name #=> String
970
982
  # resp.environment.proton_service_role_arn #=> String
971
983
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
@@ -1471,8 +1483,10 @@ module Aws::Proton
1471
1483
  # resp.service.pipeline.created_at #=> Time
1472
1484
  # resp.service.pipeline.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
1473
1485
  # resp.service.pipeline.deployment_status_message #=> String
1486
+ # resp.service.pipeline.last_attempted_deployment_id #=> String
1474
1487
  # resp.service.pipeline.last_deployment_attempted_at #=> Time
1475
1488
  # resp.service.pipeline.last_deployment_succeeded_at #=> Time
1489
+ # resp.service.pipeline.last_succeeded_deployment_id #=> String
1476
1490
  # resp.service.pipeline.spec #=> String
1477
1491
  # resp.service.pipeline.template_major_version #=> String
1478
1492
  # resp.service.pipeline.template_minor_version #=> String
@@ -1557,9 +1571,11 @@ module Aws::Proton
1557
1571
  # resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
1558
1572
  # resp.service_instance.deployment_status_message #=> String
1559
1573
  # resp.service_instance.environment_name #=> String
1574
+ # resp.service_instance.last_attempted_deployment_id #=> String
1560
1575
  # resp.service_instance.last_client_request_token #=> String
1561
1576
  # resp.service_instance.last_deployment_attempted_at #=> Time
1562
1577
  # resp.service_instance.last_deployment_succeeded_at #=> Time
1578
+ # resp.service_instance.last_succeeded_deployment_id #=> String
1563
1579
  # resp.service_instance.name #=> String
1564
1580
  # resp.service_instance.service_name #=> String
1565
1581
  # resp.service_instance.spec #=> String
@@ -1930,10 +1946,12 @@ module Aws::Proton
1930
1946
  # resp.component.deployment_status_message #=> String
1931
1947
  # resp.component.description #=> String
1932
1948
  # resp.component.environment_name #=> String
1949
+ # resp.component.last_attempted_deployment_id #=> String
1933
1950
  # resp.component.last_client_request_token #=> String
1934
1951
  # resp.component.last_deployment_attempted_at #=> Time
1935
1952
  # resp.component.last_deployment_succeeded_at #=> Time
1936
1953
  # resp.component.last_modified_at #=> Time
1954
+ # resp.component.last_succeeded_deployment_id #=> String
1937
1955
  # resp.component.name #=> String
1938
1956
  # resp.component.service_instance_name #=> String
1939
1957
  # resp.component.service_name #=> String
@@ -1948,6 +1966,89 @@ module Aws::Proton
1948
1966
  req.send_request(options)
1949
1967
  end
1950
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
+
1951
2052
  # Delete an environment.
1952
2053
  #
1953
2054
  # @option params [required, String] :name
@@ -1974,8 +2075,10 @@ module Aws::Proton
1974
2075
  # resp.environment.description #=> String
1975
2076
  # resp.environment.environment_account_connection_id #=> String
1976
2077
  # resp.environment.environment_account_id #=> String
2078
+ # resp.environment.last_attempted_deployment_id #=> String
1977
2079
  # resp.environment.last_deployment_attempted_at #=> Time
1978
2080
  # resp.environment.last_deployment_succeeded_at #=> Time
2081
+ # resp.environment.last_succeeded_deployment_id #=> String
1979
2082
  # resp.environment.name #=> String
1980
2083
  # resp.environment.proton_service_role_arn #=> String
1981
2084
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
@@ -2218,8 +2321,10 @@ module Aws::Proton
2218
2321
  # resp.service.pipeline.created_at #=> Time
2219
2322
  # resp.service.pipeline.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
2220
2323
  # resp.service.pipeline.deployment_status_message #=> String
2324
+ # resp.service.pipeline.last_attempted_deployment_id #=> String
2221
2325
  # resp.service.pipeline.last_deployment_attempted_at #=> Time
2222
2326
  # resp.service.pipeline.last_deployment_succeeded_at #=> Time
2327
+ # resp.service.pipeline.last_succeeded_deployment_id #=> String
2223
2328
  # resp.service.pipeline.spec #=> String
2224
2329
  # resp.service.pipeline.template_major_version #=> String
2225
2330
  # resp.service.pipeline.template_minor_version #=> String
@@ -2463,10 +2568,12 @@ module Aws::Proton
2463
2568
  # resp.component.deployment_status_message #=> String
2464
2569
  # resp.component.description #=> String
2465
2570
  # resp.component.environment_name #=> String
2571
+ # resp.component.last_attempted_deployment_id #=> String
2466
2572
  # resp.component.last_client_request_token #=> String
2467
2573
  # resp.component.last_deployment_attempted_at #=> Time
2468
2574
  # resp.component.last_deployment_succeeded_at #=> Time
2469
2575
  # resp.component.last_modified_at #=> Time
2576
+ # resp.component.last_succeeded_deployment_id #=> String
2470
2577
  # resp.component.name #=> String
2471
2578
  # resp.component.service_instance_name #=> String
2472
2579
  # resp.component.service_name #=> String
@@ -2487,6 +2594,106 @@ module Aws::Proton
2487
2594
  req.send_request(options)
2488
2595
  end
2489
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
+
2490
2697
  # Get detailed data for an environment.
2491
2698
  #
2492
2699
  # @option params [required, String] :name
@@ -2514,8 +2721,10 @@ module Aws::Proton
2514
2721
  # resp.environment.description #=> String
2515
2722
  # resp.environment.environment_account_connection_id #=> String
2516
2723
  # resp.environment.environment_account_id #=> String
2724
+ # resp.environment.last_attempted_deployment_id #=> String
2517
2725
  # resp.environment.last_deployment_attempted_at #=> Time
2518
2726
  # resp.environment.last_deployment_succeeded_at #=> Time
2727
+ # resp.environment.last_succeeded_deployment_id #=> String
2519
2728
  # resp.environment.name #=> String
2520
2729
  # resp.environment.proton_service_role_arn #=> String
2521
2730
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
@@ -2882,8 +3091,10 @@ module Aws::Proton
2882
3091
  # resp.service.pipeline.created_at #=> Time
2883
3092
  # resp.service.pipeline.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
2884
3093
  # resp.service.pipeline.deployment_status_message #=> String
3094
+ # resp.service.pipeline.last_attempted_deployment_id #=> String
2885
3095
  # resp.service.pipeline.last_deployment_attempted_at #=> Time
2886
3096
  # resp.service.pipeline.last_deployment_succeeded_at #=> Time
3097
+ # resp.service.pipeline.last_succeeded_deployment_id #=> String
2887
3098
  # resp.service.pipeline.spec #=> String
2888
3099
  # resp.service.pipeline.template_major_version #=> String
2889
3100
  # resp.service.pipeline.template_minor_version #=> String
@@ -2941,9 +3152,11 @@ module Aws::Proton
2941
3152
  # resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
2942
3153
  # resp.service_instance.deployment_status_message #=> String
2943
3154
  # resp.service_instance.environment_name #=> String
3155
+ # resp.service_instance.last_attempted_deployment_id #=> String
2944
3156
  # resp.service_instance.last_client_request_token #=> String
2945
3157
  # resp.service_instance.last_deployment_attempted_at #=> Time
2946
3158
  # resp.service_instance.last_deployment_succeeded_at #=> Time
3159
+ # resp.service_instance.last_succeeded_deployment_id #=> String
2947
3160
  # resp.service_instance.name #=> String
2948
3161
  # resp.service_instance.service_name #=> String
2949
3162
  # resp.service_instance.spec #=> String
@@ -3344,6 +3557,9 @@ module Aws::Proton
3344
3557
  # @option params [required, String] :component_name
3345
3558
  # The name of the component whose outputs you want.
3346
3559
  #
3560
+ # @option params [String] :deployment_id
3561
+ # The ID of the deployment whose outputs you want.
3562
+ #
3347
3563
  # @option params [String] :next_token
3348
3564
  # A token that indicates the location of the next output in the array of
3349
3565
  # outputs, after the list of outputs that was previously requested.
@@ -3359,6 +3575,7 @@ module Aws::Proton
3359
3575
  #
3360
3576
  # resp = client.list_component_outputs({
3361
3577
  # component_name: "ResourceName", # required
3578
+ # deployment_id: "DeploymentId",
3362
3579
  # next_token: "EmptyNextToken",
3363
3580
  # })
3364
3581
  #
@@ -3482,9 +3699,11 @@ module Aws::Proton
3482
3699
  # resp.components[0].deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
3483
3700
  # resp.components[0].deployment_status_message #=> String
3484
3701
  # resp.components[0].environment_name #=> String
3702
+ # resp.components[0].last_attempted_deployment_id #=> String
3485
3703
  # resp.components[0].last_deployment_attempted_at #=> Time
3486
3704
  # resp.components[0].last_deployment_succeeded_at #=> Time
3487
3705
  # resp.components[0].last_modified_at #=> Time
3706
+ # resp.components[0].last_succeeded_deployment_id #=> String
3488
3707
  # resp.components[0].name #=> String
3489
3708
  # resp.components[0].service_instance_name #=> String
3490
3709
  # resp.components[0].service_name #=> String
@@ -3499,6 +3718,80 @@ module Aws::Proton
3499
3718
  req.send_request(options)
3500
3719
  end
3501
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
+
3502
3795
  # View a list of environment account connections.
3503
3796
  #
3504
3797
  # For more information, see [Environment account connections][1] in the
@@ -3570,6 +3863,9 @@ module Aws::Proton
3570
3863
 
3571
3864
  # List the infrastructure as code outputs for your environment.
3572
3865
  #
3866
+ # @option params [String] :deployment_id
3867
+ # The ID of the deployment whose outputs you want.
3868
+ #
3573
3869
  # @option params [required, String] :environment_name
3574
3870
  # The environment name.
3575
3871
  #
@@ -3588,6 +3884,7 @@ module Aws::Proton
3588
3884
  # @example Request syntax with placeholder values
3589
3885
  #
3590
3886
  # resp = client.list_environment_outputs({
3887
+ # deployment_id: "DeploymentId",
3591
3888
  # environment_name: "ResourceName", # required
3592
3889
  # next_token: "EmptyNextToken",
3593
3890
  # })
@@ -3803,8 +4100,10 @@ module Aws::Proton
3803
4100
  # resp.environments[0].description #=> String
3804
4101
  # resp.environments[0].environment_account_connection_id #=> String
3805
4102
  # resp.environments[0].environment_account_id #=> String
4103
+ # resp.environments[0].last_attempted_deployment_id #=> String
3806
4104
  # resp.environments[0].last_deployment_attempted_at #=> Time
3807
4105
  # resp.environments[0].last_deployment_succeeded_at #=> Time
4106
+ # resp.environments[0].last_succeeded_deployment_id #=> String
3808
4107
  # resp.environments[0].name #=> String
3809
4108
  # resp.environments[0].proton_service_role_arn #=> String
3810
4109
  # resp.environments[0].provisioning #=> String, one of "CUSTOMER_MANAGED"
@@ -3916,6 +4215,9 @@ module Aws::Proton
3916
4215
 
3917
4216
  # Get a list service of instance Infrastructure as Code (IaC) outputs.
3918
4217
  #
4218
+ # @option params [String] :deployment_id
4219
+ # The ID of the deployment whose outputs you want.
4220
+ #
3919
4221
  # @option params [String] :next_token
3920
4222
  # A token that indicates the location of the next output in the array of
3921
4223
  # outputs, after the list of outputs that was previously requested.
@@ -3936,6 +4238,7 @@ module Aws::Proton
3936
4238
  # @example Request syntax with placeholder values
3937
4239
  #
3938
4240
  # resp = client.list_service_instance_outputs({
4241
+ # deployment_id: "DeploymentId",
3939
4242
  # next_token: "EmptyNextToken",
3940
4243
  # service_instance_name: "ResourceName", # required
3941
4244
  # service_name: "ResourceName", # required
@@ -4066,8 +4369,10 @@ module Aws::Proton
4066
4369
  # resp.service_instances[0].deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
4067
4370
  # resp.service_instances[0].deployment_status_message #=> String
4068
4371
  # resp.service_instances[0].environment_name #=> String
4372
+ # resp.service_instances[0].last_attempted_deployment_id #=> String
4069
4373
  # resp.service_instances[0].last_deployment_attempted_at #=> Time
4070
4374
  # resp.service_instances[0].last_deployment_succeeded_at #=> Time
4375
+ # resp.service_instances[0].last_succeeded_deployment_id #=> String
4071
4376
  # resp.service_instances[0].name #=> String
4072
4377
  # resp.service_instances[0].service_name #=> String
4073
4378
  # resp.service_instances[0].template_major_version #=> String
@@ -4085,6 +4390,9 @@ module Aws::Proton
4085
4390
 
4086
4391
  # Get a list of service pipeline Infrastructure as Code (IaC) outputs.
4087
4392
  #
4393
+ # @option params [String] :deployment_id
4394
+ # The ID of the deployment you want the outputs for.
4395
+ #
4088
4396
  # @option params [String] :next_token
4089
4397
  # A token that indicates the location of the next output in the array of
4090
4398
  # outputs, after the list of outputs that was previously requested.
@@ -4102,6 +4410,7 @@ module Aws::Proton
4102
4410
  # @example Request syntax with placeholder values
4103
4411
  #
4104
4412
  # resp = client.list_service_pipeline_outputs({
4413
+ # deployment_id: "DeploymentId",
4105
4414
  # next_token: "EmptyNextToken",
4106
4415
  # service_name: "ResourceName", # required
4107
4416
  # })
@@ -4716,10 +5025,12 @@ module Aws::Proton
4716
5025
  # resp.component.deployment_status_message #=> String
4717
5026
  # resp.component.description #=> String
4718
5027
  # resp.component.environment_name #=> String
5028
+ # resp.component.last_attempted_deployment_id #=> String
4719
5029
  # resp.component.last_client_request_token #=> String
4720
5030
  # resp.component.last_deployment_attempted_at #=> Time
4721
5031
  # resp.component.last_deployment_succeeded_at #=> Time
4722
5032
  # resp.component.last_modified_at #=> Time
5033
+ # resp.component.last_succeeded_deployment_id #=> String
4723
5034
  # resp.component.name #=> String
4724
5035
  # resp.component.service_instance_name #=> String
4725
5036
  # resp.component.service_name #=> String
@@ -4937,8 +5248,10 @@ module Aws::Proton
4937
5248
  # resp.environment.description #=> String
4938
5249
  # resp.environment.environment_account_connection_id #=> String
4939
5250
  # resp.environment.environment_account_id #=> String
5251
+ # resp.environment.last_attempted_deployment_id #=> String
4940
5252
  # resp.environment.last_deployment_attempted_at #=> Time
4941
5253
  # resp.environment.last_deployment_succeeded_at #=> Time
5254
+ # resp.environment.last_succeeded_deployment_id #=> String
4942
5255
  # resp.environment.name #=> String
4943
5256
  # resp.environment.proton_service_role_arn #=> String
4944
5257
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
@@ -5202,8 +5515,10 @@ module Aws::Proton
5202
5515
  # resp.service.pipeline.created_at #=> Time
5203
5516
  # resp.service.pipeline.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
5204
5517
  # resp.service.pipeline.deployment_status_message #=> String
5518
+ # resp.service.pipeline.last_attempted_deployment_id #=> String
5205
5519
  # resp.service.pipeline.last_deployment_attempted_at #=> Time
5206
5520
  # resp.service.pipeline.last_deployment_succeeded_at #=> Time
5521
+ # resp.service.pipeline.last_succeeded_deployment_id #=> String
5207
5522
  # resp.service.pipeline.spec #=> String
5208
5523
  # resp.service.pipeline.template_major_version #=> String
5209
5524
  # resp.service.pipeline.template_minor_version #=> String
@@ -5324,9 +5639,11 @@ module Aws::Proton
5324
5639
  # resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
5325
5640
  # resp.service_instance.deployment_status_message #=> String
5326
5641
  # resp.service_instance.environment_name #=> String
5642
+ # resp.service_instance.last_attempted_deployment_id #=> String
5327
5643
  # resp.service_instance.last_client_request_token #=> String
5328
5644
  # resp.service_instance.last_deployment_attempted_at #=> Time
5329
5645
  # resp.service_instance.last_deployment_succeeded_at #=> Time
5646
+ # resp.service_instance.last_succeeded_deployment_id #=> String
5330
5647
  # resp.service_instance.name #=> String
5331
5648
  # resp.service_instance.service_name #=> String
5332
5649
  # resp.service_instance.spec #=> String
@@ -5458,8 +5775,10 @@ module Aws::Proton
5458
5775
  # resp.pipeline.created_at #=> Time
5459
5776
  # resp.pipeline.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
5460
5777
  # resp.pipeline.deployment_status_message #=> String
5778
+ # resp.pipeline.last_attempted_deployment_id #=> String
5461
5779
  # resp.pipeline.last_deployment_attempted_at #=> Time
5462
5780
  # resp.pipeline.last_deployment_succeeded_at #=> Time
5781
+ # resp.pipeline.last_succeeded_deployment_id #=> String
5463
5782
  # resp.pipeline.spec #=> String
5464
5783
  # resp.pipeline.template_major_version #=> String
5465
5784
  # resp.pipeline.template_minor_version #=> String
@@ -5777,7 +6096,7 @@ module Aws::Proton
5777
6096
  params: params,
5778
6097
  config: config)
5779
6098
  context[:gem_name] = 'aws-sdk-proton'
5780
- context[:gem_version] = '1.29.0'
6099
+ context[:gem_version] = '1.31.0'
5781
6100
  Seahorse::Client::Request.new(handlers, context)
5782
6101
  end
5783
6102