aws-sdk-proton 1.23.0 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-proton/client.rb +452 -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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6443019bdbfabad24bc2a3d32f58a618418882851cde1ce31f5ac3773a36a279
|
4
|
+
data.tar.gz: 12f58c0631dde2ea54d55ee58f3740c374df6da96f8301333a60ed6963f7490c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cf011954a497c35f0ae08f41b36cb3583e57e5ee0e5318450c8feb3141e6ed57f6c63a5a561ee871ebca8cbcf3f932232fc7bf7f2c4c3643f00a25bb7dbc107
|
7
|
+
data.tar.gz: fb5d4ff8530b57bd69bae815d09382666e4d5ad02feeae3beab5778504970bff778119fd5f2bb231cfc7cd66b7758c6233f96905eebeb94febb8b31a7bf7fe20
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.24.0 (2023-04-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
4
9
|
1.23.0 (2023-02-03)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.24.0
|
@@ -457,6 +457,7 @@ module Aws::Proton
|
|
457
457
|
# resp.component.deployment_status_message #=> String
|
458
458
|
# resp.component.description #=> String
|
459
459
|
# resp.component.environment_name #=> String
|
460
|
+
# resp.component.last_client_request_token #=> String
|
460
461
|
# resp.component.last_deployment_attempted_at #=> Time
|
461
462
|
# resp.component.last_deployment_succeeded_at #=> Time
|
462
463
|
# resp.component.last_modified_at #=> Time
|
@@ -587,6 +588,7 @@ module Aws::Proton
|
|
587
588
|
# resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
|
588
589
|
# resp.service_instance.deployment_status_message #=> String
|
589
590
|
# resp.service_instance.environment_name #=> String
|
591
|
+
# resp.service_instance.last_client_request_token #=> String
|
590
592
|
# resp.service_instance.last_deployment_attempted_at #=> Time
|
591
593
|
# resp.service_instance.last_deployment_succeeded_at #=> Time
|
592
594
|
# resp.service_instance.name #=> String
|
@@ -672,6 +674,12 @@ module Aws::Proton
|
|
672
674
|
#
|
673
675
|
# [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html
|
674
676
|
#
|
677
|
+
# @option params [String] :client_token
|
678
|
+
# The client token for the created component.
|
679
|
+
#
|
680
|
+
# **A suitable default value is auto-generated.** You should normally
|
681
|
+
# not need to pass this option.**
|
682
|
+
#
|
675
683
|
# @option params [String] :description
|
676
684
|
# An optional customer-provided description of the component.
|
677
685
|
#
|
@@ -732,6 +740,7 @@ module Aws::Proton
|
|
732
740
|
# @example Request syntax with placeholder values
|
733
741
|
#
|
734
742
|
# resp = client.create_component({
|
743
|
+
# client_token: "ClientToken",
|
735
744
|
# description: "Description",
|
736
745
|
# environment_name: "ResourceName",
|
737
746
|
# manifest: "TemplateManifestContents", # required
|
@@ -756,6 +765,7 @@ module Aws::Proton
|
|
756
765
|
# resp.component.deployment_status_message #=> String
|
757
766
|
# resp.component.description #=> String
|
758
767
|
# resp.component.environment_name #=> String
|
768
|
+
# resp.component.last_client_request_token #=> String
|
759
769
|
# resp.component.last_deployment_attempted_at #=> Time
|
760
770
|
# resp.component.last_deployment_succeeded_at #=> Time
|
761
771
|
# resp.component.last_modified_at #=> Time
|
@@ -1463,6 +1473,137 @@ module Aws::Proton
|
|
1463
1473
|
req.send_request(options)
|
1464
1474
|
end
|
1465
1475
|
|
1476
|
+
# Create a service instance.
|
1477
|
+
#
|
1478
|
+
# @option params [String] :client_token
|
1479
|
+
# The client token of the service instance to create.
|
1480
|
+
#
|
1481
|
+
# **A suitable default value is auto-generated.** You should normally
|
1482
|
+
# not need to pass this option.**
|
1483
|
+
#
|
1484
|
+
# @option params [required, String] :name
|
1485
|
+
# The name of the service instance to create.
|
1486
|
+
#
|
1487
|
+
# @option params [required, String] :service_name
|
1488
|
+
# The name of the service the service instance is added to.
|
1489
|
+
#
|
1490
|
+
# @option params [required, String] :spec
|
1491
|
+
# The spec for the service instance you want to create.
|
1492
|
+
#
|
1493
|
+
# @option params [Array<Types::Tag>] :tags
|
1494
|
+
# An optional list of metadata items that you can associate with the
|
1495
|
+
# Proton service instance. A tag is a key-value pair.
|
1496
|
+
#
|
1497
|
+
# For more information, see [Proton resources and tagging][1] in the
|
1498
|
+
# *Proton User Guide*.
|
1499
|
+
#
|
1500
|
+
#
|
1501
|
+
#
|
1502
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/userguide/resources.html
|
1503
|
+
#
|
1504
|
+
# @option params [String] :template_major_version
|
1505
|
+
# To create a new major and minor version of the service template,
|
1506
|
+
# *exclude* `major Version`.
|
1507
|
+
#
|
1508
|
+
# @option params [String] :template_minor_version
|
1509
|
+
# To create a new minor version of the service template, include a
|
1510
|
+
# `major Version`.
|
1511
|
+
#
|
1512
|
+
# @return [Types::CreateServiceInstanceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1513
|
+
#
|
1514
|
+
# * {Types::CreateServiceInstanceOutput#service_instance #service_instance} => Types::ServiceInstance
|
1515
|
+
#
|
1516
|
+
# @example Request syntax with placeholder values
|
1517
|
+
#
|
1518
|
+
# resp = client.create_service_instance({
|
1519
|
+
# client_token: "ClientToken",
|
1520
|
+
# name: "ResourceName", # required
|
1521
|
+
# service_name: "ResourceName", # required
|
1522
|
+
# spec: "SpecContents", # required
|
1523
|
+
# tags: [
|
1524
|
+
# {
|
1525
|
+
# key: "TagKey", # required
|
1526
|
+
# value: "TagValue", # required
|
1527
|
+
# },
|
1528
|
+
# ],
|
1529
|
+
# template_major_version: "TemplateVersionPart",
|
1530
|
+
# template_minor_version: "TemplateVersionPart",
|
1531
|
+
# })
|
1532
|
+
#
|
1533
|
+
# @example Response structure
|
1534
|
+
#
|
1535
|
+
# resp.service_instance.arn #=> String
|
1536
|
+
# resp.service_instance.created_at #=> Time
|
1537
|
+
# resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
|
1538
|
+
# resp.service_instance.deployment_status_message #=> String
|
1539
|
+
# resp.service_instance.environment_name #=> String
|
1540
|
+
# resp.service_instance.last_client_request_token #=> String
|
1541
|
+
# resp.service_instance.last_deployment_attempted_at #=> Time
|
1542
|
+
# resp.service_instance.last_deployment_succeeded_at #=> Time
|
1543
|
+
# resp.service_instance.name #=> String
|
1544
|
+
# resp.service_instance.service_name #=> String
|
1545
|
+
# resp.service_instance.spec #=> String
|
1546
|
+
# resp.service_instance.template_major_version #=> String
|
1547
|
+
# resp.service_instance.template_minor_version #=> String
|
1548
|
+
# resp.service_instance.template_name #=> String
|
1549
|
+
#
|
1550
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateServiceInstance AWS API Documentation
|
1551
|
+
#
|
1552
|
+
# @overload create_service_instance(params = {})
|
1553
|
+
# @param [Hash] params ({})
|
1554
|
+
def create_service_instance(params = {}, options = {})
|
1555
|
+
req = build_request(:create_service_instance, params)
|
1556
|
+
req.send_request(options)
|
1557
|
+
end
|
1558
|
+
|
1559
|
+
# Create the Proton Ops configuration file.
|
1560
|
+
#
|
1561
|
+
# @option params [required, String] :branch
|
1562
|
+
# The repository branch for your Proton Ops file.
|
1563
|
+
#
|
1564
|
+
# @option params [required, String] :file_path
|
1565
|
+
# The path to the Proton Ops file.
|
1566
|
+
#
|
1567
|
+
# @option params [required, String] :repository_name
|
1568
|
+
# The repository name.
|
1569
|
+
#
|
1570
|
+
# @option params [required, String] :repository_provider
|
1571
|
+
# The provider type for your repository.
|
1572
|
+
#
|
1573
|
+
# @option params [required, String] :service_name
|
1574
|
+
# The name of the service the Proton Ops file is for.
|
1575
|
+
#
|
1576
|
+
# @return [Types::CreateServiceSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1577
|
+
#
|
1578
|
+
# * {Types::CreateServiceSyncConfigOutput#service_sync_config #service_sync_config} => Types::ServiceSyncConfig
|
1579
|
+
#
|
1580
|
+
# @example Request syntax with placeholder values
|
1581
|
+
#
|
1582
|
+
# resp = client.create_service_sync_config({
|
1583
|
+
# branch: "GitBranchName", # required
|
1584
|
+
# file_path: "OpsFilePath", # required
|
1585
|
+
# repository_name: "RepositoryName", # required
|
1586
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
1587
|
+
# service_name: "ResourceName", # required
|
1588
|
+
# })
|
1589
|
+
#
|
1590
|
+
# @example Response structure
|
1591
|
+
#
|
1592
|
+
# resp.service_sync_config.branch #=> String
|
1593
|
+
# resp.service_sync_config.file_path #=> String
|
1594
|
+
# resp.service_sync_config.repository_name #=> String
|
1595
|
+
# resp.service_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1596
|
+
# resp.service_sync_config.service_name #=> String
|
1597
|
+
#
|
1598
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateServiceSyncConfig AWS API Documentation
|
1599
|
+
#
|
1600
|
+
# @overload create_service_sync_config(params = {})
|
1601
|
+
# @param [Hash] params ({})
|
1602
|
+
def create_service_sync_config(params = {}, options = {})
|
1603
|
+
req = build_request(:create_service_sync_config, params)
|
1604
|
+
req.send_request(options)
|
1605
|
+
end
|
1606
|
+
|
1466
1607
|
# Create a service template. The administrator creates a service
|
1467
1608
|
# template to define standardized infrastructure and an optional CI/CD
|
1468
1609
|
# service pipeline. Developers, in turn, select the service template
|
@@ -1769,6 +1910,7 @@ module Aws::Proton
|
|
1769
1910
|
# resp.component.deployment_status_message #=> String
|
1770
1911
|
# resp.component.description #=> String
|
1771
1912
|
# resp.component.environment_name #=> String
|
1913
|
+
# resp.component.last_client_request_token #=> String
|
1772
1914
|
# resp.component.last_deployment_attempted_at #=> Time
|
1773
1915
|
# resp.component.last_deployment_succeeded_at #=> Time
|
1774
1916
|
# resp.component.last_modified_at #=> Time
|
@@ -2078,6 +2220,39 @@ module Aws::Proton
|
|
2078
2220
|
req.send_request(options)
|
2079
2221
|
end
|
2080
2222
|
|
2223
|
+
# Delete the Proton Ops file.
|
2224
|
+
#
|
2225
|
+
# @option params [required, String] :service_name
|
2226
|
+
# The name of the service that you want to delete the service sync
|
2227
|
+
# configuration for.
|
2228
|
+
#
|
2229
|
+
# @return [Types::DeleteServiceSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2230
|
+
#
|
2231
|
+
# * {Types::DeleteServiceSyncConfigOutput#service_sync_config #service_sync_config} => Types::ServiceSyncConfig
|
2232
|
+
#
|
2233
|
+
# @example Request syntax with placeholder values
|
2234
|
+
#
|
2235
|
+
# resp = client.delete_service_sync_config({
|
2236
|
+
# service_name: "ResourceName", # required
|
2237
|
+
# })
|
2238
|
+
#
|
2239
|
+
# @example Response structure
|
2240
|
+
#
|
2241
|
+
# resp.service_sync_config.branch #=> String
|
2242
|
+
# resp.service_sync_config.file_path #=> String
|
2243
|
+
# resp.service_sync_config.repository_name #=> String
|
2244
|
+
# resp.service_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2245
|
+
# resp.service_sync_config.service_name #=> String
|
2246
|
+
#
|
2247
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteServiceSyncConfig AWS API Documentation
|
2248
|
+
#
|
2249
|
+
# @overload delete_service_sync_config(params = {})
|
2250
|
+
# @param [Hash] params ({})
|
2251
|
+
def delete_service_sync_config(params = {}, options = {})
|
2252
|
+
req = build_request(:delete_service_sync_config, params)
|
2253
|
+
req.send_request(options)
|
2254
|
+
end
|
2255
|
+
|
2081
2256
|
# If no other major or minor versions of the service template exist,
|
2082
2257
|
# delete the service template.
|
2083
2258
|
#
|
@@ -2268,6 +2443,7 @@ module Aws::Proton
|
|
2268
2443
|
# resp.component.deployment_status_message #=> String
|
2269
2444
|
# resp.component.description #=> String
|
2270
2445
|
# resp.component.environment_name #=> String
|
2446
|
+
# resp.component.last_client_request_token #=> String
|
2271
2447
|
# resp.component.last_deployment_attempted_at #=> Time
|
2272
2448
|
# resp.component.last_deployment_succeeded_at #=> Time
|
2273
2449
|
# resp.component.last_modified_at #=> Time
|
@@ -2561,7 +2737,7 @@ module Aws::Proton
|
|
2561
2737
|
# branch: "GitBranchName", # required
|
2562
2738
|
# repository_name: "RepositoryName", # required
|
2563
2739
|
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
2564
|
-
# sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC
|
2740
|
+
# sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC, SERVICE_SYNC
|
2565
2741
|
# })
|
2566
2742
|
#
|
2567
2743
|
# @example Response structure
|
@@ -2594,9 +2770,9 @@ module Aws::Proton
|
|
2594
2770
|
# up-to-date, behind a template major version, or behind a template
|
2595
2771
|
# minor version), the total number of resources, and the number of
|
2596
2772
|
# resources that are in a failed state, grouped by resource type.
|
2597
|
-
# Components, environments, and service templates
|
2598
|
-
# `components`, `environments`, and
|
2599
|
-
# descriptions.
|
2773
|
+
# Components, environments, and service templates return less
|
2774
|
+
# information - see the `components`, `environments`, and
|
2775
|
+
# `serviceTemplates` field descriptions.
|
2600
2776
|
#
|
2601
2777
|
# For context, the action also returns the total number of each type of
|
2602
2778
|
# Proton template in the Amazon Web Services account.
|
@@ -2725,7 +2901,7 @@ module Aws::Proton
|
|
2725
2901
|
# for.
|
2726
2902
|
#
|
2727
2903
|
# @option params [required, String] :service_name
|
2728
|
-
# The name of the service that the service instance
|
2904
|
+
# The name of the service that you want the service instance input for.
|
2729
2905
|
#
|
2730
2906
|
# @return [Types::GetServiceInstanceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2731
2907
|
#
|
@@ -2745,6 +2921,7 @@ module Aws::Proton
|
|
2745
2921
|
# resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
|
2746
2922
|
# resp.service_instance.deployment_status_message #=> String
|
2747
2923
|
# resp.service_instance.environment_name #=> String
|
2924
|
+
# resp.service_instance.last_client_request_token #=> String
|
2748
2925
|
# resp.service_instance.last_deployment_attempted_at #=> Time
|
2749
2926
|
# resp.service_instance.last_deployment_succeeded_at #=> Time
|
2750
2927
|
# resp.service_instance.name #=> String
|
@@ -2768,6 +2945,162 @@ module Aws::Proton
|
|
2768
2945
|
req.send_request(options)
|
2769
2946
|
end
|
2770
2947
|
|
2948
|
+
# Get the status of the synced service instance.
|
2949
|
+
#
|
2950
|
+
# @option params [required, String] :service_instance_name
|
2951
|
+
# The name of the service instance that you want the sync status input
|
2952
|
+
# for.
|
2953
|
+
#
|
2954
|
+
# @option params [required, String] :service_name
|
2955
|
+
# The name of the service that the service instance belongs to.
|
2956
|
+
#
|
2957
|
+
# @return [Types::GetServiceInstanceSyncStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2958
|
+
#
|
2959
|
+
# * {Types::GetServiceInstanceSyncStatusOutput#desired_state #desired_state} => Types::Revision
|
2960
|
+
# * {Types::GetServiceInstanceSyncStatusOutput#latest_successful_sync #latest_successful_sync} => Types::ResourceSyncAttempt
|
2961
|
+
# * {Types::GetServiceInstanceSyncStatusOutput#latest_sync #latest_sync} => Types::ResourceSyncAttempt
|
2962
|
+
#
|
2963
|
+
# @example Request syntax with placeholder values
|
2964
|
+
#
|
2965
|
+
# resp = client.get_service_instance_sync_status({
|
2966
|
+
# service_instance_name: "ResourceName", # required
|
2967
|
+
# service_name: "ResourceName", # required
|
2968
|
+
# })
|
2969
|
+
#
|
2970
|
+
# @example Response structure
|
2971
|
+
#
|
2972
|
+
# resp.desired_state.branch #=> String
|
2973
|
+
# resp.desired_state.directory #=> String
|
2974
|
+
# resp.desired_state.repository_name #=> String
|
2975
|
+
# resp.desired_state.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2976
|
+
# resp.desired_state.sha #=> String
|
2977
|
+
# resp.latest_successful_sync.events #=> Array
|
2978
|
+
# resp.latest_successful_sync.events[0].event #=> String
|
2979
|
+
# resp.latest_successful_sync.events[0].external_id #=> String
|
2980
|
+
# resp.latest_successful_sync.events[0].time #=> Time
|
2981
|
+
# resp.latest_successful_sync.events[0].type #=> String
|
2982
|
+
# resp.latest_successful_sync.initial_revision.branch #=> String
|
2983
|
+
# resp.latest_successful_sync.initial_revision.directory #=> String
|
2984
|
+
# resp.latest_successful_sync.initial_revision.repository_name #=> String
|
2985
|
+
# resp.latest_successful_sync.initial_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2986
|
+
# resp.latest_successful_sync.initial_revision.sha #=> String
|
2987
|
+
# resp.latest_successful_sync.started_at #=> Time
|
2988
|
+
# resp.latest_successful_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
2989
|
+
# resp.latest_successful_sync.target #=> String
|
2990
|
+
# resp.latest_successful_sync.target_revision.branch #=> String
|
2991
|
+
# resp.latest_successful_sync.target_revision.directory #=> String
|
2992
|
+
# resp.latest_successful_sync.target_revision.repository_name #=> String
|
2993
|
+
# resp.latest_successful_sync.target_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2994
|
+
# resp.latest_successful_sync.target_revision.sha #=> String
|
2995
|
+
# resp.latest_sync.events #=> Array
|
2996
|
+
# resp.latest_sync.events[0].event #=> String
|
2997
|
+
# resp.latest_sync.events[0].external_id #=> String
|
2998
|
+
# resp.latest_sync.events[0].time #=> Time
|
2999
|
+
# resp.latest_sync.events[0].type #=> String
|
3000
|
+
# resp.latest_sync.initial_revision.branch #=> String
|
3001
|
+
# resp.latest_sync.initial_revision.directory #=> String
|
3002
|
+
# resp.latest_sync.initial_revision.repository_name #=> String
|
3003
|
+
# resp.latest_sync.initial_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
3004
|
+
# resp.latest_sync.initial_revision.sha #=> String
|
3005
|
+
# resp.latest_sync.started_at #=> Time
|
3006
|
+
# resp.latest_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
3007
|
+
# resp.latest_sync.target #=> String
|
3008
|
+
# resp.latest_sync.target_revision.branch #=> String
|
3009
|
+
# resp.latest_sync.target_revision.directory #=> String
|
3010
|
+
# resp.latest_sync.target_revision.repository_name #=> String
|
3011
|
+
# resp.latest_sync.target_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
3012
|
+
# resp.latest_sync.target_revision.sha #=> String
|
3013
|
+
#
|
3014
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceInstanceSyncStatus AWS API Documentation
|
3015
|
+
#
|
3016
|
+
# @overload get_service_instance_sync_status(params = {})
|
3017
|
+
# @param [Hash] params ({})
|
3018
|
+
def get_service_instance_sync_status(params = {}, options = {})
|
3019
|
+
req = build_request(:get_service_instance_sync_status, params)
|
3020
|
+
req.send_request(options)
|
3021
|
+
end
|
3022
|
+
|
3023
|
+
# Get detailed data for the service sync blocker summary.
|
3024
|
+
#
|
3025
|
+
# @option params [String] :service_instance_name
|
3026
|
+
# The name of the service instance that you want to get the service sync
|
3027
|
+
# blocker summary for. If given bothe the instance name and the service
|
3028
|
+
# name, only the instance is blocked.
|
3029
|
+
#
|
3030
|
+
# @option params [required, String] :service_name
|
3031
|
+
# The name of the service that you want to get the service sync blocker
|
3032
|
+
# summary for. If given only the service name, all instances are
|
3033
|
+
# blocked.
|
3034
|
+
#
|
3035
|
+
# @return [Types::GetServiceSyncBlockerSummaryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3036
|
+
#
|
3037
|
+
# * {Types::GetServiceSyncBlockerSummaryOutput#service_sync_blocker_summary #service_sync_blocker_summary} => Types::ServiceSyncBlockerSummary
|
3038
|
+
#
|
3039
|
+
# @example Request syntax with placeholder values
|
3040
|
+
#
|
3041
|
+
# resp = client.get_service_sync_blocker_summary({
|
3042
|
+
# service_instance_name: "ResourceName",
|
3043
|
+
# service_name: "ResourceName", # required
|
3044
|
+
# })
|
3045
|
+
#
|
3046
|
+
# @example Response structure
|
3047
|
+
#
|
3048
|
+
# resp.service_sync_blocker_summary.latest_blockers #=> Array
|
3049
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].contexts #=> Array
|
3050
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].contexts[0].key #=> String
|
3051
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].contexts[0].value #=> String
|
3052
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].created_at #=> Time
|
3053
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].created_reason #=> String
|
3054
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].id #=> String
|
3055
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].resolved_at #=> Time
|
3056
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].resolved_reason #=> String
|
3057
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].status #=> String, one of "ACTIVE", "RESOLVED"
|
3058
|
+
# resp.service_sync_blocker_summary.latest_blockers[0].type #=> String, one of "AUTOMATED"
|
3059
|
+
# resp.service_sync_blocker_summary.service_instance_name #=> String
|
3060
|
+
# resp.service_sync_blocker_summary.service_name #=> String
|
3061
|
+
#
|
3062
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceSyncBlockerSummary AWS API Documentation
|
3063
|
+
#
|
3064
|
+
# @overload get_service_sync_blocker_summary(params = {})
|
3065
|
+
# @param [Hash] params ({})
|
3066
|
+
def get_service_sync_blocker_summary(params = {}, options = {})
|
3067
|
+
req = build_request(:get_service_sync_blocker_summary, params)
|
3068
|
+
req.send_request(options)
|
3069
|
+
end
|
3070
|
+
|
3071
|
+
# Get detailed information for the service sync configuration.
|
3072
|
+
#
|
3073
|
+
# @option params [required, String] :service_name
|
3074
|
+
# The name of the service that you want to get the service sync
|
3075
|
+
# configuration for.
|
3076
|
+
#
|
3077
|
+
# @return [Types::GetServiceSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3078
|
+
#
|
3079
|
+
# * {Types::GetServiceSyncConfigOutput#service_sync_config #service_sync_config} => Types::ServiceSyncConfig
|
3080
|
+
#
|
3081
|
+
# @example Request syntax with placeholder values
|
3082
|
+
#
|
3083
|
+
# resp = client.get_service_sync_config({
|
3084
|
+
# service_name: "ResourceName", # required
|
3085
|
+
# })
|
3086
|
+
#
|
3087
|
+
# @example Response structure
|
3088
|
+
#
|
3089
|
+
# resp.service_sync_config.branch #=> String
|
3090
|
+
# resp.service_sync_config.file_path #=> String
|
3091
|
+
# resp.service_sync_config.repository_name #=> String
|
3092
|
+
# resp.service_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
3093
|
+
# resp.service_sync_config.service_name #=> String
|
3094
|
+
#
|
3095
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceSyncConfig AWS API Documentation
|
3096
|
+
#
|
3097
|
+
# @overload get_service_sync_config(params = {})
|
3098
|
+
# @param [Hash] params ({})
|
3099
|
+
def get_service_sync_config(params = {}, options = {})
|
3100
|
+
req = build_request(:get_service_sync_config, params)
|
3101
|
+
req.send_request(options)
|
3102
|
+
end
|
3103
|
+
|
2771
3104
|
# Get detailed data for a service template.
|
2772
3105
|
#
|
2773
3106
|
# @option params [required, String] :name
|
@@ -3498,6 +3831,7 @@ module Aws::Proton
|
|
3498
3831
|
# resp.next_token #=> String
|
3499
3832
|
# resp.repositories #=> Array
|
3500
3833
|
# resp.repositories[0].arn #=> String
|
3834
|
+
# resp.repositories[0].connection_arn #=> String
|
3501
3835
|
# resp.repositories[0].name #=> String
|
3502
3836
|
# resp.repositories[0].provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
3503
3837
|
#
|
@@ -3539,7 +3873,7 @@ module Aws::Proton
|
|
3539
3873
|
# next_token: "EmptyNextToken",
|
3540
3874
|
# repository_name: "RepositoryName", # required
|
3541
3875
|
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
3542
|
-
# sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC
|
3876
|
+
# sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC, SERVICE_SYNC
|
3543
3877
|
# })
|
3544
3878
|
#
|
3545
3879
|
# @example Response structure
|
@@ -4276,6 +4610,12 @@ module Aws::Proton
|
|
4276
4610
|
#
|
4277
4611
|
# [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html
|
4278
4612
|
#
|
4613
|
+
# @option params [String] :client_token
|
4614
|
+
# The client token for the updated component.
|
4615
|
+
#
|
4616
|
+
# **A suitable default value is auto-generated.** You should normally
|
4617
|
+
# not need to pass this option.**
|
4618
|
+
#
|
4279
4619
|
# @option params [required, String] :deployment_type
|
4280
4620
|
# The deployment type. It defines the mode for updating a component, as
|
4281
4621
|
# follows:
|
@@ -4338,6 +4678,7 @@ module Aws::Proton
|
|
4338
4678
|
# @example Request syntax with placeholder values
|
4339
4679
|
#
|
4340
4680
|
# resp = client.update_component({
|
4681
|
+
# client_token: "ClientToken",
|
4341
4682
|
# deployment_type: "NONE", # required, accepts NONE, CURRENT_VERSION
|
4342
4683
|
# description: "Description",
|
4343
4684
|
# name: "ResourceName", # required
|
@@ -4355,6 +4696,7 @@ module Aws::Proton
|
|
4355
4696
|
# resp.component.deployment_status_message #=> String
|
4356
4697
|
# resp.component.description #=> String
|
4357
4698
|
# resp.component.environment_name #=> String
|
4699
|
+
# resp.component.last_client_request_token #=> String
|
4358
4700
|
# resp.component.last_deployment_attempted_at #=> Time
|
4359
4701
|
# resp.component.last_deployment_succeeded_at #=> Time
|
4360
4702
|
# resp.component.last_modified_at #=> Time
|
@@ -4879,6 +5221,12 @@ module Aws::Proton
|
|
4879
5221
|
#
|
4880
5222
|
# [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html
|
4881
5223
|
#
|
5224
|
+
# @option params [String] :client_token
|
5225
|
+
# The client token of the service instance to update.
|
5226
|
+
#
|
5227
|
+
# **A suitable default value is auto-generated.** You should normally
|
5228
|
+
# not need to pass this option.**
|
5229
|
+
#
|
4882
5230
|
# @option params [required, String] :deployment_type
|
4883
5231
|
# The deployment type. It defines the mode for updating a service
|
4884
5232
|
# instance, as follows:
|
@@ -4940,6 +5288,7 @@ module Aws::Proton
|
|
4940
5288
|
# @example Request syntax with placeholder values
|
4941
5289
|
#
|
4942
5290
|
# resp = client.update_service_instance({
|
5291
|
+
# client_token: "ClientToken",
|
4943
5292
|
# deployment_type: "NONE", # required, accepts NONE, CURRENT_VERSION, MINOR_VERSION, MAJOR_VERSION
|
4944
5293
|
# name: "ResourceName", # required
|
4945
5294
|
# service_name: "ResourceName", # required
|
@@ -4955,6 +5304,7 @@ module Aws::Proton
|
|
4955
5304
|
# resp.service_instance.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
|
4956
5305
|
# resp.service_instance.deployment_status_message #=> String
|
4957
5306
|
# resp.service_instance.environment_name #=> String
|
5307
|
+
# resp.service_instance.last_client_request_token #=> String
|
4958
5308
|
# resp.service_instance.last_deployment_attempted_at #=> Time
|
4959
5309
|
# resp.service_instance.last_deployment_succeeded_at #=> Time
|
4960
5310
|
# resp.service_instance.name #=> String
|
@@ -5104,6 +5454,101 @@ module Aws::Proton
|
|
5104
5454
|
req.send_request(options)
|
5105
5455
|
end
|
5106
5456
|
|
5457
|
+
# Update the service sync blocker by resolving it.
|
5458
|
+
#
|
5459
|
+
# @option params [required, String] :id
|
5460
|
+
# The ID of the service sync blocker.
|
5461
|
+
#
|
5462
|
+
# @option params [required, String] :resolved_reason
|
5463
|
+
# The reason the service sync blocker was resolved.
|
5464
|
+
#
|
5465
|
+
# @return [Types::UpdateServiceSyncBlockerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5466
|
+
#
|
5467
|
+
# * {Types::UpdateServiceSyncBlockerOutput#service_instance_name #service_instance_name} => String
|
5468
|
+
# * {Types::UpdateServiceSyncBlockerOutput#service_name #service_name} => String
|
5469
|
+
# * {Types::UpdateServiceSyncBlockerOutput#service_sync_blocker #service_sync_blocker} => Types::SyncBlocker
|
5470
|
+
#
|
5471
|
+
# @example Request syntax with placeholder values
|
5472
|
+
#
|
5473
|
+
# resp = client.update_service_sync_blocker({
|
5474
|
+
# id: "String", # required
|
5475
|
+
# resolved_reason: "String", # required
|
5476
|
+
# })
|
5477
|
+
#
|
5478
|
+
# @example Response structure
|
5479
|
+
#
|
5480
|
+
# resp.service_instance_name #=> String
|
5481
|
+
# resp.service_name #=> String
|
5482
|
+
# resp.service_sync_blocker.contexts #=> Array
|
5483
|
+
# resp.service_sync_blocker.contexts[0].key #=> String
|
5484
|
+
# resp.service_sync_blocker.contexts[0].value #=> String
|
5485
|
+
# resp.service_sync_blocker.created_at #=> Time
|
5486
|
+
# resp.service_sync_blocker.created_reason #=> String
|
5487
|
+
# resp.service_sync_blocker.id #=> String
|
5488
|
+
# resp.service_sync_blocker.resolved_at #=> Time
|
5489
|
+
# resp.service_sync_blocker.resolved_reason #=> String
|
5490
|
+
# resp.service_sync_blocker.status #=> String, one of "ACTIVE", "RESOLVED"
|
5491
|
+
# resp.service_sync_blocker.type #=> String, one of "AUTOMATED"
|
5492
|
+
#
|
5493
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceSyncBlocker AWS API Documentation
|
5494
|
+
#
|
5495
|
+
# @overload update_service_sync_blocker(params = {})
|
5496
|
+
# @param [Hash] params ({})
|
5497
|
+
def update_service_sync_blocker(params = {}, options = {})
|
5498
|
+
req = build_request(:update_service_sync_blocker, params)
|
5499
|
+
req.send_request(options)
|
5500
|
+
end
|
5501
|
+
|
5502
|
+
# Update the Proton Ops config file.
|
5503
|
+
#
|
5504
|
+
# @option params [required, String] :branch
|
5505
|
+
# The name of the code repository branch where the Proton Ops file is
|
5506
|
+
# found.
|
5507
|
+
#
|
5508
|
+
# @option params [required, String] :file_path
|
5509
|
+
# The path to the Proton Ops file.
|
5510
|
+
#
|
5511
|
+
# @option params [required, String] :repository_name
|
5512
|
+
# The name of the repository where the Proton Ops file is found.
|
5513
|
+
#
|
5514
|
+
# @option params [required, String] :repository_provider
|
5515
|
+
# The name of the repository provider where the Proton Ops file is
|
5516
|
+
# found.
|
5517
|
+
#
|
5518
|
+
# @option params [required, String] :service_name
|
5519
|
+
# The name of the service the Proton Ops file is for.
|
5520
|
+
#
|
5521
|
+
# @return [Types::UpdateServiceSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5522
|
+
#
|
5523
|
+
# * {Types::UpdateServiceSyncConfigOutput#service_sync_config #service_sync_config} => Types::ServiceSyncConfig
|
5524
|
+
#
|
5525
|
+
# @example Request syntax with placeholder values
|
5526
|
+
#
|
5527
|
+
# resp = client.update_service_sync_config({
|
5528
|
+
# branch: "GitBranchName", # required
|
5529
|
+
# file_path: "OpsFilePath", # required
|
5530
|
+
# repository_name: "RepositoryName", # required
|
5531
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
5532
|
+
# service_name: "ResourceName", # required
|
5533
|
+
# })
|
5534
|
+
#
|
5535
|
+
# @example Response structure
|
5536
|
+
#
|
5537
|
+
# resp.service_sync_config.branch #=> String
|
5538
|
+
# resp.service_sync_config.file_path #=> String
|
5539
|
+
# resp.service_sync_config.repository_name #=> String
|
5540
|
+
# resp.service_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
5541
|
+
# resp.service_sync_config.service_name #=> String
|
5542
|
+
#
|
5543
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceSyncConfig AWS API Documentation
|
5544
|
+
#
|
5545
|
+
# @overload update_service_sync_config(params = {})
|
5546
|
+
# @param [Hash] params ({})
|
5547
|
+
def update_service_sync_config(params = {}, options = {})
|
5548
|
+
req = build_request(:update_service_sync_config, params)
|
5549
|
+
req.send_request(options)
|
5550
|
+
end
|
5551
|
+
|
5107
5552
|
# Update a service template.
|
5108
5553
|
#
|
5109
5554
|
# @option params [String] :description
|
@@ -5312,7 +5757,7 @@ module Aws::Proton
|
|
5312
5757
|
params: params,
|
5313
5758
|
config: config)
|
5314
5759
|
context[:gem_name] = 'aws-sdk-proton'
|
5315
|
-
context[:gem_version] = '1.
|
5760
|
+
context[:gem_version] = '1.24.0'
|
5316
5761
|
Seahorse::Client::Request.new(handlers, context)
|
5317
5762
|
end
|
5318
5763
|
|