aws-sdk-proton 1.9.0 → 1.13.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-proton/client.rb +1121 -137
- data/lib/aws-sdk-proton/client_api.rb +611 -2
- data/lib/aws-sdk-proton/types.rb +1701 -290
- data/lib/aws-sdk-proton.rb +1 -1
- metadata +4 -4
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::Proton
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::Proton
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::Proton
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -305,7 +315,7 @@ module Aws::Proton
|
|
305
315
|
# seconds to wait when opening a HTTP session before raising a
|
306
316
|
# `Timeout::Error`.
|
307
317
|
#
|
308
|
-
# @option options [
|
318
|
+
# @option options [Float] :http_read_timeout (60) The default
|
309
319
|
# number of seconds to wait for response data. This value can
|
310
320
|
# safely be set per-request on the session.
|
311
321
|
#
|
@@ -321,6 +331,9 @@ module Aws::Proton
|
|
321
331
|
# disables this behaviour. This value can safely be set per
|
322
332
|
# request on the session.
|
323
333
|
#
|
334
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
335
|
+
# in seconds.
|
336
|
+
#
|
324
337
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
325
338
|
# HTTP debug output will be sent to the `:logger`.
|
326
339
|
#
|
@@ -348,11 +361,11 @@ module Aws::Proton
|
|
348
361
|
|
349
362
|
# In a management account, an environment account connection request is
|
350
363
|
# accepted. When the environment account connection request is accepted,
|
351
|
-
#
|
364
|
+
# Proton can use the associated IAM role to provision environment
|
352
365
|
# infrastructure resources in the associated environment account.
|
353
366
|
#
|
354
367
|
# For more information, see [Environment account connections][1] in the
|
355
|
-
# *
|
368
|
+
# *Proton Administrator guide*.
|
356
369
|
#
|
357
370
|
#
|
358
371
|
#
|
@@ -394,7 +407,7 @@ module Aws::Proton
|
|
394
407
|
|
395
408
|
# Attempts to cancel an environment deployment on an UpdateEnvironment
|
396
409
|
# action, if the deployment is `IN_PROGRESS`. For more information, see
|
397
|
-
# [Update an environment][1] in the *
|
410
|
+
# [Update an environment][1] in the *Proton Administrator guide*.
|
398
411
|
#
|
399
412
|
# The following list includes potential cancellation scenarios.
|
400
413
|
#
|
@@ -439,6 +452,10 @@ module Aws::Proton
|
|
439
452
|
# resp.environment.name #=> String
|
440
453
|
# resp.environment.proton_service_role_arn #=> String
|
441
454
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
455
|
+
# resp.environment.provisioning_repository.arn #=> String
|
456
|
+
# resp.environment.provisioning_repository.branch #=> String
|
457
|
+
# resp.environment.provisioning_repository.name #=> String
|
458
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
442
459
|
# resp.environment.spec #=> String
|
443
460
|
# resp.environment.template_major_version #=> String
|
444
461
|
# resp.environment.template_minor_version #=> String
|
@@ -455,8 +472,8 @@ module Aws::Proton
|
|
455
472
|
|
456
473
|
# Attempts to cancel a service instance deployment on an
|
457
474
|
# UpdateServiceInstance action, if the deployment is `IN_PROGRESS`. For
|
458
|
-
# more information, see *Update a service instance* in the [
|
459
|
-
# Administrator guide][1] or the [
|
475
|
+
# more information, see *Update a service instance* in the [Proton
|
476
|
+
# Administrator guide][1] or the [Proton User guide][2].
|
460
477
|
#
|
461
478
|
# The following list includes potential cancellation scenarios.
|
462
479
|
#
|
@@ -520,8 +537,8 @@ module Aws::Proton
|
|
520
537
|
|
521
538
|
# Attempts to cancel a service pipeline deployment on an
|
522
539
|
# UpdateServicePipeline action, if the deployment is `IN_PROGRESS`. For
|
523
|
-
# more information, see *Update a service pipeline* in the [
|
524
|
-
# Administrator guide][1] or the [
|
540
|
+
# more information, see *Update a service pipeline* in the [Proton
|
541
|
+
# Administrator guide][1] or the [Proton User guide][2].
|
525
542
|
#
|
526
543
|
# The following list includes potential cancellation scenarios.
|
527
544
|
#
|
@@ -576,10 +593,21 @@ module Aws::Proton
|
|
576
593
|
req.send_request(options)
|
577
594
|
end
|
578
595
|
|
579
|
-
# Deploy a new environment. An
|
596
|
+
# Deploy a new environment. An Proton environment is created from an
|
580
597
|
# environment template that defines infrastructure and resources that
|
581
|
-
# can be shared across services.
|
582
|
-
#
|
598
|
+
# can be shared across services.
|
599
|
+
#
|
600
|
+
# **You can provision environments using the following methods:**
|
601
|
+
#
|
602
|
+
# * Standard provisioning: Proton makes direct calls to provision your
|
603
|
+
# resources.
|
604
|
+
#
|
605
|
+
# * Pull request provisioning: Proton makes pull requests on your
|
606
|
+
# repository to provide compiled infrastructure as code (IaC) files
|
607
|
+
# that your IaC engine uses to provision resources.
|
608
|
+
#
|
609
|
+
# For more information, see the [Environments][1] in the *Proton
|
610
|
+
# Administrator Guide.*
|
583
611
|
#
|
584
612
|
#
|
585
613
|
#
|
@@ -593,8 +621,9 @@ module Aws::Proton
|
|
593
621
|
# you're provisioning your environment infrastructure resources to an
|
594
622
|
# environment account. You must include either the
|
595
623
|
# `environmentAccountConnectionId` or `protonServiceRoleArn` parameter
|
596
|
-
# and value
|
597
|
-
# connections][1] in the
|
624
|
+
# and value and omit the `provisioningRepository` parameter and values.
|
625
|
+
# For more information, see [Environment account connections][1] in the
|
626
|
+
# *Proton Administrator guide*.
|
598
627
|
#
|
599
628
|
#
|
600
629
|
#
|
@@ -604,24 +633,40 @@ module Aws::Proton
|
|
604
633
|
# The name of the environment.
|
605
634
|
#
|
606
635
|
# @option params [String] :proton_service_role_arn
|
607
|
-
# The Amazon Resource Name (ARN) of the
|
608
|
-
#
|
609
|
-
#
|
610
|
-
# `protonServiceRoleArn` parameter and value
|
636
|
+
# The Amazon Resource Name (ARN) of the Proton service role that allows
|
637
|
+
# Proton to make calls to other services on your behalf. You must
|
638
|
+
# include either the `environmentAccountConnectionId` or
|
639
|
+
# `protonServiceRoleArn` parameter and value and omit the
|
640
|
+
# `provisioningRepository` parameter when you use standard provisioning.
|
641
|
+
#
|
642
|
+
# @option params [Types::RepositoryBranchInput] :provisioning_repository
|
643
|
+
# The repository that you provide with pull request provisioning. If you
|
644
|
+
# provide this parameter, you must omit the
|
645
|
+
# `environmentAccountConnectionId` and `protonServiceRoleArn`
|
646
|
+
# parameters.
|
647
|
+
#
|
648
|
+
# Provisioning by pull request is currently in feature preview and is
|
649
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
650
|
+
# [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
|
651
|
+
# and Previews.
|
652
|
+
#
|
653
|
+
#
|
654
|
+
#
|
655
|
+
# [1]: https://aws.amazon.com/service-terms
|
611
656
|
#
|
612
657
|
# @option params [required, String] :spec
|
613
658
|
# A link to a YAML formatted spec file that provides inputs as defined
|
614
659
|
# in the environment template bundle schema file. For more information,
|
615
|
-
# see [Environments][1] in the *
|
660
|
+
# see [Environments][1] in the *Proton Administrator Guide*.
|
616
661
|
#
|
617
662
|
#
|
618
663
|
#
|
619
664
|
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-environments.html
|
620
665
|
#
|
621
666
|
# @option params [Array<Types::Tag>] :tags
|
622
|
-
# Create tags for your environment. For more information, see *
|
623
|
-
#
|
624
|
-
#
|
667
|
+
# Create tags for your environment. For more information, see *Proton
|
668
|
+
# resources and tagging* in the [Proton Administrator Guide][1] or
|
669
|
+
# [Proton User Guide][2].
|
625
670
|
#
|
626
671
|
#
|
627
672
|
#
|
@@ -629,14 +674,14 @@ module Aws::Proton
|
|
629
674
|
# [2]: https://docs.aws.amazon.com/proton/latest/userguide/resources.html
|
630
675
|
#
|
631
676
|
# @option params [required, String] :template_major_version
|
632
|
-
# The
|
677
|
+
# The major version of the environment template.
|
633
678
|
#
|
634
679
|
# @option params [String] :template_minor_version
|
635
|
-
# The
|
680
|
+
# The minor version of the environment template.
|
636
681
|
#
|
637
682
|
# @option params [required, String] :template_name
|
638
683
|
# The name of the environment template. For more information, see
|
639
|
-
# [Environment Templates][1] in the *
|
684
|
+
# [Environment Templates][1] in the *Proton Administrator Guide*.
|
640
685
|
#
|
641
686
|
#
|
642
687
|
#
|
@@ -653,6 +698,11 @@ module Aws::Proton
|
|
653
698
|
# environment_account_connection_id: "EnvironmentAccountConnectionId",
|
654
699
|
# name: "ResourceName", # required
|
655
700
|
# proton_service_role_arn: "Arn",
|
701
|
+
# provisioning_repository: {
|
702
|
+
# branch: "GitBranchName", # required
|
703
|
+
# name: "RepositoryName", # required
|
704
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
705
|
+
# },
|
656
706
|
# spec: "SpecContents", # required
|
657
707
|
# tags: [
|
658
708
|
# {
|
@@ -679,6 +729,10 @@ module Aws::Proton
|
|
679
729
|
# resp.environment.name #=> String
|
680
730
|
# resp.environment.proton_service_role_arn #=> String
|
681
731
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
732
|
+
# resp.environment.provisioning_repository.arn #=> String
|
733
|
+
# resp.environment.provisioning_repository.branch #=> String
|
734
|
+
# resp.environment.provisioning_repository.name #=> String
|
735
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
682
736
|
# resp.environment.spec #=> String
|
683
737
|
# resp.environment.template_major_version #=> String
|
684
738
|
# resp.environment.template_minor_version #=> String
|
@@ -700,38 +754,47 @@ module Aws::Proton
|
|
700
754
|
# An environment account connection is a secure bi-directional
|
701
755
|
# connection between a *management account* and an *environment account*
|
702
756
|
# that maintains authorization and permissions. For more information,
|
703
|
-
# see [Environment account connections][1] in the *
|
704
|
-
#
|
757
|
+
# see [Environment account connections][1] in the *Proton Administrator
|
758
|
+
# guide*.
|
705
759
|
#
|
706
760
|
#
|
707
761
|
#
|
708
762
|
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html
|
709
763
|
#
|
710
764
|
# @option params [String] :client_token
|
711
|
-
# When included, if two
|
712
|
-
#
|
713
|
-
#
|
765
|
+
# When included, if two identical requests are made with the same client
|
766
|
+
# token, Proton returns the environment account connection that the
|
767
|
+
# first request created.
|
714
768
|
#
|
715
769
|
# **A suitable default value is auto-generated.** You should normally
|
716
770
|
# not need to pass this option.**
|
717
771
|
#
|
718
772
|
# @option params [required, String] :environment_name
|
719
|
-
# The name of the
|
720
|
-
#
|
773
|
+
# The name of the Proton environment that's created in the associated
|
774
|
+
# management account.
|
721
775
|
#
|
722
776
|
# @option params [required, String] :management_account_id
|
723
777
|
# The ID of the management account that accepts or rejects the
|
724
|
-
# environment account connection. You create an manage the
|
778
|
+
# environment account connection. You create an manage the Proton
|
725
779
|
# environment in this account. If the management account accepts the
|
726
|
-
# environment account connection,
|
727
|
-
#
|
728
|
-
#
|
780
|
+
# environment account connection, Proton can use the associated IAM role
|
781
|
+
# to provision environment infrastructure resources in the associated
|
782
|
+
# environment account.
|
729
783
|
#
|
730
784
|
# @option params [required, String] :role_arn
|
731
785
|
# The Amazon Resource Name (ARN) of the IAM service role that's created
|
732
|
-
# in the environment account.
|
786
|
+
# in the environment account. Proton uses this role to provision
|
733
787
|
# infrastructure resources in the associated environment account.
|
734
788
|
#
|
789
|
+
# @option params [Array<Types::Tag>] :tags
|
790
|
+
# Tags for your environment account connection. For more information,
|
791
|
+
# see [Proton resources and tagging][1] in the *Proton Administrator
|
792
|
+
# Guide*.
|
793
|
+
#
|
794
|
+
#
|
795
|
+
#
|
796
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/resources.html
|
797
|
+
#
|
735
798
|
# @return [Types::CreateEnvironmentAccountConnectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
736
799
|
#
|
737
800
|
# * {Types::CreateEnvironmentAccountConnectionOutput#environment_account_connection #environment_account_connection} => Types::EnvironmentAccountConnection
|
@@ -743,6 +806,12 @@ module Aws::Proton
|
|
743
806
|
# environment_name: "ResourceName", # required
|
744
807
|
# management_account_id: "AwsAccountId", # required
|
745
808
|
# role_arn: "Arn", # required
|
809
|
+
# tags: [
|
810
|
+
# {
|
811
|
+
# key: "TagKey", # required
|
812
|
+
# value: "TagValue", # required
|
813
|
+
# },
|
814
|
+
# ],
|
746
815
|
# })
|
747
816
|
#
|
748
817
|
# @example Response structure
|
@@ -766,25 +835,23 @@ module Aws::Proton
|
|
766
835
|
req.send_request(options)
|
767
836
|
end
|
768
837
|
|
769
|
-
# Create an environment template for
|
770
|
-
#
|
771
|
-
# Guide*.
|
838
|
+
# Create an environment template for Proton. For more information, see
|
839
|
+
# [Environment Templates][1] in the *Proton Administrator Guide*.
|
772
840
|
#
|
773
841
|
# You can create an environment template in one of the two following
|
774
842
|
# ways:
|
775
843
|
#
|
776
844
|
# * Register and publish a *standard* environment template that
|
777
|
-
# instructs
|
778
|
-
# infrastructure.
|
845
|
+
# instructs Proton to deploy and manage environment infrastructure.
|
779
846
|
#
|
780
847
|
# * Register and publish a *customer managed* environment template that
|
781
|
-
# connects
|
782
|
-
#
|
848
|
+
# connects Proton to your existing provisioned infrastructure that you
|
849
|
+
# manage. Proton *doesn't* manage your existing provisioned
|
783
850
|
# infrastructure. To create an environment template for customer
|
784
851
|
# provisioned and managed infrastructure, include the `provisioning`
|
785
852
|
# parameter and set the value to `CUSTOMER_MANAGED`. For more
|
786
853
|
# information, see [Register and publish an environment template][2]
|
787
|
-
# in the *
|
854
|
+
# in the *Proton Administrator Guide*.
|
788
855
|
#
|
789
856
|
#
|
790
857
|
#
|
@@ -798,8 +865,7 @@ module Aws::Proton
|
|
798
865
|
# The environment template name as displayed in the developer interface.
|
799
866
|
#
|
800
867
|
# @option params [String] :encryption_key
|
801
|
-
# A customer provided encryption key that
|
802
|
-
# data.
|
868
|
+
# A customer provided encryption key that Proton uses to encrypt data.
|
803
869
|
#
|
804
870
|
# @option params [required, String] :name
|
805
871
|
# The name of the environment template.
|
@@ -810,8 +876,8 @@ module Aws::Proton
|
|
810
876
|
#
|
811
877
|
# @option params [Array<Types::Tag>] :tags
|
812
878
|
# Create tags for your environment template. For more information, see
|
813
|
-
# *
|
814
|
-
#
|
879
|
+
# *Proton resources and tagging* in the [Proton Administrator Guide][1]
|
880
|
+
# or [Proton User Guide][2].
|
815
881
|
#
|
816
882
|
#
|
817
883
|
#
|
@@ -865,9 +931,9 @@ module Aws::Proton
|
|
865
931
|
# version that's backwards compatible within its major version.
|
866
932
|
#
|
867
933
|
# @option params [String] :client_token
|
868
|
-
# When included, if two
|
869
|
-
#
|
870
|
-
#
|
934
|
+
# When included, if two identical requests are made with the same client
|
935
|
+
# token, Proton returns the environment template version that the first
|
936
|
+
# request created.
|
871
937
|
#
|
872
938
|
# **A suitable default value is auto-generated.** You should normally
|
873
939
|
# not need to pass this option.**
|
@@ -877,10 +943,10 @@ module Aws::Proton
|
|
877
943
|
#
|
878
944
|
# @option params [String] :major_version
|
879
945
|
# To create a new minor version of the environment template, include a
|
880
|
-
# `
|
946
|
+
# `major Version`.
|
881
947
|
#
|
882
948
|
# To create a new major and minor version of the environment template,
|
883
|
-
# *exclude* `
|
949
|
+
# *exclude* `major Version`.
|
884
950
|
#
|
885
951
|
# @option params [required, Types::TemplateVersionSourceInput] :source
|
886
952
|
# An object that includes the template bundle S3 bucket path and name
|
@@ -940,11 +1006,69 @@ module Aws::Proton
|
|
940
1006
|
req.send_request(options)
|
941
1007
|
end
|
942
1008
|
|
943
|
-
# Create
|
944
|
-
#
|
945
|
-
#
|
946
|
-
#
|
947
|
-
#
|
1009
|
+
# Create and register a link to a repository that can be used with pull
|
1010
|
+
# request provisioning or template sync configurations. For more
|
1011
|
+
# information, see [Template bundles][1] and [Template sync
|
1012
|
+
# configurations][2] in the *Proton Administrator Guide*.
|
1013
|
+
#
|
1014
|
+
#
|
1015
|
+
#
|
1016
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html
|
1017
|
+
# [2]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-sync-configs.html
|
1018
|
+
#
|
1019
|
+
# @option params [required, String] :connection_arn
|
1020
|
+
# The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar
|
1021
|
+
# connection. For more information, see [Setting up for Proton][1] in
|
1022
|
+
# the *Proton Administrator Guide*.
|
1023
|
+
#
|
1024
|
+
#
|
1025
|
+
#
|
1026
|
+
# [1]: https://docs.aws.amazon.com/setting-up-for-service
|
1027
|
+
#
|
1028
|
+
# @option params [String] :encryption_key
|
1029
|
+
# The ARN of your customer Amazon Web Services Key Management Service
|
1030
|
+
# (Amazon Web Services KMS) key.
|
1031
|
+
#
|
1032
|
+
# @option params [required, String] :name
|
1033
|
+
# The repository name, for example `myrepos/myrepo`.
|
1034
|
+
#
|
1035
|
+
# @option params [required, String] :provider
|
1036
|
+
# The repository provider.
|
1037
|
+
#
|
1038
|
+
# @return [Types::CreateRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1039
|
+
#
|
1040
|
+
# * {Types::CreateRepositoryOutput#repository #repository} => Types::Repository
|
1041
|
+
#
|
1042
|
+
# @example Request syntax with placeholder values
|
1043
|
+
#
|
1044
|
+
# resp = client.create_repository({
|
1045
|
+
# connection_arn: "Arn", # required
|
1046
|
+
# encryption_key: "Arn",
|
1047
|
+
# name: "RepositoryName", # required
|
1048
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
1049
|
+
# })
|
1050
|
+
#
|
1051
|
+
# @example Response structure
|
1052
|
+
#
|
1053
|
+
# resp.repository.arn #=> String
|
1054
|
+
# resp.repository.connection_arn #=> String
|
1055
|
+
# resp.repository.encryption_key #=> String
|
1056
|
+
# resp.repository.name #=> String
|
1057
|
+
# resp.repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1058
|
+
#
|
1059
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateRepository AWS API Documentation
|
1060
|
+
#
|
1061
|
+
# @overload create_repository(params = {})
|
1062
|
+
# @param [Hash] params ({})
|
1063
|
+
def create_repository(params = {}, options = {})
|
1064
|
+
req = build_request(:create_repository, params)
|
1065
|
+
req.send_request(options)
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
# Create an Proton service. An Proton service is an instantiation of a
|
1069
|
+
# service template and often includes several service instances and
|
1070
|
+
# pipeline. For more information, see [Services][1] in the *Proton
|
1071
|
+
# Administrator Guide* and [Services][2] in the *Proton User Guide*.
|
948
1072
|
#
|
949
1073
|
#
|
950
1074
|
#
|
@@ -953,21 +1077,21 @@ module Aws::Proton
|
|
953
1077
|
#
|
954
1078
|
# @option params [String] :branch_name
|
955
1079
|
# The name of the code repository branch that holds the code that's
|
956
|
-
# deployed in
|
957
|
-
#
|
1080
|
+
# deployed in Proton. *Don't* include this parameter if your service
|
1081
|
+
# template *doesn't* include a service pipeline.
|
958
1082
|
#
|
959
1083
|
# @option params [String] :description
|
960
|
-
# A description of the
|
1084
|
+
# A description of the Proton service.
|
961
1085
|
#
|
962
1086
|
# @option params [required, String] :name
|
963
1087
|
# The service name.
|
964
1088
|
#
|
965
1089
|
# @option params [String] :repository_connection_arn
|
966
1090
|
# The Amazon Resource Name (ARN) of the repository connection. For more
|
967
|
-
# information, see [Set up repository connection][1] in the *
|
968
|
-
# Administrator Guide* and [Setting up with
|
969
|
-
#
|
970
|
-
#
|
1091
|
+
# information, see [Set up repository connection][1] in the *Proton
|
1092
|
+
# Administrator Guide* and [Setting up with Proton][2] in the *Proton
|
1093
|
+
# User Guide*. *Don't* include this parameter if your service template
|
1094
|
+
# *doesn't* include a service pipeline.
|
971
1095
|
#
|
972
1096
|
#
|
973
1097
|
#
|
@@ -983,8 +1107,8 @@ module Aws::Proton
|
|
983
1107
|
# template bundle schema file. The spec file is in YAML format. Don’t
|
984
1108
|
# include pipeline inputs in the spec if your service template *doesn’t*
|
985
1109
|
# include a service pipeline. For more information, see [Create a
|
986
|
-
# service][1] in the *
|
987
|
-
# service][2] in the *
|
1110
|
+
# service][1] in the *Proton Administrator Guide* and [Create a
|
1111
|
+
# service][2] in the *Proton User Guide*.
|
988
1112
|
#
|
989
1113
|
#
|
990
1114
|
#
|
@@ -992,9 +1116,9 @@ module Aws::Proton
|
|
992
1116
|
# [2]: https://docs.aws.amazon.com/proton/latest/userguide/ug-svc-create.html
|
993
1117
|
#
|
994
1118
|
# @option params [Array<Types::Tag>] :tags
|
995
|
-
# Create tags for your service. For more information, see *
|
996
|
-
# resources and tagging* in the [
|
997
|
-
# [
|
1119
|
+
# Create tags for your service. For more information, see *Proton
|
1120
|
+
# resources and tagging* in the [Proton Administrator Guide][1] or
|
1121
|
+
# [Proton User Guide][2].
|
998
1122
|
#
|
999
1123
|
#
|
1000
1124
|
#
|
@@ -1002,12 +1126,12 @@ module Aws::Proton
|
|
1002
1126
|
# [2]: https://docs.aws.amazon.com/proton/latest/userguide/resources.html
|
1003
1127
|
#
|
1004
1128
|
# @option params [required, String] :template_major_version
|
1005
|
-
# The
|
1006
|
-
#
|
1129
|
+
# The major version of the service template that was used to create the
|
1130
|
+
# service.
|
1007
1131
|
#
|
1008
1132
|
# @option params [String] :template_minor_version
|
1009
|
-
# The
|
1010
|
-
#
|
1133
|
+
# The minor version of the service template that was used to create the
|
1134
|
+
# service.
|
1011
1135
|
#
|
1012
1136
|
# @option params [required, String] :template_name
|
1013
1137
|
# The name of the service template that's used to create the service.
|
@@ -1073,11 +1197,11 @@ module Aws::Proton
|
|
1073
1197
|
# Create a service template. The administrator creates a service
|
1074
1198
|
# template to define standardized infrastructure and an optional CICD
|
1075
1199
|
# service pipeline. Developers, in turn, select the service template
|
1076
|
-
# from
|
1200
|
+
# from Proton. If the selected service template includes a service
|
1077
1201
|
# pipeline definition, they provide a link to their source code
|
1078
|
-
# repository.
|
1079
|
-
#
|
1080
|
-
#
|
1202
|
+
# repository. Proton then deploys and manages the infrastructure defined
|
1203
|
+
# by the selected service template. For more information, see [Service
|
1204
|
+
# Templates][1] in the *Proton Administrator Guide*.
|
1081
1205
|
#
|
1082
1206
|
#
|
1083
1207
|
#
|
@@ -1097,20 +1221,20 @@ module Aws::Proton
|
|
1097
1221
|
# The name of the service template.
|
1098
1222
|
#
|
1099
1223
|
# @option params [String] :pipeline_provisioning
|
1100
|
-
#
|
1101
|
-
#
|
1102
|
-
#
|
1103
|
-
#
|
1104
|
-
#
|
1224
|
+
# Proton includes a service pipeline for your service by default. When
|
1225
|
+
# included, this parameter indicates that an Proton service pipeline
|
1226
|
+
# *won't* be included for your service. Once specified, this parameter
|
1227
|
+
# *can't* be changed. For more information, see [Service template
|
1228
|
+
# bundles][1] in the *Proton Administrator Guide*.
|
1105
1229
|
#
|
1106
1230
|
#
|
1107
1231
|
#
|
1108
1232
|
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html
|
1109
1233
|
#
|
1110
1234
|
# @option params [Array<Types::Tag>] :tags
|
1111
|
-
# Create tags for your service template. For more information, see
|
1112
|
-
# Proton resources and tagging* in the [
|
1113
|
-
#
|
1235
|
+
# Create tags for your service template. For more information, see
|
1236
|
+
# *Proton resources and tagging* in the [Proton Administrator Guide][1]
|
1237
|
+
# or [Proton User Guide][2].
|
1114
1238
|
#
|
1115
1239
|
#
|
1116
1240
|
#
|
@@ -1159,14 +1283,14 @@ module Aws::Proton
|
|
1159
1283
|
end
|
1160
1284
|
|
1161
1285
|
# Create a new major or minor version of a service template. A major
|
1162
|
-
# version of a service template is a version that *isn't*
|
1286
|
+
# version of a service template is a version that *isn't* backward
|
1163
1287
|
# compatible. A minor version of a service template is a version that's
|
1164
|
-
#
|
1288
|
+
# backward compatible within its major version.
|
1165
1289
|
#
|
1166
1290
|
# @option params [String] :client_token
|
1167
|
-
# When included, if two
|
1168
|
-
#
|
1169
|
-
#
|
1291
|
+
# When included, if two identical requests are made with the same client
|
1292
|
+
# token, Proton returns the service template version that the first
|
1293
|
+
# request created.
|
1170
1294
|
#
|
1171
1295
|
# **A suitable default value is auto-generated.** You should normally
|
1172
1296
|
# not need to pass this option.**
|
@@ -1180,10 +1304,10 @@ module Aws::Proton
|
|
1180
1304
|
#
|
1181
1305
|
# @option params [String] :major_version
|
1182
1306
|
# To create a new minor version of the service template, include a
|
1183
|
-
# `
|
1307
|
+
# `major Version`.
|
1184
1308
|
#
|
1185
1309
|
# To create a new major and minor version of the service template,
|
1186
|
-
# *exclude* `
|
1310
|
+
# *exclude* `major Version`.
|
1187
1311
|
#
|
1188
1312
|
# @option params [required, Types::TemplateVersionSourceInput] :source
|
1189
1313
|
# An object that includes the template bundle S3 bucket path and name
|
@@ -1252,6 +1376,72 @@ module Aws::Proton
|
|
1252
1376
|
req.send_request(options)
|
1253
1377
|
end
|
1254
1378
|
|
1379
|
+
# Set up a template for automated template version creation. When a
|
1380
|
+
# commit is pushed to your registered [repository][1], Proton checks for
|
1381
|
+
# changes to your repository template bundles. If it detects a template
|
1382
|
+
# bundle change, a new minor or major version of its template is
|
1383
|
+
# created, if the version doesn’t already exist. For more information,
|
1384
|
+
# see [Template sync configurations][2] in the *Proton Administrator
|
1385
|
+
# Guide*.
|
1386
|
+
#
|
1387
|
+
#
|
1388
|
+
#
|
1389
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/APIReference/API_Repository.html
|
1390
|
+
# [2]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-sync-configs.html
|
1391
|
+
#
|
1392
|
+
# @option params [required, String] :branch
|
1393
|
+
# The branch of the registered repository for your template.
|
1394
|
+
#
|
1395
|
+
# @option params [required, String] :repository_name
|
1396
|
+
# The name of your repository, for example `myrepos/myrepo`.
|
1397
|
+
#
|
1398
|
+
# @option params [required, String] :repository_provider
|
1399
|
+
# The provider type for your repository.
|
1400
|
+
#
|
1401
|
+
# @option params [String] :subdirectory
|
1402
|
+
# A repository subdirectory path to your template bundle directory. When
|
1403
|
+
# included, Proton limits the template bundle search to this repository
|
1404
|
+
# directory.
|
1405
|
+
#
|
1406
|
+
# @option params [required, String] :template_name
|
1407
|
+
# The name of your registered template.
|
1408
|
+
#
|
1409
|
+
# @option params [required, String] :template_type
|
1410
|
+
# The type of the registered template.
|
1411
|
+
#
|
1412
|
+
# @return [Types::CreateTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1413
|
+
#
|
1414
|
+
# * {Types::CreateTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
|
1415
|
+
#
|
1416
|
+
# @example Request syntax with placeholder values
|
1417
|
+
#
|
1418
|
+
# resp = client.create_template_sync_config({
|
1419
|
+
# branch: "GitBranchName", # required
|
1420
|
+
# repository_name: "RepositoryName", # required
|
1421
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
1422
|
+
# subdirectory: "Subdirectory",
|
1423
|
+
# template_name: "ResourceName", # required
|
1424
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
1425
|
+
# })
|
1426
|
+
#
|
1427
|
+
# @example Response structure
|
1428
|
+
#
|
1429
|
+
# resp.template_sync_config.branch #=> String
|
1430
|
+
# resp.template_sync_config.repository_name #=> String
|
1431
|
+
# resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1432
|
+
# resp.template_sync_config.subdirectory #=> String
|
1433
|
+
# resp.template_sync_config.template_name #=> String
|
1434
|
+
# resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
|
1435
|
+
#
|
1436
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateTemplateSyncConfig AWS API Documentation
|
1437
|
+
#
|
1438
|
+
# @overload create_template_sync_config(params = {})
|
1439
|
+
# @param [Hash] params ({})
|
1440
|
+
def create_template_sync_config(params = {}, options = {})
|
1441
|
+
req = build_request(:create_template_sync_config, params)
|
1442
|
+
req.send_request(options)
|
1443
|
+
end
|
1444
|
+
|
1255
1445
|
# Delete an environment.
|
1256
1446
|
#
|
1257
1447
|
# @option params [required, String] :name
|
@@ -1281,6 +1471,10 @@ module Aws::Proton
|
|
1281
1471
|
# resp.environment.name #=> String
|
1282
1472
|
# resp.environment.proton_service_role_arn #=> String
|
1283
1473
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
1474
|
+
# resp.environment.provisioning_repository.arn #=> String
|
1475
|
+
# resp.environment.provisioning_repository.branch #=> String
|
1476
|
+
# resp.environment.provisioning_repository.name #=> String
|
1477
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1284
1478
|
# resp.environment.spec #=> String
|
1285
1479
|
# resp.environment.template_major_version #=> String
|
1286
1480
|
# resp.environment.template_minor_version #=> String
|
@@ -1298,14 +1492,14 @@ module Aws::Proton
|
|
1298
1492
|
# In an environment account, delete an environment account connection.
|
1299
1493
|
#
|
1300
1494
|
# After you delete an environment account connection that’s in use by an
|
1301
|
-
#
|
1495
|
+
# Proton environment, Proton *can’t* manage the environment
|
1302
1496
|
# infrastructure resources until a new environment account connection is
|
1303
1497
|
# accepted for the environment account and associated environment.
|
1304
1498
|
# You're responsible for cleaning up provisioned resources that remain
|
1305
1499
|
# without an environment connection.
|
1306
1500
|
#
|
1307
1501
|
# For more information, see [Environment account connections][1] in the
|
1308
|
-
# *
|
1502
|
+
# *Proton Administrator guide*.
|
1309
1503
|
#
|
1310
1504
|
#
|
1311
1505
|
#
|
@@ -1387,13 +1581,13 @@ module Aws::Proton
|
|
1387
1581
|
# `Recommended` version. Delete the `Recommended` version of the
|
1388
1582
|
# environment template if no other major versions or minor versions of
|
1389
1583
|
# the environment template exist. A major version of an environment
|
1390
|
-
# template is a version that's not
|
1584
|
+
# template is a version that's not backward compatible.
|
1391
1585
|
#
|
1392
1586
|
# Delete a minor version of an environment template if it *isn't* the
|
1393
1587
|
# `Recommended` version. Delete a `Recommended` minor version of the
|
1394
1588
|
# environment template if no other minor versions of the environment
|
1395
1589
|
# template exist. A minor version of an environment template is a
|
1396
|
-
# version that's
|
1590
|
+
# version that's backward compatible.
|
1397
1591
|
#
|
1398
1592
|
# @option params [required, String] :major_version
|
1399
1593
|
# The environment template major version to delete.
|
@@ -1439,6 +1633,42 @@ module Aws::Proton
|
|
1439
1633
|
req.send_request(options)
|
1440
1634
|
end
|
1441
1635
|
|
1636
|
+
# De-register and unlink your repository.
|
1637
|
+
#
|
1638
|
+
# @option params [required, String] :name
|
1639
|
+
# The name of the repository.
|
1640
|
+
#
|
1641
|
+
# @option params [required, String] :provider
|
1642
|
+
# The repository provider.
|
1643
|
+
#
|
1644
|
+
# @return [Types::DeleteRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1645
|
+
#
|
1646
|
+
# * {Types::DeleteRepositoryOutput#repository #repository} => Types::Repository
|
1647
|
+
#
|
1648
|
+
# @example Request syntax with placeholder values
|
1649
|
+
#
|
1650
|
+
# resp = client.delete_repository({
|
1651
|
+
# name: "RepositoryName", # required
|
1652
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
1653
|
+
# })
|
1654
|
+
#
|
1655
|
+
# @example Response structure
|
1656
|
+
#
|
1657
|
+
# resp.repository.arn #=> String
|
1658
|
+
# resp.repository.connection_arn #=> String
|
1659
|
+
# resp.repository.encryption_key #=> String
|
1660
|
+
# resp.repository.name #=> String
|
1661
|
+
# resp.repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1662
|
+
#
|
1663
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteRepository AWS API Documentation
|
1664
|
+
#
|
1665
|
+
# @overload delete_repository(params = {})
|
1666
|
+
# @param [Hash] params ({})
|
1667
|
+
def delete_repository(params = {}, options = {})
|
1668
|
+
req = build_request(:delete_repository, params)
|
1669
|
+
req.send_request(options)
|
1670
|
+
end
|
1671
|
+
|
1442
1672
|
# Delete a service.
|
1443
1673
|
#
|
1444
1674
|
# @option params [required, String] :name
|
@@ -1585,7 +1815,44 @@ module Aws::Proton
|
|
1585
1815
|
req.send_request(options)
|
1586
1816
|
end
|
1587
1817
|
|
1588
|
-
#
|
1818
|
+
# Delete a template sync configuration.
|
1819
|
+
#
|
1820
|
+
# @option params [required, String] :template_name
|
1821
|
+
# The template name.
|
1822
|
+
#
|
1823
|
+
# @option params [required, String] :template_type
|
1824
|
+
# The template type.
|
1825
|
+
#
|
1826
|
+
# @return [Types::DeleteTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1827
|
+
#
|
1828
|
+
# * {Types::DeleteTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
|
1829
|
+
#
|
1830
|
+
# @example Request syntax with placeholder values
|
1831
|
+
#
|
1832
|
+
# resp = client.delete_template_sync_config({
|
1833
|
+
# template_name: "ResourceName", # required
|
1834
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
1835
|
+
# })
|
1836
|
+
#
|
1837
|
+
# @example Response structure
|
1838
|
+
#
|
1839
|
+
# resp.template_sync_config.branch #=> String
|
1840
|
+
# resp.template_sync_config.repository_name #=> String
|
1841
|
+
# resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1842
|
+
# resp.template_sync_config.subdirectory #=> String
|
1843
|
+
# resp.template_sync_config.template_name #=> String
|
1844
|
+
# resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
|
1845
|
+
#
|
1846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteTemplateSyncConfig AWS API Documentation
|
1847
|
+
#
|
1848
|
+
# @overload delete_template_sync_config(params = {})
|
1849
|
+
# @param [Hash] params ({})
|
1850
|
+
def delete_template_sync_config(params = {}, options = {})
|
1851
|
+
req = build_request(:delete_template_sync_config, params)
|
1852
|
+
req.send_request(options)
|
1853
|
+
end
|
1854
|
+
|
1855
|
+
# Get detail data for the Proton pipeline service role.
|
1589
1856
|
#
|
1590
1857
|
# @return [Types::GetAccountSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1591
1858
|
#
|
@@ -1593,6 +1860,10 @@ module Aws::Proton
|
|
1593
1860
|
#
|
1594
1861
|
# @example Response structure
|
1595
1862
|
#
|
1863
|
+
# resp.account_settings.pipeline_provisioning_repository.arn #=> String
|
1864
|
+
# resp.account_settings.pipeline_provisioning_repository.branch #=> String
|
1865
|
+
# resp.account_settings.pipeline_provisioning_repository.name #=> String
|
1866
|
+
# resp.account_settings.pipeline_provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1596
1867
|
# resp.account_settings.pipeline_service_role_arn #=> String
|
1597
1868
|
#
|
1598
1869
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetAccountSettings AWS API Documentation
|
@@ -1633,6 +1904,10 @@ module Aws::Proton
|
|
1633
1904
|
# resp.environment.name #=> String
|
1634
1905
|
# resp.environment.proton_service_role_arn #=> String
|
1635
1906
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
1907
|
+
# resp.environment.provisioning_repository.arn #=> String
|
1908
|
+
# resp.environment.provisioning_repository.branch #=> String
|
1909
|
+
# resp.environment.provisioning_repository.name #=> String
|
1910
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
1636
1911
|
# resp.environment.spec #=> String
|
1637
1912
|
# resp.environment.template_major_version #=> String
|
1638
1913
|
# resp.environment.template_minor_version #=> String
|
@@ -1656,7 +1931,7 @@ module Aws::Proton
|
|
1656
1931
|
# account connection.
|
1657
1932
|
#
|
1658
1933
|
# For more information, see [Environment account connections][1] in the
|
1659
|
-
# *
|
1934
|
+
# *Proton Administrator guide*.
|
1660
1935
|
#
|
1661
1936
|
#
|
1662
1937
|
#
|
@@ -1737,8 +2012,8 @@ module Aws::Proton
|
|
1737
2012
|
# template.
|
1738
2013
|
#
|
1739
2014
|
# @option params [required, String] :major_version
|
1740
|
-
# To view environment template major version detail data, include
|
1741
|
-
#
|
2015
|
+
# To view environment template major version detail data, include `major
|
2016
|
+
# Version`.
|
1742
2017
|
#
|
1743
2018
|
# @option params [required, String] :minor_version
|
1744
2019
|
# To view environment template minor version detail data, include
|
@@ -1787,6 +2062,88 @@ module Aws::Proton
|
|
1787
2062
|
req.send_request(options)
|
1788
2063
|
end
|
1789
2064
|
|
2065
|
+
# Get detail data for a repository.
|
2066
|
+
#
|
2067
|
+
# @option params [required, String] :name
|
2068
|
+
# The repository name, for example `myrepos/myrepo`.
|
2069
|
+
#
|
2070
|
+
# @option params [required, String] :provider
|
2071
|
+
# The repository provider.
|
2072
|
+
#
|
2073
|
+
# @return [Types::GetRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2074
|
+
#
|
2075
|
+
# * {Types::GetRepositoryOutput#repository #repository} => Types::Repository
|
2076
|
+
#
|
2077
|
+
# @example Request syntax with placeholder values
|
2078
|
+
#
|
2079
|
+
# resp = client.get_repository({
|
2080
|
+
# name: "RepositoryName", # required
|
2081
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
2082
|
+
# })
|
2083
|
+
#
|
2084
|
+
# @example Response structure
|
2085
|
+
#
|
2086
|
+
# resp.repository.arn #=> String
|
2087
|
+
# resp.repository.connection_arn #=> String
|
2088
|
+
# resp.repository.encryption_key #=> String
|
2089
|
+
# resp.repository.name #=> String
|
2090
|
+
# resp.repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2091
|
+
#
|
2092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetRepository AWS API Documentation
|
2093
|
+
#
|
2094
|
+
# @overload get_repository(params = {})
|
2095
|
+
# @param [Hash] params ({})
|
2096
|
+
def get_repository(params = {}, options = {})
|
2097
|
+
req = build_request(:get_repository, params)
|
2098
|
+
req.send_request(options)
|
2099
|
+
end
|
2100
|
+
|
2101
|
+
# Get the repository sync status.
|
2102
|
+
#
|
2103
|
+
# @option params [required, String] :branch
|
2104
|
+
# The repository branch.
|
2105
|
+
#
|
2106
|
+
# @option params [required, String] :repository_name
|
2107
|
+
# The repository name.
|
2108
|
+
#
|
2109
|
+
# @option params [required, String] :repository_provider
|
2110
|
+
# The repository provider.
|
2111
|
+
#
|
2112
|
+
# @option params [required, String] :sync_type
|
2113
|
+
# The repository sync type.
|
2114
|
+
#
|
2115
|
+
# @return [Types::GetRepositorySyncStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2116
|
+
#
|
2117
|
+
# * {Types::GetRepositorySyncStatusOutput#latest_sync #latest_sync} => Types::RepositorySyncAttempt
|
2118
|
+
#
|
2119
|
+
# @example Request syntax with placeholder values
|
2120
|
+
#
|
2121
|
+
# resp = client.get_repository_sync_status({
|
2122
|
+
# branch: "GitBranchName", # required
|
2123
|
+
# repository_name: "RepositoryName", # required
|
2124
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
2125
|
+
# sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC
|
2126
|
+
# })
|
2127
|
+
#
|
2128
|
+
# @example Response structure
|
2129
|
+
#
|
2130
|
+
# resp.latest_sync.events #=> Array
|
2131
|
+
# resp.latest_sync.events[0].event #=> String
|
2132
|
+
# resp.latest_sync.events[0].external_id #=> String
|
2133
|
+
# resp.latest_sync.events[0].time #=> Time
|
2134
|
+
# resp.latest_sync.events[0].type #=> String
|
2135
|
+
# resp.latest_sync.started_at #=> Time
|
2136
|
+
# resp.latest_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "QUEUED"
|
2137
|
+
#
|
2138
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetRepositorySyncStatus AWS API Documentation
|
2139
|
+
#
|
2140
|
+
# @overload get_repository_sync_status(params = {})
|
2141
|
+
# @param [Hash] params ({})
|
2142
|
+
def get_repository_sync_status(params = {}, options = {})
|
2143
|
+
req = build_request(:get_repository_sync_status, params)
|
2144
|
+
req.send_request(options)
|
2145
|
+
end
|
2146
|
+
|
1790
2147
|
# Get detail data for a service.
|
1791
2148
|
#
|
1792
2149
|
# @option params [required, String] :name
|
@@ -1935,8 +2292,8 @@ module Aws::Proton
|
|
1935
2292
|
# View detail data for a major or minor version of a service template.
|
1936
2293
|
#
|
1937
2294
|
# @option params [required, String] :major_version
|
1938
|
-
# To view service template major version detail data, include
|
1939
|
-
#
|
2295
|
+
# To view service template major version detail data, include `major
|
2296
|
+
# Version`.
|
1940
2297
|
#
|
1941
2298
|
# @option params [required, String] :minor_version
|
1942
2299
|
# To view service template minor version detail data, include
|
@@ -1988,10 +2345,125 @@ module Aws::Proton
|
|
1988
2345
|
req.send_request(options)
|
1989
2346
|
end
|
1990
2347
|
|
2348
|
+
# Get detail data for a template sync configuration.
|
2349
|
+
#
|
2350
|
+
# @option params [required, String] :template_name
|
2351
|
+
# The template name.
|
2352
|
+
#
|
2353
|
+
# @option params [required, String] :template_type
|
2354
|
+
# The template type.
|
2355
|
+
#
|
2356
|
+
# @return [Types::GetTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2357
|
+
#
|
2358
|
+
# * {Types::GetTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
|
2359
|
+
#
|
2360
|
+
# @example Request syntax with placeholder values
|
2361
|
+
#
|
2362
|
+
# resp = client.get_template_sync_config({
|
2363
|
+
# template_name: "ResourceName", # required
|
2364
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
2365
|
+
# })
|
2366
|
+
#
|
2367
|
+
# @example Response structure
|
2368
|
+
#
|
2369
|
+
# resp.template_sync_config.branch #=> String
|
2370
|
+
# resp.template_sync_config.repository_name #=> String
|
2371
|
+
# resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2372
|
+
# resp.template_sync_config.subdirectory #=> String
|
2373
|
+
# resp.template_sync_config.template_name #=> String
|
2374
|
+
# resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
|
2375
|
+
#
|
2376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetTemplateSyncConfig AWS API Documentation
|
2377
|
+
#
|
2378
|
+
# @overload get_template_sync_config(params = {})
|
2379
|
+
# @param [Hash] params ({})
|
2380
|
+
def get_template_sync_config(params = {}, options = {})
|
2381
|
+
req = build_request(:get_template_sync_config, params)
|
2382
|
+
req.send_request(options)
|
2383
|
+
end
|
2384
|
+
|
2385
|
+
# Get the status of a template sync.
|
2386
|
+
#
|
2387
|
+
# @option params [required, String] :template_name
|
2388
|
+
# The template name.
|
2389
|
+
#
|
2390
|
+
# @option params [required, String] :template_type
|
2391
|
+
# The template type.
|
2392
|
+
#
|
2393
|
+
# @option params [required, String] :template_version
|
2394
|
+
# The template version.
|
2395
|
+
#
|
2396
|
+
# @return [Types::GetTemplateSyncStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2397
|
+
#
|
2398
|
+
# * {Types::GetTemplateSyncStatusOutput#desired_state #desired_state} => Types::Revision
|
2399
|
+
# * {Types::GetTemplateSyncStatusOutput#latest_successful_sync #latest_successful_sync} => Types::ResourceSyncAttempt
|
2400
|
+
# * {Types::GetTemplateSyncStatusOutput#latest_sync #latest_sync} => Types::ResourceSyncAttempt
|
2401
|
+
#
|
2402
|
+
# @example Request syntax with placeholder values
|
2403
|
+
#
|
2404
|
+
# resp = client.get_template_sync_status({
|
2405
|
+
# template_name: "ResourceName", # required
|
2406
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
2407
|
+
# template_version: "TemplateVersionPart", # required
|
2408
|
+
# })
|
2409
|
+
#
|
2410
|
+
# @example Response structure
|
2411
|
+
#
|
2412
|
+
# resp.desired_state.branch #=> String
|
2413
|
+
# resp.desired_state.directory #=> String
|
2414
|
+
# resp.desired_state.repository_name #=> String
|
2415
|
+
# resp.desired_state.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2416
|
+
# resp.desired_state.sha #=> String
|
2417
|
+
# resp.latest_successful_sync.events #=> Array
|
2418
|
+
# resp.latest_successful_sync.events[0].event #=> String
|
2419
|
+
# resp.latest_successful_sync.events[0].external_id #=> String
|
2420
|
+
# resp.latest_successful_sync.events[0].time #=> Time
|
2421
|
+
# resp.latest_successful_sync.events[0].type #=> String
|
2422
|
+
# resp.latest_successful_sync.initial_revision.branch #=> String
|
2423
|
+
# resp.latest_successful_sync.initial_revision.directory #=> String
|
2424
|
+
# resp.latest_successful_sync.initial_revision.repository_name #=> String
|
2425
|
+
# resp.latest_successful_sync.initial_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2426
|
+
# resp.latest_successful_sync.initial_revision.sha #=> String
|
2427
|
+
# resp.latest_successful_sync.started_at #=> Time
|
2428
|
+
# resp.latest_successful_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
2429
|
+
# resp.latest_successful_sync.target #=> String
|
2430
|
+
# resp.latest_successful_sync.target_revision.branch #=> String
|
2431
|
+
# resp.latest_successful_sync.target_revision.directory #=> String
|
2432
|
+
# resp.latest_successful_sync.target_revision.repository_name #=> String
|
2433
|
+
# resp.latest_successful_sync.target_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2434
|
+
# resp.latest_successful_sync.target_revision.sha #=> String
|
2435
|
+
# resp.latest_sync.events #=> Array
|
2436
|
+
# resp.latest_sync.events[0].event #=> String
|
2437
|
+
# resp.latest_sync.events[0].external_id #=> String
|
2438
|
+
# resp.latest_sync.events[0].time #=> Time
|
2439
|
+
# resp.latest_sync.events[0].type #=> String
|
2440
|
+
# resp.latest_sync.initial_revision.branch #=> String
|
2441
|
+
# resp.latest_sync.initial_revision.directory #=> String
|
2442
|
+
# resp.latest_sync.initial_revision.repository_name #=> String
|
2443
|
+
# resp.latest_sync.initial_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2444
|
+
# resp.latest_sync.initial_revision.sha #=> String
|
2445
|
+
# resp.latest_sync.started_at #=> Time
|
2446
|
+
# resp.latest_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
2447
|
+
# resp.latest_sync.target #=> String
|
2448
|
+
# resp.latest_sync.target_revision.branch #=> String
|
2449
|
+
# resp.latest_sync.target_revision.directory #=> String
|
2450
|
+
# resp.latest_sync.target_revision.repository_name #=> String
|
2451
|
+
# resp.latest_sync.target_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2452
|
+
# resp.latest_sync.target_revision.sha #=> String
|
2453
|
+
#
|
2454
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetTemplateSyncStatus AWS API Documentation
|
2455
|
+
#
|
2456
|
+
# @overload get_template_sync_status(params = {})
|
2457
|
+
# @param [Hash] params ({})
|
2458
|
+
def get_template_sync_status(params = {}, options = {})
|
2459
|
+
req = build_request(:get_template_sync_status, params)
|
2460
|
+
req.send_request(options)
|
2461
|
+
end
|
2462
|
+
|
1991
2463
|
# View a list of environment account connections.
|
1992
2464
|
#
|
1993
2465
|
# For more information, see [Environment account connections][1] in the
|
1994
|
-
# *
|
2466
|
+
# *Proton Administrator guide*.
|
1995
2467
|
#
|
1996
2468
|
#
|
1997
2469
|
#
|
@@ -2056,15 +2528,97 @@ module Aws::Proton
|
|
2056
2528
|
req.send_request(options)
|
2057
2529
|
end
|
2058
2530
|
|
2531
|
+
# List the infrastructure as code outputs for your environment.
|
2532
|
+
#
|
2533
|
+
# @option params [required, String] :environment_name
|
2534
|
+
# The environment name.
|
2535
|
+
#
|
2536
|
+
# @option params [String] :next_token
|
2537
|
+
# A token to indicate the location of the next environment output in the
|
2538
|
+
# array of environment outputs, after the list of environment outputs
|
2539
|
+
# that was previously requested.
|
2540
|
+
#
|
2541
|
+
# @return [Types::ListEnvironmentOutputsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2542
|
+
#
|
2543
|
+
# * {Types::ListEnvironmentOutputsOutput#next_token #next_token} => String
|
2544
|
+
# * {Types::ListEnvironmentOutputsOutput#outputs #outputs} => Array<Types::Output>
|
2545
|
+
#
|
2546
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2547
|
+
#
|
2548
|
+
# @example Request syntax with placeholder values
|
2549
|
+
#
|
2550
|
+
# resp = client.list_environment_outputs({
|
2551
|
+
# environment_name: "ResourceName", # required
|
2552
|
+
# next_token: "EmptyNextToken",
|
2553
|
+
# })
|
2554
|
+
#
|
2555
|
+
# @example Response structure
|
2556
|
+
#
|
2557
|
+
# resp.next_token #=> String
|
2558
|
+
# resp.outputs #=> Array
|
2559
|
+
# resp.outputs[0].key #=> String
|
2560
|
+
# resp.outputs[0].value_string #=> String
|
2561
|
+
#
|
2562
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentOutputs AWS API Documentation
|
2563
|
+
#
|
2564
|
+
# @overload list_environment_outputs(params = {})
|
2565
|
+
# @param [Hash] params ({})
|
2566
|
+
def list_environment_outputs(params = {}, options = {})
|
2567
|
+
req = build_request(:list_environment_outputs, params)
|
2568
|
+
req.send_request(options)
|
2569
|
+
end
|
2570
|
+
|
2571
|
+
# List the provisioned resources for your environment.
|
2572
|
+
#
|
2573
|
+
# @option params [required, String] :environment_name
|
2574
|
+
# The environment name.
|
2575
|
+
#
|
2576
|
+
# @option params [String] :next_token
|
2577
|
+
# A token to indicate the location of the next environment provisioned
|
2578
|
+
# resource in the array of environment provisioned resources, after the
|
2579
|
+
# list of environment provisioned resources that was previously
|
2580
|
+
# requested.
|
2581
|
+
#
|
2582
|
+
# @return [Types::ListEnvironmentProvisionedResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2583
|
+
#
|
2584
|
+
# * {Types::ListEnvironmentProvisionedResourcesOutput#next_token #next_token} => String
|
2585
|
+
# * {Types::ListEnvironmentProvisionedResourcesOutput#provisioned_resources #provisioned_resources} => Array<Types::ProvisionedResource>
|
2586
|
+
#
|
2587
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2588
|
+
#
|
2589
|
+
# @example Request syntax with placeholder values
|
2590
|
+
#
|
2591
|
+
# resp = client.list_environment_provisioned_resources({
|
2592
|
+
# environment_name: "ResourceName", # required
|
2593
|
+
# next_token: "EmptyNextToken",
|
2594
|
+
# })
|
2595
|
+
#
|
2596
|
+
# @example Response structure
|
2597
|
+
#
|
2598
|
+
# resp.next_token #=> String
|
2599
|
+
# resp.provisioned_resources #=> Array
|
2600
|
+
# resp.provisioned_resources[0].identifier #=> String
|
2601
|
+
# resp.provisioned_resources[0].name #=> String
|
2602
|
+
# resp.provisioned_resources[0].provisioning_engine #=> String, one of "CLOUDFORMATION", "TERRAFORM"
|
2603
|
+
#
|
2604
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentProvisionedResources AWS API Documentation
|
2605
|
+
#
|
2606
|
+
# @overload list_environment_provisioned_resources(params = {})
|
2607
|
+
# @param [Hash] params ({})
|
2608
|
+
def list_environment_provisioned_resources(params = {}, options = {})
|
2609
|
+
req = build_request(:list_environment_provisioned_resources, params)
|
2610
|
+
req.send_request(options)
|
2611
|
+
end
|
2612
|
+
|
2059
2613
|
# List major or minor versions of an environment template with detail
|
2060
2614
|
# data.
|
2061
2615
|
#
|
2062
2616
|
# @option params [String] :major_version
|
2063
2617
|
# To view a list of minor of versions under a major version of an
|
2064
|
-
# environment template, include `
|
2618
|
+
# environment template, include `major Version`.
|
2065
2619
|
#
|
2066
2620
|
# To view a list of major versions of an environment template, *exclude*
|
2067
|
-
# `
|
2621
|
+
# `major Version`.
|
2068
2622
|
#
|
2069
2623
|
# @option params [Integer] :max_results
|
2070
2624
|
# The maximum number of major or minor versions of an environment
|
@@ -2226,6 +2780,185 @@ module Aws::Proton
|
|
2226
2780
|
req.send_request(options)
|
2227
2781
|
end
|
2228
2782
|
|
2783
|
+
# List repositories with detail data.
|
2784
|
+
#
|
2785
|
+
# @option params [Integer] :max_results
|
2786
|
+
# The maximum number of repositories to list.
|
2787
|
+
#
|
2788
|
+
# @option params [String] :next_token
|
2789
|
+
# A token to indicate the location of the next repository in the array
|
2790
|
+
# of repositories, after the list of repositories previously requested.
|
2791
|
+
#
|
2792
|
+
# @return [Types::ListRepositoriesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2793
|
+
#
|
2794
|
+
# * {Types::ListRepositoriesOutput#next_token #next_token} => String
|
2795
|
+
# * {Types::ListRepositoriesOutput#repositories #repositories} => Array<Types::RepositorySummary>
|
2796
|
+
#
|
2797
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2798
|
+
#
|
2799
|
+
# @example Request syntax with placeholder values
|
2800
|
+
#
|
2801
|
+
# resp = client.list_repositories({
|
2802
|
+
# max_results: 1,
|
2803
|
+
# next_token: "NextToken",
|
2804
|
+
# })
|
2805
|
+
#
|
2806
|
+
# @example Response structure
|
2807
|
+
#
|
2808
|
+
# resp.next_token #=> String
|
2809
|
+
# resp.repositories #=> Array
|
2810
|
+
# resp.repositories[0].arn #=> String
|
2811
|
+
# resp.repositories[0].name #=> String
|
2812
|
+
# resp.repositories[0].provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2813
|
+
#
|
2814
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListRepositories AWS API Documentation
|
2815
|
+
#
|
2816
|
+
# @overload list_repositories(params = {})
|
2817
|
+
# @param [Hash] params ({})
|
2818
|
+
def list_repositories(params = {}, options = {})
|
2819
|
+
req = build_request(:list_repositories, params)
|
2820
|
+
req.send_request(options)
|
2821
|
+
end
|
2822
|
+
|
2823
|
+
# List repository sync definitions with detail data.
|
2824
|
+
#
|
2825
|
+
# @option params [String] :next_token
|
2826
|
+
# A token to indicate the location of the next repository sync
|
2827
|
+
# definition in the array of repository sync definitions, after the list
|
2828
|
+
# of repository sync definitions previously requested.
|
2829
|
+
#
|
2830
|
+
# @option params [required, String] :repository_name
|
2831
|
+
# The repository name.
|
2832
|
+
#
|
2833
|
+
# @option params [required, String] :repository_provider
|
2834
|
+
# The repository provider.
|
2835
|
+
#
|
2836
|
+
# @option params [required, String] :sync_type
|
2837
|
+
# The sync type. The only supported value is `TEMPLATE_SYNC`.
|
2838
|
+
#
|
2839
|
+
# @return [Types::ListRepositorySyncDefinitionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2840
|
+
#
|
2841
|
+
# * {Types::ListRepositorySyncDefinitionsOutput#next_token #next_token} => String
|
2842
|
+
# * {Types::ListRepositorySyncDefinitionsOutput#sync_definitions #sync_definitions} => Array<Types::RepositorySyncDefinition>
|
2843
|
+
#
|
2844
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2845
|
+
#
|
2846
|
+
# @example Request syntax with placeholder values
|
2847
|
+
#
|
2848
|
+
# resp = client.list_repository_sync_definitions({
|
2849
|
+
# next_token: "EmptyNextToken",
|
2850
|
+
# repository_name: "RepositoryName", # required
|
2851
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
2852
|
+
# sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC
|
2853
|
+
# })
|
2854
|
+
#
|
2855
|
+
# @example Response structure
|
2856
|
+
#
|
2857
|
+
# resp.next_token #=> String
|
2858
|
+
# resp.sync_definitions #=> Array
|
2859
|
+
# resp.sync_definitions[0].branch #=> String
|
2860
|
+
# resp.sync_definitions[0].directory #=> String
|
2861
|
+
# resp.sync_definitions[0].parent #=> String
|
2862
|
+
# resp.sync_definitions[0].target #=> String
|
2863
|
+
#
|
2864
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListRepositorySyncDefinitions AWS API Documentation
|
2865
|
+
#
|
2866
|
+
# @overload list_repository_sync_definitions(params = {})
|
2867
|
+
# @param [Hash] params ({})
|
2868
|
+
def list_repository_sync_definitions(params = {}, options = {})
|
2869
|
+
req = build_request(:list_repository_sync_definitions, params)
|
2870
|
+
req.send_request(options)
|
2871
|
+
end
|
2872
|
+
|
2873
|
+
# View a list service instance infrastructure as code outputs with
|
2874
|
+
# detail data.
|
2875
|
+
#
|
2876
|
+
# @option params [String] :next_token
|
2877
|
+
# A token to indicate the location of the next output in the array of
|
2878
|
+
# outputs, after the list of outputs that was previously requested.
|
2879
|
+
#
|
2880
|
+
# @option params [required, String] :service_instance_name
|
2881
|
+
# The service instance name.
|
2882
|
+
#
|
2883
|
+
# @option params [required, String] :service_name
|
2884
|
+
# The service name.
|
2885
|
+
#
|
2886
|
+
# @return [Types::ListServiceInstanceOutputsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2887
|
+
#
|
2888
|
+
# * {Types::ListServiceInstanceOutputsOutput#next_token #next_token} => String
|
2889
|
+
# * {Types::ListServiceInstanceOutputsOutput#outputs #outputs} => Array<Types::Output>
|
2890
|
+
#
|
2891
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2892
|
+
#
|
2893
|
+
# @example Request syntax with placeholder values
|
2894
|
+
#
|
2895
|
+
# resp = client.list_service_instance_outputs({
|
2896
|
+
# next_token: "EmptyNextToken",
|
2897
|
+
# service_instance_name: "ResourceName", # required
|
2898
|
+
# service_name: "ResourceName", # required
|
2899
|
+
# })
|
2900
|
+
#
|
2901
|
+
# @example Response structure
|
2902
|
+
#
|
2903
|
+
# resp.next_token #=> String
|
2904
|
+
# resp.outputs #=> Array
|
2905
|
+
# resp.outputs[0].key #=> String
|
2906
|
+
# resp.outputs[0].value_string #=> String
|
2907
|
+
#
|
2908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstanceOutputs AWS API Documentation
|
2909
|
+
#
|
2910
|
+
# @overload list_service_instance_outputs(params = {})
|
2911
|
+
# @param [Hash] params ({})
|
2912
|
+
def list_service_instance_outputs(params = {}, options = {})
|
2913
|
+
req = build_request(:list_service_instance_outputs, params)
|
2914
|
+
req.send_request(options)
|
2915
|
+
end
|
2916
|
+
|
2917
|
+
# List provisioned resources for a service instance with details.
|
2918
|
+
#
|
2919
|
+
# @option params [String] :next_token
|
2920
|
+
# A token to indicate the location of the next provisioned resource in
|
2921
|
+
# the array of provisioned resources, after the list of provisioned
|
2922
|
+
# resources that was previously requested.
|
2923
|
+
#
|
2924
|
+
# @option params [required, String] :service_instance_name
|
2925
|
+
# The service instance name.
|
2926
|
+
#
|
2927
|
+
# @option params [required, String] :service_name
|
2928
|
+
# The service name.
|
2929
|
+
#
|
2930
|
+
# @return [Types::ListServiceInstanceProvisionedResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2931
|
+
#
|
2932
|
+
# * {Types::ListServiceInstanceProvisionedResourcesOutput#next_token #next_token} => String
|
2933
|
+
# * {Types::ListServiceInstanceProvisionedResourcesOutput#provisioned_resources #provisioned_resources} => Array<Types::ProvisionedResource>
|
2934
|
+
#
|
2935
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2936
|
+
#
|
2937
|
+
# @example Request syntax with placeholder values
|
2938
|
+
#
|
2939
|
+
# resp = client.list_service_instance_provisioned_resources({
|
2940
|
+
# next_token: "EmptyNextToken",
|
2941
|
+
# service_instance_name: "ResourceName", # required
|
2942
|
+
# service_name: "ResourceName", # required
|
2943
|
+
# })
|
2944
|
+
#
|
2945
|
+
# @example Response structure
|
2946
|
+
#
|
2947
|
+
# resp.next_token #=> String
|
2948
|
+
# resp.provisioned_resources #=> Array
|
2949
|
+
# resp.provisioned_resources[0].identifier #=> String
|
2950
|
+
# resp.provisioned_resources[0].name #=> String
|
2951
|
+
# resp.provisioned_resources[0].provisioning_engine #=> String, one of "CLOUDFORMATION", "TERRAFORM"
|
2952
|
+
#
|
2953
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstanceProvisionedResources AWS API Documentation
|
2954
|
+
#
|
2955
|
+
# @overload list_service_instance_provisioned_resources(params = {})
|
2956
|
+
# @param [Hash] params ({})
|
2957
|
+
def list_service_instance_provisioned_resources(params = {}, options = {})
|
2958
|
+
req = build_request(:list_service_instance_provisioned_resources, params)
|
2959
|
+
req.send_request(options)
|
2960
|
+
end
|
2961
|
+
|
2229
2962
|
# List service instances with summaries of detail data.
|
2230
2963
|
#
|
2231
2964
|
# @option params [Integer] :max_results
|
@@ -2280,14 +3013,95 @@ module Aws::Proton
|
|
2280
3013
|
req.send_request(options)
|
2281
3014
|
end
|
2282
3015
|
|
3016
|
+
# View a list service pipeline infrastructure as code outputs with
|
3017
|
+
# detail.
|
3018
|
+
#
|
3019
|
+
# @option params [String] :next_token
|
3020
|
+
# A token to indicate the location of the next output in the array of
|
3021
|
+
# outputs, after the list of outputs that was previously requested.
|
3022
|
+
#
|
3023
|
+
# @option params [required, String] :service_name
|
3024
|
+
# The service name.
|
3025
|
+
#
|
3026
|
+
# @return [Types::ListServicePipelineOutputsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3027
|
+
#
|
3028
|
+
# * {Types::ListServicePipelineOutputsOutput#next_token #next_token} => String
|
3029
|
+
# * {Types::ListServicePipelineOutputsOutput#outputs #outputs} => Array<Types::Output>
|
3030
|
+
#
|
3031
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3032
|
+
#
|
3033
|
+
# @example Request syntax with placeholder values
|
3034
|
+
#
|
3035
|
+
# resp = client.list_service_pipeline_outputs({
|
3036
|
+
# next_token: "EmptyNextToken",
|
3037
|
+
# service_name: "ResourceName", # required
|
3038
|
+
# })
|
3039
|
+
#
|
3040
|
+
# @example Response structure
|
3041
|
+
#
|
3042
|
+
# resp.next_token #=> String
|
3043
|
+
# resp.outputs #=> Array
|
3044
|
+
# resp.outputs[0].key #=> String
|
3045
|
+
# resp.outputs[0].value_string #=> String
|
3046
|
+
#
|
3047
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServicePipelineOutputs AWS API Documentation
|
3048
|
+
#
|
3049
|
+
# @overload list_service_pipeline_outputs(params = {})
|
3050
|
+
# @param [Hash] params ({})
|
3051
|
+
def list_service_pipeline_outputs(params = {}, options = {})
|
3052
|
+
req = build_request(:list_service_pipeline_outputs, params)
|
3053
|
+
req.send_request(options)
|
3054
|
+
end
|
3055
|
+
|
3056
|
+
# List provisioned resources for a service and pipeline with details.
|
3057
|
+
#
|
3058
|
+
# @option params [String] :next_token
|
3059
|
+
# A token to indicate the location of the next provisioned resource in
|
3060
|
+
# the array of provisioned resources, after the list of provisioned
|
3061
|
+
# resources that was previously requested.
|
3062
|
+
#
|
3063
|
+
# @option params [required, String] :service_name
|
3064
|
+
# The service name.
|
3065
|
+
#
|
3066
|
+
# @return [Types::ListServicePipelineProvisionedResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3067
|
+
#
|
3068
|
+
# * {Types::ListServicePipelineProvisionedResourcesOutput#next_token #next_token} => String
|
3069
|
+
# * {Types::ListServicePipelineProvisionedResourcesOutput#provisioned_resources #provisioned_resources} => Array<Types::ProvisionedResource>
|
3070
|
+
#
|
3071
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3072
|
+
#
|
3073
|
+
# @example Request syntax with placeholder values
|
3074
|
+
#
|
3075
|
+
# resp = client.list_service_pipeline_provisioned_resources({
|
3076
|
+
# next_token: "EmptyNextToken",
|
3077
|
+
# service_name: "ResourceName", # required
|
3078
|
+
# })
|
3079
|
+
#
|
3080
|
+
# @example Response structure
|
3081
|
+
#
|
3082
|
+
# resp.next_token #=> String
|
3083
|
+
# resp.provisioned_resources #=> Array
|
3084
|
+
# resp.provisioned_resources[0].identifier #=> String
|
3085
|
+
# resp.provisioned_resources[0].name #=> String
|
3086
|
+
# resp.provisioned_resources[0].provisioning_engine #=> String, one of "CLOUDFORMATION", "TERRAFORM"
|
3087
|
+
#
|
3088
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServicePipelineProvisionedResources AWS API Documentation
|
3089
|
+
#
|
3090
|
+
# @overload list_service_pipeline_provisioned_resources(params = {})
|
3091
|
+
# @param [Hash] params ({})
|
3092
|
+
def list_service_pipeline_provisioned_resources(params = {}, options = {})
|
3093
|
+
req = build_request(:list_service_pipeline_provisioned_resources, params)
|
3094
|
+
req.send_request(options)
|
3095
|
+
end
|
3096
|
+
|
2283
3097
|
# List major or minor versions of a service template with detail data.
|
2284
3098
|
#
|
2285
3099
|
# @option params [String] :major_version
|
2286
3100
|
# To view a list of minor of versions under a major version of a service
|
2287
|
-
# template, include `
|
3101
|
+
# template, include `major Version`.
|
2288
3102
|
#
|
2289
3103
|
# To view a list of major versions of a service template, *exclude*
|
2290
|
-
# `
|
3104
|
+
# `major Version`.
|
2291
3105
|
#
|
2292
3106
|
# @option params [Integer] :max_results
|
2293
3107
|
# The maximum number of major or minor versions of a service template to
|
@@ -2432,9 +3246,9 @@ module Aws::Proton
|
|
2432
3246
|
req.send_request(options)
|
2433
3247
|
end
|
2434
3248
|
|
2435
|
-
# List tags for a resource. For more information, see *
|
2436
|
-
#
|
2437
|
-
#
|
3249
|
+
# List tags for a resource. For more information, see *Proton resources
|
3250
|
+
# and tagging* in the [Proton Administrator Guide][1] or [Proton User
|
3251
|
+
# Guide][2].
|
2438
3252
|
#
|
2439
3253
|
#
|
2440
3254
|
#
|
@@ -2483,6 +3297,62 @@ module Aws::Proton
|
|
2483
3297
|
req.send_request(options)
|
2484
3298
|
end
|
2485
3299
|
|
3300
|
+
# Notify Proton of status changes to a provisioned resource when you use
|
3301
|
+
# pull request provisioning. For more information, see [Template
|
3302
|
+
# bundles][1].
|
3303
|
+
#
|
3304
|
+
# Provisioning by pull request is currently in feature preview and is
|
3305
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
3306
|
+
# [Amazon Web Services Feature Preview terms][2], see section 2 on Beta
|
3307
|
+
# and Previews.
|
3308
|
+
#
|
3309
|
+
#
|
3310
|
+
#
|
3311
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html
|
3312
|
+
# [2]: https://aws.amazon.com/service-terms
|
3313
|
+
#
|
3314
|
+
# @option params [String] :deployment_id
|
3315
|
+
# The deployment ID for your provisioned resource.
|
3316
|
+
#
|
3317
|
+
# @option params [Array<Types::Output>] :outputs
|
3318
|
+
# The provisioned resource state change detail data that's returned by
|
3319
|
+
# Proton.
|
3320
|
+
#
|
3321
|
+
# @option params [required, String] :resource_arn
|
3322
|
+
# The provisioned resource Amazon Resource Name (ARN).
|
3323
|
+
#
|
3324
|
+
# @option params [required, String] :status
|
3325
|
+
# The status of your provisioned resource.
|
3326
|
+
#
|
3327
|
+
# @option params [String] :status_message
|
3328
|
+
# The deployment status message for your provisioned resource.
|
3329
|
+
#
|
3330
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3331
|
+
#
|
3332
|
+
# @example Request syntax with placeholder values
|
3333
|
+
#
|
3334
|
+
# resp = client.notify_resource_deployment_status_change({
|
3335
|
+
# deployment_id: "DeploymentId",
|
3336
|
+
# outputs: [
|
3337
|
+
# {
|
3338
|
+
# key: "OutputKey",
|
3339
|
+
# value_string: "OutputValueString",
|
3340
|
+
# },
|
3341
|
+
# ],
|
3342
|
+
# resource_arn: "Arn", # required
|
3343
|
+
# status: "IN_PROGRESS", # required, accepts IN_PROGRESS, FAILED, SUCCEEDED
|
3344
|
+
# status_message: "SyntheticNotifyResourceDeploymentStatusChangeInputString",
|
3345
|
+
# })
|
3346
|
+
#
|
3347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/NotifyResourceDeploymentStatusChange AWS API Documentation
|
3348
|
+
#
|
3349
|
+
# @overload notify_resource_deployment_status_change(params = {})
|
3350
|
+
# @param [Hash] params ({})
|
3351
|
+
def notify_resource_deployment_status_change(params = {}, options = {})
|
3352
|
+
req = build_request(:notify_resource_deployment_status_change, params)
|
3353
|
+
req.send_request(options)
|
3354
|
+
end
|
3355
|
+
|
2486
3356
|
# In a management account, reject an environment account connection from
|
2487
3357
|
# another environment account.
|
2488
3358
|
#
|
@@ -2494,7 +3364,7 @@ module Aws::Proton
|
|
2494
3364
|
# to an environment.
|
2495
3365
|
#
|
2496
3366
|
# For more information, see [Environment account connections][1] in the
|
2497
|
-
# *
|
3367
|
+
# *Proton Administrator guide*.
|
2498
3368
|
#
|
2499
3369
|
#
|
2500
3370
|
#
|
@@ -2534,9 +3404,9 @@ module Aws::Proton
|
|
2534
3404
|
req.send_request(options)
|
2535
3405
|
end
|
2536
3406
|
|
2537
|
-
# Tag a resource. For more information, see *
|
2538
|
-
# tagging* in the [
|
2539
|
-
#
|
3407
|
+
# Tag a resource. For more information, see *Proton resources and
|
3408
|
+
# tagging* in the [Proton Administrator Guide][1] or [Proton User
|
3409
|
+
# Guide][2].
|
2540
3410
|
#
|
2541
3411
|
#
|
2542
3412
|
#
|
@@ -2573,9 +3443,9 @@ module Aws::Proton
|
|
2573
3443
|
req.send_request(options)
|
2574
3444
|
end
|
2575
3445
|
|
2576
|
-
# Remove a tag from a resource. For more information, see *
|
2577
|
-
# resources and tagging* in the [
|
2578
|
-
# [
|
3446
|
+
# Remove a tag from a resource. For more information, see *Proton
|
3447
|
+
# resources and tagging* in the [Proton Administrator Guide][1] or
|
3448
|
+
# [Proton User Guide][2].
|
2579
3449
|
#
|
2580
3450
|
#
|
2581
3451
|
#
|
@@ -2608,11 +3478,31 @@ module Aws::Proton
|
|
2608
3478
|
req.send_request(options)
|
2609
3479
|
end
|
2610
3480
|
|
2611
|
-
# Update the
|
3481
|
+
# Update the Proton service pipeline role or repository settings.
|
3482
|
+
#
|
3483
|
+
# @option params [Types::RepositoryBranchInput] :pipeline_provisioning_repository
|
3484
|
+
# The repository that you provide with pull request provisioning.
|
3485
|
+
#
|
3486
|
+
# Provisioning by pull request is currently in feature preview and is
|
3487
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
3488
|
+
# [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
|
3489
|
+
# and Previews.
|
3490
|
+
#
|
3491
|
+
#
|
3492
|
+
#
|
3493
|
+
# [1]: https://aws.amazon.com/service-terms
|
2612
3494
|
#
|
2613
3495
|
# @option params [String] :pipeline_service_role_arn
|
2614
|
-
# The Amazon Resource Name (ARN) of the
|
2615
|
-
#
|
3496
|
+
# The Amazon Resource Name (ARN) of the Proton pipeline service role.
|
3497
|
+
#
|
3498
|
+
# Provisioning by pull request is currently in feature preview and is
|
3499
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
3500
|
+
# [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
|
3501
|
+
# and Previews.
|
3502
|
+
#
|
3503
|
+
#
|
3504
|
+
#
|
3505
|
+
# [1]: https://aws.amazon.com/service-terms
|
2616
3506
|
#
|
2617
3507
|
# @return [Types::UpdateAccountSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2618
3508
|
#
|
@@ -2621,11 +3511,20 @@ module Aws::Proton
|
|
2621
3511
|
# @example Request syntax with placeholder values
|
2622
3512
|
#
|
2623
3513
|
# resp = client.update_account_settings({
|
2624
|
-
#
|
3514
|
+
# pipeline_provisioning_repository: {
|
3515
|
+
# branch: "GitBranchName", # required
|
3516
|
+
# name: "RepositoryName", # required
|
3517
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
3518
|
+
# },
|
3519
|
+
# pipeline_service_role_arn: "PipelineRoleArn",
|
2625
3520
|
# })
|
2626
3521
|
#
|
2627
3522
|
# @example Response structure
|
2628
3523
|
#
|
3524
|
+
# resp.account_settings.pipeline_provisioning_repository.arn #=> String
|
3525
|
+
# resp.account_settings.pipeline_provisioning_repository.branch #=> String
|
3526
|
+
# resp.account_settings.pipeline_provisioning_repository.name #=> String
|
3527
|
+
# resp.account_settings.pipeline_provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2629
3528
|
# resp.account_settings.pipeline_service_role_arn #=> String
|
2630
3529
|
#
|
2631
3530
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateAccountSettings AWS API Documentation
|
@@ -2640,8 +3539,9 @@ module Aws::Proton
|
|
2640
3539
|
# Update an environment.
|
2641
3540
|
#
|
2642
3541
|
# If the environment is associated with an environment account
|
2643
|
-
# connection, *don't* update or include the `protonServiceRoleArn`
|
2644
|
-
# parameter to update or connect to an
|
3542
|
+
# connection, *don't* update or include the `protonServiceRoleArn` and
|
3543
|
+
# `provisioningRepository` parameter to update or connect to an
|
3544
|
+
# environment account connection.
|
2645
3545
|
#
|
2646
3546
|
# You can only update to a new environment account connection if it was
|
2647
3547
|
# created in the same environment account that the current environment
|
@@ -2656,6 +3556,14 @@ module Aws::Proton
|
|
2656
3556
|
# You can update either the `environmentAccountConnectionId` or
|
2657
3557
|
# `protonServiceRoleArn` parameter and value. You can’t update both.
|
2658
3558
|
#
|
3559
|
+
# If the environment was provisioned with pull request provisioning,
|
3560
|
+
# include the `provisioningRepository` parameter and omit the
|
3561
|
+
# `protonServiceRoleArn` and `environmentAccountConnectionId`
|
3562
|
+
# parameters.
|
3563
|
+
#
|
3564
|
+
# If the environment wasn't provisioned with pull request provisioning,
|
3565
|
+
# omit the `provisioningRepository` parameter.
|
3566
|
+
#
|
2659
3567
|
# There are four modes for updating an environment as described in the
|
2660
3568
|
# following. The `deploymentType` field defines the mode.
|
2661
3569
|
#
|
@@ -2748,17 +3656,29 @@ module Aws::Proton
|
|
2748
3656
|
# The name of the environment to update.
|
2749
3657
|
#
|
2750
3658
|
# @option params [String] :proton_service_role_arn
|
2751
|
-
# The Amazon Resource Name (ARN) of the
|
2752
|
-
#
|
3659
|
+
# The Amazon Resource Name (ARN) of the Proton service role that allows
|
3660
|
+
# Proton to make API calls to other services your behalf.
|
3661
|
+
#
|
3662
|
+
# @option params [Types::RepositoryBranchInput] :provisioning_repository
|
3663
|
+
# The repository that you provide with pull request provisioning.
|
3664
|
+
#
|
3665
|
+
# Provisioning by pull request is currently in feature preview and is
|
3666
|
+
# only usable with Terraform based Proton Templates. To learn more about
|
3667
|
+
# [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
|
3668
|
+
# and Previews.
|
3669
|
+
#
|
3670
|
+
#
|
3671
|
+
#
|
3672
|
+
# [1]: https://aws.amazon.com/service-terms
|
2753
3673
|
#
|
2754
3674
|
# @option params [String] :spec
|
2755
3675
|
# The formatted specification that defines the update.
|
2756
3676
|
#
|
2757
3677
|
# @option params [String] :template_major_version
|
2758
|
-
# The
|
3678
|
+
# The major version of the environment to update.
|
2759
3679
|
#
|
2760
3680
|
# @option params [String] :template_minor_version
|
2761
|
-
# The
|
3681
|
+
# The minor version of the environment to update.
|
2762
3682
|
#
|
2763
3683
|
# @return [Types::UpdateEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2764
3684
|
#
|
@@ -2772,6 +3692,11 @@ module Aws::Proton
|
|
2772
3692
|
# environment_account_connection_id: "EnvironmentAccountConnectionId",
|
2773
3693
|
# name: "ResourceName", # required
|
2774
3694
|
# proton_service_role_arn: "Arn",
|
3695
|
+
# provisioning_repository: {
|
3696
|
+
# branch: "GitBranchName", # required
|
3697
|
+
# name: "RepositoryName", # required
|
3698
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
3699
|
+
# },
|
2775
3700
|
# spec: "SpecContents",
|
2776
3701
|
# template_major_version: "TemplateVersionPart",
|
2777
3702
|
# template_minor_version: "TemplateVersionPart",
|
@@ -2791,6 +3716,10 @@ module Aws::Proton
|
|
2791
3716
|
# resp.environment.name #=> String
|
2792
3717
|
# resp.environment.proton_service_role_arn #=> String
|
2793
3718
|
# resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
|
3719
|
+
# resp.environment.provisioning_repository.arn #=> String
|
3720
|
+
# resp.environment.provisioning_repository.branch #=> String
|
3721
|
+
# resp.environment.provisioning_repository.name #=> String
|
3722
|
+
# resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
2794
3723
|
# resp.environment.spec #=> String
|
2795
3724
|
# resp.environment.template_major_version #=> String
|
2796
3725
|
# resp.environment.template_minor_version #=> String
|
@@ -2809,7 +3738,7 @@ module Aws::Proton
|
|
2809
3738
|
# use a new IAM role.
|
2810
3739
|
#
|
2811
3740
|
# For more information, see [Environment account connections][1] in the
|
2812
|
-
# *
|
3741
|
+
# *Proton Administrator guide*.
|
2813
3742
|
#
|
2814
3743
|
#
|
2815
3744
|
#
|
@@ -2905,8 +3834,8 @@ module Aws::Proton
|
|
2905
3834
|
# A description of environment template version to update.
|
2906
3835
|
#
|
2907
3836
|
# @option params [required, String] :major_version
|
2908
|
-
# To update a major version of an environment template, include
|
2909
|
-
#
|
3837
|
+
# To update a major version of an environment template, include `major
|
3838
|
+
# Version`.
|
2910
3839
|
#
|
2911
3840
|
# @option params [required, String] :minor_version
|
2912
3841
|
# To update a minor version of an environment template, include
|
@@ -2977,8 +3906,8 @@ module Aws::Proton
|
|
2977
3906
|
# Lists the service instances to add and the existing service instances
|
2978
3907
|
# to remain. Omit the existing service instances to delete from the
|
2979
3908
|
# list. *Don't* include edits to the existing service instances or
|
2980
|
-
# pipeline. For more information, see *Edit a service* in the [
|
2981
|
-
#
|
3909
|
+
# pipeline. For more information, see *Edit a service* in the [Proton
|
3910
|
+
# Administrator Guide][1] or the [Proton User Guide][2].
|
2982
3911
|
#
|
2983
3912
|
#
|
2984
3913
|
#
|
@@ -3353,8 +4282,8 @@ module Aws::Proton
|
|
3353
4282
|
# A description of a service template version to update.
|
3354
4283
|
#
|
3355
4284
|
# @option params [required, String] :major_version
|
3356
|
-
# To update a major version of a service template, include
|
3357
|
-
#
|
4285
|
+
# To update a major version of a service template, include `major
|
4286
|
+
# Version`.
|
3358
4287
|
#
|
3359
4288
|
# @option params [required, String] :minor_version
|
3360
4289
|
# To update a minor version of a service template, include
|
@@ -3412,6 +4341,61 @@ module Aws::Proton
|
|
3412
4341
|
req.send_request(options)
|
3413
4342
|
end
|
3414
4343
|
|
4344
|
+
# Update template sync configuration parameters, except for the
|
4345
|
+
# `templateName` and `templateType`.
|
4346
|
+
#
|
4347
|
+
# @option params [required, String] :branch
|
4348
|
+
# The repository branch.
|
4349
|
+
#
|
4350
|
+
# @option params [required, String] :repository_name
|
4351
|
+
# The name of the repository, for example `myrepos/myrepo`.
|
4352
|
+
#
|
4353
|
+
# @option params [required, String] :repository_provider
|
4354
|
+
# The repository provider.
|
4355
|
+
#
|
4356
|
+
# @option params [String] :subdirectory
|
4357
|
+
# A subdirectory path to your template bundle version. When included,
|
4358
|
+
# limits the template bundle search to this repository directory.
|
4359
|
+
#
|
4360
|
+
# @option params [required, String] :template_name
|
4361
|
+
# The synced template name.
|
4362
|
+
#
|
4363
|
+
# @option params [required, String] :template_type
|
4364
|
+
# The synced template type.
|
4365
|
+
#
|
4366
|
+
# @return [Types::UpdateTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4367
|
+
#
|
4368
|
+
# * {Types::UpdateTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
|
4369
|
+
#
|
4370
|
+
# @example Request syntax with placeholder values
|
4371
|
+
#
|
4372
|
+
# resp = client.update_template_sync_config({
|
4373
|
+
# branch: "GitBranchName", # required
|
4374
|
+
# repository_name: "RepositoryName", # required
|
4375
|
+
# repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
4376
|
+
# subdirectory: "Subdirectory",
|
4377
|
+
# template_name: "ResourceName", # required
|
4378
|
+
# template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
|
4379
|
+
# })
|
4380
|
+
#
|
4381
|
+
# @example Response structure
|
4382
|
+
#
|
4383
|
+
# resp.template_sync_config.branch #=> String
|
4384
|
+
# resp.template_sync_config.repository_name #=> String
|
4385
|
+
# resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
|
4386
|
+
# resp.template_sync_config.subdirectory #=> String
|
4387
|
+
# resp.template_sync_config.template_name #=> String
|
4388
|
+
# resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
|
4389
|
+
#
|
4390
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateTemplateSyncConfig AWS API Documentation
|
4391
|
+
#
|
4392
|
+
# @overload update_template_sync_config(params = {})
|
4393
|
+
# @param [Hash] params ({})
|
4394
|
+
def update_template_sync_config(params = {}, options = {})
|
4395
|
+
req = build_request(:update_template_sync_config, params)
|
4396
|
+
req.send_request(options)
|
4397
|
+
end
|
4398
|
+
|
3415
4399
|
# @!endgroup
|
3416
4400
|
|
3417
4401
|
# @param params ({})
|
@@ -3425,7 +4409,7 @@ module Aws::Proton
|
|
3425
4409
|
params: params,
|
3426
4410
|
config: config)
|
3427
4411
|
context[:gem_name] = 'aws-sdk-proton'
|
3428
|
-
context[:gem_version] = '1.
|
4412
|
+
context[:gem_version] = '1.13.0'
|
3429
4413
|
Seahorse::Client::Request.new(handlers, context)
|
3430
4414
|
end
|
3431
4415
|
|