aws-sdk-proton 1.23.0 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-proton/client.rb +457 -7
- data/lib/aws-sdk-proton/client_api.rb +239 -0
- data/lib/aws-sdk-proton/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-proton/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-proton/endpoints.rb +112 -0
- data/lib/aws-sdk-proton/plugins/endpoints.rb +16 -0
- data/lib/aws-sdk-proton/types.rb +515 -3
- data/lib/aws-sdk-proton.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd61c2e48f904d5682e558e10b536bb63f56b4090d7096feb0f73e16b197a48c
|
4
|
+
data.tar.gz: 33395ff678b492de30e45e51acf35eb2869409d9d91de3c8f9acee9e19e87155
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0379b9997fe6d4509beca535aa6fb129babb10970713db8c8fd071ee52538ddf800806ced24abf94eacd11686b4e6d18b5b06b0a933e1d540fdc492fd055a21c'
|
7
|
+
data.tar.gz: be969d7c9347de1f880258ce783bd7d0c66901dca1752c148948b058337081fb0385b524b8b155a8b0967a72348f97bdb067f994d61853e84f3033d8b7dffb30
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.25.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.24.0 (2023-04-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for the AWS Proton service sync feature. Service sync enables managing an AWS Proton service (creating and updating instances) and all of it's corresponding service instances from a Git repository.
|
13
|
+
|
4
14
|
1.23.0 (2023-02-03)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.25.0
|
@@ -275,6 +275,11 @@ module Aws::Proton
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -457,6 +462,7 @@ module Aws::Proton
|
|
457
462
|
# resp.component.deployment_status_message #=> String
|
458
463
|
# resp.component.description #=> String
|
459
464
|
# resp.component.environment_name #=> String
|
465
|
+
# resp.component.last_client_request_token #=> String
|
460
466
|
# resp.component.last_deployment_attempted_at #=> Time
|
461
467
|
# resp.component.last_deployment_succeeded_at #=> Time
|
462
468
|
# resp.component.last_modified_at #=> Time
|
@@ -587,6 +593,7 @@ module Aws::Proton
|
|
587
593
|
# resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
|
588
594
|
# resp.service_instance.deployment_status_message #=> String
|
589
595
|
# resp.service_instance.environment_name #=> String
|
596
|
+
# resp.service_instance.last_client_request_token #=> String
|
590
597
|
# resp.service_instance.last_deployment_attempted_at #=> Time
|
591
598
|
# resp.service_instance.last_deployment_succeeded_at #=> Time
|
592
599
|
# resp.service_instance.name #=> String
|
@@ -672,6 +679,12 @@ module Aws::Proton
|
|
672
679
|
#
|
673
680
|
# [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html
|
674
681
|
#
|
682
|
+
# @option params [String] :client_token
|
683
|
+
# The client token for the created component.
|
684
|
+
#
|
685
|
+
# **A suitable default value is auto-generated.** You should normally
|
686
|
+
# not need to pass this option.**
|
687
|
+
#
|
675
688
|
# @option params [String] :description
|
676
689
|
# An optional customer-provided description of the component.
|
677
690
|
#
|
@@ -732,6 +745,7 @@ module Aws::Proton
|
|
732
745
|
# @example Request syntax with placeholder values
|
733
746
|
#
|
734
747
|
# resp = client.create_component({
|
748
|
+
# client_token: "ClientToken",
|
735
749
|
# description: "Description",
|
736
750
|
# environment_name: "ResourceName",
|
737
751
|
# manifest: "TemplateManifestContents", # required
|
@@ -756,6 +770,7 @@ module Aws::Proton
|
|
756
770
|
# resp.component.deployment_status_message #=> String
|
757
771
|
# resp.component.description #=> String
|
758
772
|
# resp.component.environment_name #=> String
|
773
|
+
# resp.component.last_client_request_token #=> String
|
759
774
|
# resp.component.last_deployment_attempted_at #=> Time
|
760
775
|
# resp.component.last_deployment_succeeded_at #=> Time
|
761
776
|
# resp.component.last_modified_at #=> Time
|
@@ -1463,6 +1478,137 @@ module Aws::Proton
|
|
1463
1478
|
req.send_request(options)
|
1464
1479
|
end
|
1465
1480
|
|
1481
|
+
# Create a service instance.
|
1482
|
+
#
|
1483
|
+
# @option params [String] :client_token
|
1484
|
+
# The client token of the service instance to create.
|
1485
|
+
#
|
1486
|
+
# **A suitable default value is auto-generated.** You should normally
|
1487
|
+
# not need to pass this option.**
|
1488
|
+
#
|
1489
|
+
# @option params [required, String] :name
|
1490
|
+
# The name of the service instance to create.
|
1491
|
+
#
|
1492
|
+
# @option params [required, String] :service_name
|
1493
|
+
# The name of the service the service instance is added to.
|
1494
|
+
#
|
1495
|
+
# @option params [required, String] :spec
|
1496
|
+
# The spec for the service instance you want to create.
|
1497
|
+
#
|
1498
|
+
# @option params [Array<Types::Tag>] :tags
|
1499
|
+
# An optional list of metadata items that you can associate with the
|
1500
|
+
# Proton service instance. A tag is a key-value pair.
|
1501
|
+
#
|
1502
|
+
# For more information, see [Proton resources and tagging][1] in the
|
1503
|
+
# *Proton User Guide*.
|
1504
|
+
#
|
1505
|
+
#
|
1506
|
+
#
|
1507
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/userguide/resources.html
|
1508
|
+
#
|
1509
|
+
# @option params [String] :template_major_version
|
1510
|
+
# To create a new major and minor version of the service template,
|
1511
|
+
# *exclude* `major Version`.
|
1512
|
+
#
|
1513
|
+
# @option params [String] :template_minor_version
|
1514
|
+
# To create a new minor version of the service template, include a
|
1515
|
+
# `major Version`.
|
1516
|
+
#
|
1517
|
+
# @return [Types::CreateServiceInstanceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1518
|
+
#
|
1519
|
+
# * {Types::CreateServiceInstanceOutput#service_instance #service_instance} => Types::ServiceInstance
|
1520
|
+
#
|
1521
|
+
# @example Request syntax with placeholder values
|
1522
|
+
#
|
1523
|
+
# resp = client.create_service_instance({
|
1524
|
+
# client_token: "ClientToken",
|
1525
|
+
# name: "ResourceName", # required
|
1526
|
+
# service_name: "ResourceName", # required
|
1527
|
+
# spec: "SpecContents", # required
|
1528
|
+
# tags: [
|
1529
|
+
# {
|
1530
|
+
# key: "TagKey", # required
|
1531
|
+
# value: "TagValue", # required
|
1532
|
+
# },
|
1533
|
+
# ],
|
1534
|
+
# template_major_version: "TemplateVersionPart",
|
1535
|
+
# template_minor_version: "TemplateVersionPart",
|
1536
|
+
# })
|
1537
|
+
#
|
1538
|
+
# @example Response structure
|
1539
|
+
#
|
1540
|
+
# resp.service_instance.arn #=> String
|
1541
|
+
# resp.service_instance.created_at #=> Time
|
1542
|
+
# resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
|
1543
|
+
# resp.service_instance.deployment_status_message #=> String
|
1544
|
+
# resp.service_instance.environment_name #=> String
|
1545
|
+
# resp.service_instance.last_client_request_token #=> String
|
1546
|
+
# resp.service_instance.last_deployment_attempted_at #=> Time
|
1547
|
+
# resp.service_instance.last_deployment_succeeded_at #=> Time
|
1548
|
+
# resp.service_instance.name #=> String
|
1549
|
+
# resp.service_instance.service_name #=> String
|
1550
|
+
# resp.service_instance.spec #=> String
|
1551
|
+
# resp.service_instance.template_major_version #=> String
|
1552
|
+
# resp.service_instance.template_minor_version #=> String
|
1553
|
+
# resp.service_instance.template_name #=> String
|
1554
|
+
#
|
1555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateServiceInstance AWS API Documentation
|
1556
|
+
#
|
1557
|
+
# @overload create_service_instance(params = {})
|
1558
|
+
# @param [Hash] params ({})
|
1559
|
+
def create_service_instance(params = {}, options = {})
|
1560
|
+
req = build_request(:create_service_instance, params)
|
1561
|
+
req.send_request(options)
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
# Create the Proton Ops configuration file.
|
1565
|
+
#
|
1566
|
+
# @option params [required, String] :branch
|
1567
|
+
# The repository branch for your Proton Ops file.
|
1568
|
+
#
|
1569
|
+
# @option params [required, String] :file_path
|
1570
|
+
# The path to the Proton Ops file.
|
1571
|
+
#
|
1572
|
+
# @option params [required, String] :repository_name
|
1573
|
+
# The repository name.
|
1574
|
+
#
|
1575
|
+
# @option params [required, String] :repository_provider
|
1576
|
+
# The provider type for your repository.
|
1577
|
+
#
|
1578
|
+
# @option params [required, String] :service_name
|
1579
|
+
# The name of the service the Proton Ops file is for.
|
1580
|
+
#
|
1581
|
+
# @return [Types::CreateServiceSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1582
|
+
#
|
1583
|
+
# * {Types::CreateServiceSyncConfigOutput#service_sync_config #service_sync_config} => Types::ServiceSyncConfig
|
1584
|
+
#
|
1585
|
+
# @example Request syntax with placeholder values
|
1586
|
+
#
|
1587
|
+
# resp = client.create_service_sync_config({
|
1588
|
+
# branch: "GitBranchName", # required
|
1589
|
+
# file_path: "OpsFilePath", # required
|
1590
|
+
# repository_name: "RepositoryName", # required
|
1591
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
1592
|
+
# service_name: "ResourceName", # required
|
1593
|
+
# })
|
1594
|
+
#
|
1595
|
+
# @example Response structure
|
1596
|
+
#
|
1597
|
+
# resp.service_sync_config.branch #=> String
|
1598
|
+
# resp.service_sync_config.file_path #=> String
|
1599
|
+
# resp.service_sync_config.repository_name #=> String
|
1600
|
+
# resp.service_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1601
|
+
# resp.service_sync_config.service_name #=> String
|
1602
|
+
#
|
1603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateServiceSyncConfig AWS API Documentation
|
1604
|
+
#
|
1605
|
+
# @overload create_service_sync_config(params = {})
|
1606
|
+
# @param [Hash] params ({})
|
1607
|
+
def create_service_sync_config(params = {}, options = {})
|
1608
|
+
req = build_request(:create_service_sync_config, params)
|
1609
|
+
req.send_request(options)
|
1610
|
+
end
|
1611
|
+
|
1466
1612
|
# Create a service template. The administrator creates a service
|
1467
1613
|
# template to define standardized infrastructure and an optional CI/CD
|
1468
1614
|
# service pipeline. Developers, in turn, select the service template
|
@@ -1769,6 +1915,7 @@ module Aws::Proton
|
|
1769
1915
|
# resp.component.deployment_status_message #=> String
|
1770
1916
|
# resp.component.description #=> String
|
1771
1917
|
# resp.component.environment_name #=> String
|
1918
|
+
# resp.component.last_client_request_token #=> String
|
1772
1919
|
# resp.component.last_deployment_attempted_at #=> Time
|
1773
1920
|
# resp.component.last_deployment_succeeded_at #=> Time
|
1774
1921
|
# resp.component.last_modified_at #=> Time
|
@@ -2078,6 +2225,39 @@ module Aws::Proton
|
|
2078
2225
|
req.send_request(options)
|
2079
2226
|
end
|
2080
2227
|
|
2228
|
+
# Delete the Proton Ops file.
|
2229
|
+
#
|
2230
|
+
# @option params [required, String] :service_name
|
2231
|
+
# The name of the service that you want to delete the service sync
|
2232
|
+
# configuration for.
|
2233
|
+
#
|
2234
|
+
# @return [Types::DeleteServiceSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2235
|
+
#
|
2236
|
+
# * {Types::DeleteServiceSyncConfigOutput#service_sync_config #service_sync_config} => Types::ServiceSyncConfig
|
2237
|
+
#
|
2238
|
+
# @example Request syntax with placeholder values
|
2239
|
+
#
|
2240
|
+
# resp = client.delete_service_sync_config({
|
2241
|
+
# service_name: "ResourceName", # required
|
2242
|
+
# })
|
2243
|
+
#
|
2244
|
+
# @example Response structure
|
2245
|
+
#
|
2246
|
+
# resp.service_sync_config.branch #=> String
|
2247
|
+
# resp.service_sync_config.file_path #=> String
|
2248
|
+
# resp.service_sync_config.repository_name #=> String
|
2249
|
+
# resp.service_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2250
|
+
# resp.service_sync_config.service_name #=> String
|
2251
|
+
#
|
2252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteServiceSyncConfig AWS API Documentation
|
2253
|
+
#
|
2254
|
+
# @overload delete_service_sync_config(params = {})
|
2255
|
+
# @param [Hash] params ({})
|
2256
|
+
def delete_service_sync_config(params = {}, options = {})
|
2257
|
+
req = build_request(:delete_service_sync_config, params)
|
2258
|
+
req.send_request(options)
|
2259
|
+
end
|
2260
|
+
|
2081
2261
|
# If no other major or minor versions of the service template exist,
|
2082
2262
|
# delete the service template.
|
2083
2263
|
#
|
@@ -2268,6 +2448,7 @@ module Aws::Proton
|
|
2268
2448
|
# resp.component.deployment_status_message #=> String
|
2269
2449
|
# resp.component.description #=> String
|
2270
2450
|
# resp.component.environment_name #=> String
|
2451
|
+
# resp.component.last_client_request_token #=> String
|
2271
2452
|
# resp.component.last_deployment_attempted_at #=> Time
|
2272
2453
|
# resp.component.last_deployment_succeeded_at #=> Time
|
2273
2454
|
# resp.component.last_modified_at #=> Time
|
@@ -2561,7 +2742,7 @@ module Aws::Proton
|
|
2561
2742
|
# branch: "GitBranchName", # required
|
2562
2743
|
# repository_name: "RepositoryName", # required
|
2563
2744
|
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
2564
|
-
# sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC
|
2745
|
+
# sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC, SERVICE_SYNC
|
2565
2746
|
# })
|
2566
2747
|
#
|
2567
2748
|
# @example Response structure
|
@@ -2594,9 +2775,9 @@ module Aws::Proton
|
|
2594
2775
|
# up-to-date, behind a template major version, or behind a template
|
2595
2776
|
# minor version), the total number of resources, and the number of
|
2596
2777
|
# resources that are in a failed state, grouped by resource type.
|
2597
|
-
# Components, environments, and service templates
|
2598
|
-
# `components`, `environments`, and
|
2599
|
-
# descriptions.
|
2778
|
+
# Components, environments, and service templates return less
|
2779
|
+
# information - see the `components`, `environments`, and
|
2780
|
+
# `serviceTemplates` field descriptions.
|
2600
2781
|
#
|
2601
2782
|
# For context, the action also returns the total number of each type of
|
2602
2783
|
# Proton template in the Amazon Web Services account.
|
@@ -2725,7 +2906,7 @@ module Aws::Proton
|
|
2725
2906
|
# for.
|
2726
2907
|
#
|
2727
2908
|
# @option params [required, String] :service_name
|
2728
|
-
# The name of the service that the service instance
|
2909
|
+
# The name of the service that you want the service instance input for.
|
2729
2910
|
#
|
2730
2911
|
# @return [Types::GetServiceInstanceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2731
2912
|
#
|
@@ -2745,6 +2926,7 @@ module Aws::Proton
|
|
2745
2926
|
# resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
|
2746
2927
|
# resp.service_instance.deployment_status_message #=> String
|
2747
2928
|
# resp.service_instance.environment_name #=> String
|
2929
|
+
# resp.service_instance.last_client_request_token #=> String
|
2748
2930
|
# resp.service_instance.last_deployment_attempted_at #=> Time
|
2749
2931
|
# resp.service_instance.last_deployment_succeeded_at #=> Time
|
2750
2932
|
# resp.service_instance.name #=> String
|
@@ -2768,6 +2950,162 @@ module Aws::Proton
|
|
2768
2950
|
req.send_request(options)
|
2769
2951
|
end
|
2770
2952
|
|
2953
|
+
# Get the status of the synced service instance.
|
2954
|
+
#
|
2955
|
+
# @option params [required, String] :service_instance_name
|
2956
|
+
# The name of the service instance that you want the sync status input
|
2957
|
+
# for.
|
2958
|
+
#
|
2959
|
+
# @option params [required, String] :service_name
|
2960
|
+
# The name of the service that the service instance belongs to.
|
2961
|
+
#
|
2962
|
+
# @return [Types::GetServiceInstanceSyncStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2963
|
+
#
|
2964
|
+
# * {Types::GetServiceInstanceSyncStatusOutput#desired_state #desired_state} => Types::Revision
|
2965
|
+
# * {Types::GetServiceInstanceSyncStatusOutput#latest_successful_sync #latest_successful_sync} => Types::ResourceSyncAttempt
|
2966
|
+
# * {Types::GetServiceInstanceSyncStatusOutput#latest_sync #latest_sync} => Types::ResourceSyncAttempt
|
2967
|
+
#
|
2968
|
+
# @example Request syntax with placeholder values
|
2969
|
+
#
|
2970
|
+
# resp = client.get_service_instance_sync_status({
|
2971
|
+
# service_instance_name: "ResourceName", # required
|
2972
|
+
# service_name: "ResourceName", # required
|
2973
|
+
# })
|
2974
|
+
#
|
2975
|
+
# @example Response structure
|
2976
|
+
#
|
2977
|
+
# resp.desired_state.branch #=> String
|
2978
|
+
# resp.desired_state.directory #=> String
|
2979
|
+
# resp.desired_state.repository_name #=> String
|
2980
|
+
# resp.desired_state.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2981
|
+
# resp.desired_state.sha #=> String
|
2982
|
+
# resp.latest_successful_sync.events #=> Array
|
2983
|
+
# resp.latest_successful_sync.events[0].event #=> String
|
2984
|
+
# resp.latest_successful_sync.events[0].external_id #=> String
|
2985
|
+
# resp.latest_successful_sync.events[0].time #=> Time
|
2986
|
+
# resp.latest_successful_sync.events[0].type #=> String
|
2987
|
+
# resp.latest_successful_sync.initial_revision.branch #=> String
|
2988
|
+
# resp.latest_successful_sync.initial_revision.directory #=> String
|
2989
|
+
# resp.latest_successful_sync.initial_revision.repository_name #=> String
|
2990
|
+
# resp.latest_successful_sync.initial_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2991
|
+
# resp.latest_successful_sync.initial_revision.sha #=> String
|
2992
|
+
# resp.latest_successful_sync.started_at #=> Time
|
2993
|
+
# resp.latest_successful_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
2994
|
+
# resp.latest_successful_sync.target #=> String
|
2995
|
+
# resp.latest_successful_sync.target_revision.branch #=> String
|
2996
|
+
# resp.latest_successful_sync.target_revision.directory #=> String
|
2997
|
+
# resp.latest_successful_sync.target_revision.repository_name #=> String
|
2998
|
+
# resp.latest_successful_sync.target_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2999
|
+
# resp.latest_successful_sync.target_revision.sha #=> String
|
3000
|
+
# resp.latest_sync.events #=> Array
|
3001
|
+
# resp.latest_sync.events[0].event #=> String
|
3002
|
+
# resp.latest_sync.events[0].external_id #=> String
|
3003
|
+
# resp.latest_sync.events[0].time #=> Time
|
3004
|
+
# resp.latest_sync.events[0].type #=> String
|
3005
|
+
# resp.latest_sync.initial_revision.branch #=> String
|
3006
|
+
# resp.latest_sync.initial_revision.directory #=> String
|
3007
|
+
# resp.latest_sync.initial_revision.repository_name #=> String
|
3008
|
+
# resp.latest_sync.initial_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
3009
|
+
# resp.latest_sync.initial_revision.sha #=> String
|
3010
|
+
# resp.latest_sync.started_at #=> Time
|
3011
|
+
# resp.latest_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
3012
|
+
# resp.latest_sync.target #=> String
|
3013
|
+
# resp.latest_sync.target_revision.branch #=> String
|
3014
|
+
# resp.latest_sync.target_revision.directory #=> String
|
3015
|
+
# resp.latest_sync.target_revision.repository_name #=> String
|
3016
|
+
# resp.latest_sync.target_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
3017
|
+
# resp.latest_sync.target_revision.sha #=> String
|
3018
|
+
#
|
3019
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceInstanceSyncStatus AWS API Documentation
|
3020
|
+
#
|
3021
|
+
# @overload get_service_instance_sync_status(params = {})
|
3022
|
+
# @param [Hash] params ({})
|
3023
|
+
def get_service_instance_sync_status(params = {}, options = {})
|
3024
|
+
req = build_request(:get_service_instance_sync_status, params)
|
3025
|
+
req.send_request(options)
|
3026
|
+
end
|
3027
|
+
|
3028
|
+
# Get detailed data for the service sync blocker summary.
|
3029
|
+
#
|
3030
|
+
# @option params [String] :service_instance_name
|
3031
|
+
# The name of the service instance that you want to get the service sync
|
3032
|
+
# blocker summary for. If given bothe the instance name and the service
|
3033
|
+
# name, only the instance is blocked.
|
3034
|
+
#
|
3035
|
+
# @option params [required, String] :service_name
|
3036
|
+
# The name of the service that you want to get the service sync blocker
|
3037
|
+
# summary for. If given only the service name, all instances are
|
3038
|
+
# blocked.
|
3039
|
+
#
|
3040
|
+
# @return [Types::GetServiceSyncBlockerSummaryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3041
|
+
#
|
3042
|
+
# * {Types::GetServiceSyncBlockerSummaryOutput#service_sync_blocker_summary #service_sync_blocker_summary} => Types::ServiceSyncBlockerSummary
|
3043
|
+
#
|
3044
|
+
# @example Request syntax with placeholder values
|
3045
|
+
#
|
3046
|
+
# resp = client.get_service_sync_blocker_summary({
|
3047
|
+
# service_instance_name: "ResourceName",
|
3048
|
+
# service_name: "ResourceName", # required
|
3049
|
+
# })
|
3050
|
+
#
|
3051
|
+
# @example Response structure
|
3052
|
+
#
|
3053
|
+
# resp.service_sync_blocker_summary.latest_blockers #=> Array
|
3054
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].contexts #=> Array
|
3055
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].contexts[0].key #=> String
|
3056
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].contexts[0].value #=> String
|
3057
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].created_at #=> Time
|
3058
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].created_reason #=> String
|
3059
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].id #=> String
|
3060
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].resolved_at #=> Time
|
3061
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].resolved_reason #=> String
|
3062
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].status #=> String, one of "ACTIVE", "RESOLVED"
|
3063
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].type #=> String, one of "AUTOMATED"
|
3064
|
+
# resp.service_sync_blocker_summary.service_instance_name #=> String
|
3065
|
+
# resp.service_sync_blocker_summary.service_name #=> String
|
3066
|
+
#
|
3067
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceSyncBlockerSummary AWS API Documentation
|
3068
|
+
#
|
3069
|
+
# @overload get_service_sync_blocker_summary(params = {})
|
3070
|
+
# @param [Hash] params ({})
|
3071
|
+
def get_service_sync_blocker_summary(params = {}, options = {})
|
3072
|
+
req = build_request(:get_service_sync_blocker_summary, params)
|
3073
|
+
req.send_request(options)
|
3074
|
+
end
|
3075
|
+
|
3076
|
+
# Get detailed information for the service sync configuration.
|
3077
|
+
#
|
3078
|
+
# @option params [required, String] :service_name
|
3079
|
+
# The name of the service that you want to get the service sync
|
3080
|
+
# configuration for.
|
3081
|
+
#
|
3082
|
+
# @return [Types::GetServiceSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3083
|
+
#
|
3084
|
+
# * {Types::GetServiceSyncConfigOutput#service_sync_config #service_sync_config} => Types::ServiceSyncConfig
|
3085
|
+
#
|
3086
|
+
# @example Request syntax with placeholder values
|
3087
|
+
#
|
3088
|
+
# resp = client.get_service_sync_config({
|
3089
|
+
# service_name: "ResourceName", # required
|
3090
|
+
# })
|
3091
|
+
#
|
3092
|
+
# @example Response structure
|
3093
|
+
#
|
3094
|
+
# resp.service_sync_config.branch #=> String
|
3095
|
+
# resp.service_sync_config.file_path #=> String
|
3096
|
+
# resp.service_sync_config.repository_name #=> String
|
3097
|
+
# resp.service_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
3098
|
+
# resp.service_sync_config.service_name #=> String
|
3099
|
+
#
|
3100
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceSyncConfig AWS API Documentation
|
3101
|
+
#
|
3102
|
+
# @overload get_service_sync_config(params = {})
|
3103
|
+
# @param [Hash] params ({})
|
3104
|
+
def get_service_sync_config(params = {}, options = {})
|
3105
|
+
req = build_request(:get_service_sync_config, params)
|
3106
|
+
req.send_request(options)
|
3107
|
+
end
|
3108
|
+
|
2771
3109
|
# Get detailed data for a service template.
|
2772
3110
|
#
|
2773
3111
|
# @option params [required, String] :name
|
@@ -3498,6 +3836,7 @@ module Aws::Proton
|
|
3498
3836
|
# resp.next_token #=> String
|
3499
3837
|
# resp.repositories #=> Array
|
3500
3838
|
# resp.repositories[0].arn #=> String
|
3839
|
+
# resp.repositories[0].connection_arn #=> String
|
3501
3840
|
# resp.repositories[0].name #=> String
|
3502
3841
|
# resp.repositories[0].provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
3503
3842
|
#
|
@@ -3539,7 +3878,7 @@ module Aws::Proton
|
|
3539
3878
|
# next_token: "EmptyNextToken",
|
3540
3879
|
# repository_name: "RepositoryName", # required
|
3541
3880
|
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
3542
|
-
# sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC
|
3881
|
+
# sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC, SERVICE_SYNC
|
3543
3882
|
# })
|
3544
3883
|
#
|
3545
3884
|
# @example Response structure
|
@@ -4276,6 +4615,12 @@ module Aws::Proton
|
|
4276
4615
|
#
|
4277
4616
|
# [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html
|
4278
4617
|
#
|
4618
|
+
# @option params [String] :client_token
|
4619
|
+
# The client token for the updated component.
|
4620
|
+
#
|
4621
|
+
# **A suitable default value is auto-generated.** You should normally
|
4622
|
+
# not need to pass this option.**
|
4623
|
+
#
|
4279
4624
|
# @option params [required, String] :deployment_type
|
4280
4625
|
# The deployment type. It defines the mode for updating a component, as
|
4281
4626
|
# follows:
|
@@ -4338,6 +4683,7 @@ module Aws::Proton
|
|
4338
4683
|
# @example Request syntax with placeholder values
|
4339
4684
|
#
|
4340
4685
|
# resp = client.update_component({
|
4686
|
+
# client_token: "ClientToken",
|
4341
4687
|
# deployment_type: "NONE", # required, accepts NONE, CURRENT_VERSION
|
4342
4688
|
# description: "Description",
|
4343
4689
|
# name: "ResourceName", # required
|
@@ -4355,6 +4701,7 @@ module Aws::Proton
|
|
4355
4701
|
# resp.component.deployment_status_message #=> String
|
4356
4702
|
# resp.component.description #=> String
|
4357
4703
|
# resp.component.environment_name #=> String
|
4704
|
+
# resp.component.last_client_request_token #=> String
|
4358
4705
|
# resp.component.last_deployment_attempted_at #=> Time
|
4359
4706
|
# resp.component.last_deployment_succeeded_at #=> Time
|
4360
4707
|
# resp.component.last_modified_at #=> Time
|
@@ -4879,6 +5226,12 @@ module Aws::Proton
|
|
4879
5226
|
#
|
4880
5227
|
# [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html
|
4881
5228
|
#
|
5229
|
+
# @option params [String] :client_token
|
5230
|
+
# The client token of the service instance to update.
|
5231
|
+
#
|
5232
|
+
# **A suitable default value is auto-generated.** You should normally
|
5233
|
+
# not need to pass this option.**
|
5234
|
+
#
|
4882
5235
|
# @option params [required, String] :deployment_type
|
4883
5236
|
# The deployment type. It defines the mode for updating a service
|
4884
5237
|
# instance, as follows:
|
@@ -4940,6 +5293,7 @@ module Aws::Proton
|
|
4940
5293
|
# @example Request syntax with placeholder values
|
4941
5294
|
#
|
4942
5295
|
# resp = client.update_service_instance({
|
5296
|
+
# client_token: "ClientToken",
|
4943
5297
|
# deployment_type: "NONE", # required, accepts NONE, CURRENT_VERSION, MINOR_VERSION, MAJOR_VERSION
|
4944
5298
|
# name: "ResourceName", # required
|
4945
5299
|
# service_name: "ResourceName", # required
|
@@ -4955,6 +5309,7 @@ module Aws::Proton
|
|
4955
5309
|
# resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
|
4956
5310
|
# resp.service_instance.deployment_status_message #=> String
|
4957
5311
|
# resp.service_instance.environment_name #=> String
|
5312
|
+
# resp.service_instance.last_client_request_token #=> String
|
4958
5313
|
# resp.service_instance.last_deployment_attempted_at #=> Time
|
4959
5314
|
# resp.service_instance.last_deployment_succeeded_at #=> Time
|
4960
5315
|
# resp.service_instance.name #=> String
|
@@ -5104,6 +5459,101 @@ module Aws::Proton
|
|
5104
5459
|
req.send_request(options)
|
5105
5460
|
end
|
5106
5461
|
|
5462
|
+
# Update the service sync blocker by resolving it.
|
5463
|
+
#
|
5464
|
+
# @option params [required, String] :id
|
5465
|
+
# The ID of the service sync blocker.
|
5466
|
+
#
|
5467
|
+
# @option params [required, String] :resolved_reason
|
5468
|
+
# The reason the service sync blocker was resolved.
|
5469
|
+
#
|
5470
|
+
# @return [Types::UpdateServiceSyncBlockerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5471
|
+
#
|
5472
|
+
# * {Types::UpdateServiceSyncBlockerOutput#service_instance_name #service_instance_name} => String
|
5473
|
+
# * {Types::UpdateServiceSyncBlockerOutput#service_name #service_name} => String
|
5474
|
+
# * {Types::UpdateServiceSyncBlockerOutput#service_sync_blocker #service_sync_blocker} => Types::SyncBlocker
|
5475
|
+
#
|
5476
|
+
# @example Request syntax with placeholder values
|
5477
|
+
#
|
5478
|
+
# resp = client.update_service_sync_blocker({
|
5479
|
+
# id: "String", # required
|
5480
|
+
# resolved_reason: "String", # required
|
5481
|
+
# })
|
5482
|
+
#
|
5483
|
+
# @example Response structure
|
5484
|
+
#
|
5485
|
+
# resp.service_instance_name #=> String
|
5486
|
+
# resp.service_name #=> String
|
5487
|
+
# resp.service_sync_blocker.contexts #=> Array
|
5488
|
+
# resp.service_sync_blocker.contexts[0].key #=> String
|
5489
|
+
# resp.service_sync_blocker.contexts[0].value #=> String
|
5490
|
+
# resp.service_sync_blocker.created_at #=> Time
|
5491
|
+
# resp.service_sync_blocker.created_reason #=> String
|
5492
|
+
# resp.service_sync_blocker.id #=> String
|
5493
|
+
# resp.service_sync_blocker.resolved_at #=> Time
|
5494
|
+
# resp.service_sync_blocker.resolved_reason #=> String
|
5495
|
+
# resp.service_sync_blocker.status #=> String, one of "ACTIVE", "RESOLVED"
|
5496
|
+
# resp.service_sync_blocker.type #=> String, one of "AUTOMATED"
|
5497
|
+
#
|
5498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceSyncBlocker AWS API Documentation
|
5499
|
+
#
|
5500
|
+
# @overload update_service_sync_blocker(params = {})
|
5501
|
+
# @param [Hash] params ({})
|
5502
|
+
def update_service_sync_blocker(params = {}, options = {})
|
5503
|
+
req = build_request(:update_service_sync_blocker, params)
|
5504
|
+
req.send_request(options)
|
5505
|
+
end
|
5506
|
+
|
5507
|
+
# Update the Proton Ops config file.
|
5508
|
+
#
|
5509
|
+
# @option params [required, String] :branch
|
5510
|
+
# The name of the code repository branch where the Proton Ops file is
|
5511
|
+
# found.
|
5512
|
+
#
|
5513
|
+
# @option params [required, String] :file_path
|
5514
|
+
# The path to the Proton Ops file.
|
5515
|
+
#
|
5516
|
+
# @option params [required, String] :repository_name
|
5517
|
+
# The name of the repository where the Proton Ops file is found.
|
5518
|
+
#
|
5519
|
+
# @option params [required, String] :repository_provider
|
5520
|
+
# The name of the repository provider where the Proton Ops file is
|
5521
|
+
# found.
|
5522
|
+
#
|
5523
|
+
# @option params [required, String] :service_name
|
5524
|
+
# The name of the service the Proton Ops file is for.
|
5525
|
+
#
|
5526
|
+
# @return [Types::UpdateServiceSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5527
|
+
#
|
5528
|
+
# * {Types::UpdateServiceSyncConfigOutput#service_sync_config #service_sync_config} => Types::ServiceSyncConfig
|
5529
|
+
#
|
5530
|
+
# @example Request syntax with placeholder values
|
5531
|
+
#
|
5532
|
+
# resp = client.update_service_sync_config({
|
5533
|
+
# branch: "GitBranchName", # required
|
5534
|
+
# file_path: "OpsFilePath", # required
|
5535
|
+
# repository_name: "RepositoryName", # required
|
5536
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
5537
|
+
# service_name: "ResourceName", # required
|
5538
|
+
# })
|
5539
|
+
#
|
5540
|
+
# @example Response structure
|
5541
|
+
#
|
5542
|
+
# resp.service_sync_config.branch #=> String
|
5543
|
+
# resp.service_sync_config.file_path #=> String
|
5544
|
+
# resp.service_sync_config.repository_name #=> String
|
5545
|
+
# resp.service_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
5546
|
+
# resp.service_sync_config.service_name #=> String
|
5547
|
+
#
|
5548
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceSyncConfig AWS API Documentation
|
5549
|
+
#
|
5550
|
+
# @overload update_service_sync_config(params = {})
|
5551
|
+
# @param [Hash] params ({})
|
5552
|
+
def update_service_sync_config(params = {}, options = {})
|
5553
|
+
req = build_request(:update_service_sync_config, params)
|
5554
|
+
req.send_request(options)
|
5555
|
+
end
|
5556
|
+
|
5107
5557
|
# Update a service template.
|
5108
5558
|
#
|
5109
5559
|
# @option params [String] :description
|
@@ -5312,7 +5762,7 @@ module Aws::Proton
|
|
5312
5762
|
params: params,
|
5313
5763
|
config: config)
|
5314
5764
|
context[:gem_name] = 'aws-sdk-proton'
|
5315
|
-
context[:gem_version] = '1.
|
5765
|
+
context[:gem_version] = '1.25.0'
|
5316
5766
|
Seahorse::Client::Request.new(handlers, context)
|
5317
5767
|
end
|
5318
5768
|
|