aws-sdk-proton 1.22.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-proton/client.rb +525 -4
- data/lib/aws-sdk-proton/client_api.rb +277 -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 +126 -0
- data/lib/aws-sdk-proton/plugins/endpoints.rb +18 -0
- data/lib/aws-sdk-proton/types.rb +630 -2
- data/lib/aws-sdk-proton.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-proton/types.rb
CHANGED
@@ -257,6 +257,10 @@ module Aws::Proton
|
|
257
257
|
# with.
|
258
258
|
# @return [String]
|
259
259
|
#
|
260
|
+
# @!attribute [rw] last_client_request_token
|
261
|
+
# The last token the client requested.
|
262
|
+
# @return [String]
|
263
|
+
#
|
260
264
|
# @!attribute [rw] last_deployment_attempted_at
|
261
265
|
# The time when a deployment of the component was last attempted.
|
262
266
|
# @return [Time]
|
@@ -297,6 +301,7 @@ module Aws::Proton
|
|
297
301
|
:deployment_status_message,
|
298
302
|
:description,
|
299
303
|
:environment_name,
|
304
|
+
:last_client_request_token,
|
300
305
|
:last_deployment_attempted_at,
|
301
306
|
:last_deployment_succeeded_at,
|
302
307
|
:last_modified_at,
|
@@ -396,6 +401,73 @@ module Aws::Proton
|
|
396
401
|
include Aws::Structure
|
397
402
|
end
|
398
403
|
|
404
|
+
# Summary counts of each Proton resource type.
|
405
|
+
#
|
406
|
+
# @!attribute [rw] components
|
407
|
+
# The total number of components in the Amazon Web Services account.
|
408
|
+
#
|
409
|
+
# The semantics of the `components` field are different from the
|
410
|
+
# semantics of results for other infrastructure-provisioning
|
411
|
+
# resources. That's because at this time components don't have
|
412
|
+
# associated templates, therefore they don't have the concept of
|
413
|
+
# staleness. The `components` object will only contain `total` and
|
414
|
+
# `failed` members.
|
415
|
+
# @return [Types::ResourceCountsSummary]
|
416
|
+
#
|
417
|
+
# @!attribute [rw] environment_templates
|
418
|
+
# The total number of environment templates in the Amazon Web Services
|
419
|
+
# account. The `environmentTemplates` object will only contain `total`
|
420
|
+
# members.
|
421
|
+
# @return [Types::ResourceCountsSummary]
|
422
|
+
#
|
423
|
+
# @!attribute [rw] environments
|
424
|
+
# The staleness counts for Proton environments in the Amazon Web
|
425
|
+
# Services account. The `environments` object will only contain
|
426
|
+
# `total` members.
|
427
|
+
# @return [Types::ResourceCountsSummary]
|
428
|
+
#
|
429
|
+
# @!attribute [rw] pipelines
|
430
|
+
# The staleness counts for Proton pipelines in the Amazon Web Services
|
431
|
+
# account.
|
432
|
+
# @return [Types::ResourceCountsSummary]
|
433
|
+
#
|
434
|
+
# @!attribute [rw] service_instances
|
435
|
+
# The staleness counts for Proton service instances in the Amazon Web
|
436
|
+
# Services account.
|
437
|
+
# @return [Types::ResourceCountsSummary]
|
438
|
+
#
|
439
|
+
# @!attribute [rw] service_templates
|
440
|
+
# The total number of service templates in the Amazon Web Services
|
441
|
+
# account. The `serviceTemplates` object will only contain `total`
|
442
|
+
# members.
|
443
|
+
# @return [Types::ResourceCountsSummary]
|
444
|
+
#
|
445
|
+
# @!attribute [rw] services
|
446
|
+
# The staleness counts for Proton services in the Amazon Web Services
|
447
|
+
# account.
|
448
|
+
# @return [Types::ResourceCountsSummary]
|
449
|
+
#
|
450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CountsSummary AWS API Documentation
|
451
|
+
#
|
452
|
+
class CountsSummary < Struct.new(
|
453
|
+
:components,
|
454
|
+
:environment_templates,
|
455
|
+
:environments,
|
456
|
+
:pipelines,
|
457
|
+
:service_instances,
|
458
|
+
:service_templates,
|
459
|
+
:services)
|
460
|
+
SENSITIVE = []
|
461
|
+
include Aws::Structure
|
462
|
+
end
|
463
|
+
|
464
|
+
# @!attribute [rw] client_token
|
465
|
+
# The client token for the created component.
|
466
|
+
#
|
467
|
+
# **A suitable default value is auto-generated.** You should normally
|
468
|
+
# not need to pass this option.
|
469
|
+
# @return [String]
|
470
|
+
#
|
399
471
|
# @!attribute [rw] description
|
400
472
|
# An optional customer-provided description of the component.
|
401
473
|
# @return [String]
|
@@ -461,6 +533,7 @@ module Aws::Proton
|
|
461
533
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateComponentInput AWS API Documentation
|
462
534
|
#
|
463
535
|
class CreateComponentInput < Struct.new(
|
536
|
+
:client_token,
|
464
537
|
:description,
|
465
538
|
:environment_name,
|
466
539
|
:manifest,
|
@@ -993,6 +1066,73 @@ module Aws::Proton
|
|
993
1066
|
include Aws::Structure
|
994
1067
|
end
|
995
1068
|
|
1069
|
+
# @!attribute [rw] client_token
|
1070
|
+
# The client token of the service instance to create.
|
1071
|
+
#
|
1072
|
+
# **A suitable default value is auto-generated.** You should normally
|
1073
|
+
# not need to pass this option.
|
1074
|
+
# @return [String]
|
1075
|
+
#
|
1076
|
+
# @!attribute [rw] name
|
1077
|
+
# The name of the service instance to create.
|
1078
|
+
# @return [String]
|
1079
|
+
#
|
1080
|
+
# @!attribute [rw] service_name
|
1081
|
+
# The name of the service the service instance is added to.
|
1082
|
+
# @return [String]
|
1083
|
+
#
|
1084
|
+
# @!attribute [rw] spec
|
1085
|
+
# The spec for the service instance you want to create.
|
1086
|
+
# @return [String]
|
1087
|
+
#
|
1088
|
+
# @!attribute [rw] tags
|
1089
|
+
# An optional list of metadata items that you can associate with the
|
1090
|
+
# Proton service instance. A tag is a key-value pair.
|
1091
|
+
#
|
1092
|
+
# For more information, see [Proton resources and tagging][1] in the
|
1093
|
+
# *Proton User Guide*.
|
1094
|
+
#
|
1095
|
+
#
|
1096
|
+
#
|
1097
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/userguide/resources.html
|
1098
|
+
# @return [Array<Types::Tag>]
|
1099
|
+
#
|
1100
|
+
# @!attribute [rw] template_major_version
|
1101
|
+
# To create a new major and minor version of the service template,
|
1102
|
+
# *exclude* `major Version`.
|
1103
|
+
# @return [String]
|
1104
|
+
#
|
1105
|
+
# @!attribute [rw] template_minor_version
|
1106
|
+
# To create a new minor version of the service template, include a
|
1107
|
+
# `major Version`.
|
1108
|
+
# @return [String]
|
1109
|
+
#
|
1110
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateServiceInstanceInput AWS API Documentation
|
1111
|
+
#
|
1112
|
+
class CreateServiceInstanceInput < Struct.new(
|
1113
|
+
:client_token,
|
1114
|
+
:name,
|
1115
|
+
:service_name,
|
1116
|
+
:spec,
|
1117
|
+
:tags,
|
1118
|
+
:template_major_version,
|
1119
|
+
:template_minor_version)
|
1120
|
+
SENSITIVE = [:spec]
|
1121
|
+
include Aws::Structure
|
1122
|
+
end
|
1123
|
+
|
1124
|
+
# @!attribute [rw] service_instance
|
1125
|
+
# The detailed data of the service instance being created.
|
1126
|
+
# @return [Types::ServiceInstance]
|
1127
|
+
#
|
1128
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateServiceInstanceOutput AWS API Documentation
|
1129
|
+
#
|
1130
|
+
class CreateServiceInstanceOutput < Struct.new(
|
1131
|
+
:service_instance)
|
1132
|
+
SENSITIVE = []
|
1133
|
+
include Aws::Structure
|
1134
|
+
end
|
1135
|
+
|
996
1136
|
# @!attribute [rw] service
|
997
1137
|
# The service detail data that's returned by Proton.
|
998
1138
|
# @return [Types::Service]
|
@@ -1005,6 +1145,50 @@ module Aws::Proton
|
|
1005
1145
|
include Aws::Structure
|
1006
1146
|
end
|
1007
1147
|
|
1148
|
+
# @!attribute [rw] branch
|
1149
|
+
# The repository branch for your Proton Ops file.
|
1150
|
+
# @return [String]
|
1151
|
+
#
|
1152
|
+
# @!attribute [rw] file_path
|
1153
|
+
# The path to the Proton Ops file.
|
1154
|
+
# @return [String]
|
1155
|
+
#
|
1156
|
+
# @!attribute [rw] repository_name
|
1157
|
+
# The repository name.
|
1158
|
+
# @return [String]
|
1159
|
+
#
|
1160
|
+
# @!attribute [rw] repository_provider
|
1161
|
+
# The provider type for your repository.
|
1162
|
+
# @return [String]
|
1163
|
+
#
|
1164
|
+
# @!attribute [rw] service_name
|
1165
|
+
# The name of the service the Proton Ops file is for.
|
1166
|
+
# @return [String]
|
1167
|
+
#
|
1168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateServiceSyncConfigInput AWS API Documentation
|
1169
|
+
#
|
1170
|
+
class CreateServiceSyncConfigInput < Struct.new(
|
1171
|
+
:branch,
|
1172
|
+
:file_path,
|
1173
|
+
:repository_name,
|
1174
|
+
:repository_provider,
|
1175
|
+
:service_name)
|
1176
|
+
SENSITIVE = []
|
1177
|
+
include Aws::Structure
|
1178
|
+
end
|
1179
|
+
|
1180
|
+
# @!attribute [rw] service_sync_config
|
1181
|
+
# The detailed data of the Proton Ops file.
|
1182
|
+
# @return [Types::ServiceSyncConfig]
|
1183
|
+
#
|
1184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateServiceSyncConfigOutput AWS API Documentation
|
1185
|
+
#
|
1186
|
+
class CreateServiceSyncConfigOutput < Struct.new(
|
1187
|
+
:service_sync_config)
|
1188
|
+
SENSITIVE = []
|
1189
|
+
include Aws::Structure
|
1190
|
+
end
|
1191
|
+
|
1008
1192
|
# @!attribute [rw] description
|
1009
1193
|
# A description of the service template.
|
1010
1194
|
# @return [String]
|
@@ -1398,6 +1582,31 @@ module Aws::Proton
|
|
1398
1582
|
include Aws::Structure
|
1399
1583
|
end
|
1400
1584
|
|
1585
|
+
# @!attribute [rw] service_name
|
1586
|
+
# The name of the service that you want to delete the service sync
|
1587
|
+
# configuration for.
|
1588
|
+
# @return [String]
|
1589
|
+
#
|
1590
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteServiceSyncConfigInput AWS API Documentation
|
1591
|
+
#
|
1592
|
+
class DeleteServiceSyncConfigInput < Struct.new(
|
1593
|
+
:service_name)
|
1594
|
+
SENSITIVE = []
|
1595
|
+
include Aws::Structure
|
1596
|
+
end
|
1597
|
+
|
1598
|
+
# @!attribute [rw] service_sync_config
|
1599
|
+
# The detailed data for the service sync config.
|
1600
|
+
# @return [Types::ServiceSyncConfig]
|
1601
|
+
#
|
1602
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteServiceSyncConfigOutput AWS API Documentation
|
1603
|
+
#
|
1604
|
+
class DeleteServiceSyncConfigOutput < Struct.new(
|
1605
|
+
:service_sync_config)
|
1606
|
+
SENSITIVE = []
|
1607
|
+
include Aws::Structure
|
1608
|
+
end
|
1609
|
+
|
1401
1610
|
# @!attribute [rw] name
|
1402
1611
|
# The name of the service template to delete.
|
1403
1612
|
# @return [String]
|
@@ -1568,7 +1777,11 @@ module Aws::Proton
|
|
1568
1777
|
# The linked repository that you use to host your rendered
|
1569
1778
|
# infrastructure templates for self-managed provisioning. A linked
|
1570
1779
|
# repository is a repository that has been registered with Proton. For
|
1571
|
-
# more information, see CreateRepository.
|
1780
|
+
# more information, see [CreateRepository][1].
|
1781
|
+
#
|
1782
|
+
#
|
1783
|
+
#
|
1784
|
+
# [1]: https://docs.aws.amazon.com/proton/latest/APIReference/API_CreateRepository.html
|
1572
1785
|
# @return [Types::RepositoryBranch]
|
1573
1786
|
#
|
1574
1787
|
# @!attribute [rw] spec
|
@@ -2363,6 +2576,24 @@ module Aws::Proton
|
|
2363
2576
|
include Aws::Structure
|
2364
2577
|
end
|
2365
2578
|
|
2579
|
+
# @api private
|
2580
|
+
#
|
2581
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetResourcesSummaryInput AWS API Documentation
|
2582
|
+
#
|
2583
|
+
class GetResourcesSummaryInput < Aws::EmptyStructure; end
|
2584
|
+
|
2585
|
+
# @!attribute [rw] counts
|
2586
|
+
# Summary counts of each Proton resource type.
|
2587
|
+
# @return [Types::CountsSummary]
|
2588
|
+
#
|
2589
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetResourcesSummaryOutput AWS API Documentation
|
2590
|
+
#
|
2591
|
+
class GetResourcesSummaryOutput < Struct.new(
|
2592
|
+
:counts)
|
2593
|
+
SENSITIVE = []
|
2594
|
+
include Aws::Structure
|
2595
|
+
end
|
2596
|
+
|
2366
2597
|
# @!attribute [rw] name
|
2367
2598
|
# The name of the service that you want to get the detailed data for.
|
2368
2599
|
# @return [String]
|
@@ -2381,7 +2612,8 @@ module Aws::Proton
|
|
2381
2612
|
# @return [String]
|
2382
2613
|
#
|
2383
2614
|
# @!attribute [rw] service_name
|
2384
|
-
# The name of the service that the service instance
|
2615
|
+
# The name of the service that you want the service instance input
|
2616
|
+
# for.
|
2385
2617
|
# @return [String]
|
2386
2618
|
#
|
2387
2619
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceInstanceInput AWS API Documentation
|
@@ -2405,6 +2637,47 @@ module Aws::Proton
|
|
2405
2637
|
include Aws::Structure
|
2406
2638
|
end
|
2407
2639
|
|
2640
|
+
# @!attribute [rw] service_instance_name
|
2641
|
+
# The name of the service instance that you want the sync status input
|
2642
|
+
# for.
|
2643
|
+
# @return [String]
|
2644
|
+
#
|
2645
|
+
# @!attribute [rw] service_name
|
2646
|
+
# The name of the service that the service instance belongs to.
|
2647
|
+
# @return [String]
|
2648
|
+
#
|
2649
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceInstanceSyncStatusInput AWS API Documentation
|
2650
|
+
#
|
2651
|
+
class GetServiceInstanceSyncStatusInput < Struct.new(
|
2652
|
+
:service_instance_name,
|
2653
|
+
:service_name)
|
2654
|
+
SENSITIVE = []
|
2655
|
+
include Aws::Structure
|
2656
|
+
end
|
2657
|
+
|
2658
|
+
# @!attribute [rw] desired_state
|
2659
|
+
# The service instance sync desired state that's returned by Proton
|
2660
|
+
# @return [Types::Revision]
|
2661
|
+
#
|
2662
|
+
# @!attribute [rw] latest_successful_sync
|
2663
|
+
# The detailed data of the latest successful sync with the service
|
2664
|
+
# instance.
|
2665
|
+
# @return [Types::ResourceSyncAttempt]
|
2666
|
+
#
|
2667
|
+
# @!attribute [rw] latest_sync
|
2668
|
+
# The detailed data of the latest sync with the service instance.
|
2669
|
+
# @return [Types::ResourceSyncAttempt]
|
2670
|
+
#
|
2671
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceInstanceSyncStatusOutput AWS API Documentation
|
2672
|
+
#
|
2673
|
+
class GetServiceInstanceSyncStatusOutput < Struct.new(
|
2674
|
+
:desired_state,
|
2675
|
+
:latest_successful_sync,
|
2676
|
+
:latest_sync)
|
2677
|
+
SENSITIVE = []
|
2678
|
+
include Aws::Structure
|
2679
|
+
end
|
2680
|
+
|
2408
2681
|
# @!attribute [rw] service
|
2409
2682
|
# The detailed data of the requested service.
|
2410
2683
|
# @return [Types::Service]
|
@@ -2417,6 +2690,64 @@ module Aws::Proton
|
|
2417
2690
|
include Aws::Structure
|
2418
2691
|
end
|
2419
2692
|
|
2693
|
+
# @!attribute [rw] service_instance_name
|
2694
|
+
# The name of the service instance that you want to get the service
|
2695
|
+
# sync blocker summary for. If given bothe the instance name and the
|
2696
|
+
# service name, only the instance is blocked.
|
2697
|
+
# @return [String]
|
2698
|
+
#
|
2699
|
+
# @!attribute [rw] service_name
|
2700
|
+
# The name of the service that you want to get the service sync
|
2701
|
+
# blocker summary for. If given only the service name, all instances
|
2702
|
+
# are blocked.
|
2703
|
+
# @return [String]
|
2704
|
+
#
|
2705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceSyncBlockerSummaryInput AWS API Documentation
|
2706
|
+
#
|
2707
|
+
class GetServiceSyncBlockerSummaryInput < Struct.new(
|
2708
|
+
:service_instance_name,
|
2709
|
+
:service_name)
|
2710
|
+
SENSITIVE = []
|
2711
|
+
include Aws::Structure
|
2712
|
+
end
|
2713
|
+
|
2714
|
+
# @!attribute [rw] service_sync_blocker_summary
|
2715
|
+
# The detailed data of the requested service sync blocker summary.
|
2716
|
+
# @return [Types::ServiceSyncBlockerSummary]
|
2717
|
+
#
|
2718
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceSyncBlockerSummaryOutput AWS API Documentation
|
2719
|
+
#
|
2720
|
+
class GetServiceSyncBlockerSummaryOutput < Struct.new(
|
2721
|
+
:service_sync_blocker_summary)
|
2722
|
+
SENSITIVE = []
|
2723
|
+
include Aws::Structure
|
2724
|
+
end
|
2725
|
+
|
2726
|
+
# @!attribute [rw] service_name
|
2727
|
+
# The name of the service that you want to get the service sync
|
2728
|
+
# configuration for.
|
2729
|
+
# @return [String]
|
2730
|
+
#
|
2731
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceSyncConfigInput AWS API Documentation
|
2732
|
+
#
|
2733
|
+
class GetServiceSyncConfigInput < Struct.new(
|
2734
|
+
:service_name)
|
2735
|
+
SENSITIVE = []
|
2736
|
+
include Aws::Structure
|
2737
|
+
end
|
2738
|
+
|
2739
|
+
# @!attribute [rw] service_sync_config
|
2740
|
+
# The detailed data of the requested service sync configuration.
|
2741
|
+
# @return [Types::ServiceSyncConfig]
|
2742
|
+
#
|
2743
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceSyncConfigOutput AWS API Documentation
|
2744
|
+
#
|
2745
|
+
class GetServiceSyncConfigOutput < Struct.new(
|
2746
|
+
:service_sync_config)
|
2747
|
+
SENSITIVE = []
|
2748
|
+
include Aws::Structure
|
2749
|
+
end
|
2750
|
+
|
2420
2751
|
# @!attribute [rw] name
|
2421
2752
|
# The name of the service template that you want to get detailed data
|
2422
2753
|
# for.
|
@@ -3692,6 +4023,11 @@ module Aws::Proton
|
|
3692
4023
|
# The Amazon Resource Name (ARN) of the linked repository.
|
3693
4024
|
# @return [String]
|
3694
4025
|
#
|
4026
|
+
# @!attribute [rw] connection_arn
|
4027
|
+
# The Amazon Resource Name (ARN) of the of your connection that
|
4028
|
+
# connects Proton to your repository.
|
4029
|
+
# @return [String]
|
4030
|
+
#
|
3695
4031
|
# @!attribute [rw] name
|
3696
4032
|
# The repository name.
|
3697
4033
|
# @return [String]
|
@@ -3704,6 +4040,7 @@ module Aws::Proton
|
|
3704
4040
|
#
|
3705
4041
|
class RepositorySummary < Struct.new(
|
3706
4042
|
:arn,
|
4043
|
+
:connection_arn,
|
3707
4044
|
:name,
|
3708
4045
|
:provider)
|
3709
4046
|
SENSITIVE = []
|
@@ -3793,6 +4130,45 @@ module Aws::Proton
|
|
3793
4130
|
include Aws::Structure
|
3794
4131
|
end
|
3795
4132
|
|
4133
|
+
# Summary counts of each Proton resource types.
|
4134
|
+
#
|
4135
|
+
# @!attribute [rw] behind_major
|
4136
|
+
# The number of resources of this type in the Amazon Web Services
|
4137
|
+
# account that need a major template version update.
|
4138
|
+
# @return [Integer]
|
4139
|
+
#
|
4140
|
+
# @!attribute [rw] behind_minor
|
4141
|
+
# The number of resources of this type in the Amazon Web Services
|
4142
|
+
# account that need a minor template version update.
|
4143
|
+
# @return [Integer]
|
4144
|
+
#
|
4145
|
+
# @!attribute [rw] failed
|
4146
|
+
# The number of resources of this type in the Amazon Web Services
|
4147
|
+
# account that failed to deploy.
|
4148
|
+
# @return [Integer]
|
4149
|
+
#
|
4150
|
+
# @!attribute [rw] total
|
4151
|
+
# The total number of resources of this type in the Amazon Web
|
4152
|
+
# Services account.
|
4153
|
+
# @return [Integer]
|
4154
|
+
#
|
4155
|
+
# @!attribute [rw] up_to_date
|
4156
|
+
# The number of resources of this type in the Amazon Web Services
|
4157
|
+
# account that are up-to-date with their template.
|
4158
|
+
# @return [Integer]
|
4159
|
+
#
|
4160
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ResourceCountsSummary AWS API Documentation
|
4161
|
+
#
|
4162
|
+
class ResourceCountsSummary < Struct.new(
|
4163
|
+
:behind_major,
|
4164
|
+
:behind_minor,
|
4165
|
+
:failed,
|
4166
|
+
:total,
|
4167
|
+
:up_to_date)
|
4168
|
+
SENSITIVE = []
|
4169
|
+
include Aws::Structure
|
4170
|
+
end
|
4171
|
+
|
3796
4172
|
# The requested resource *wasn't* found.
|
3797
4173
|
#
|
3798
4174
|
# @!attribute [rw] message
|
@@ -4034,6 +4410,10 @@ module Aws::Proton
|
|
4034
4410
|
# into.
|
4035
4411
|
# @return [String]
|
4036
4412
|
#
|
4413
|
+
# @!attribute [rw] last_client_request_token
|
4414
|
+
# The last client request token received.
|
4415
|
+
# @return [String]
|
4416
|
+
#
|
4037
4417
|
# @!attribute [rw] last_deployment_attempted_at
|
4038
4418
|
# The time when a deployment of the service instance was last
|
4039
4419
|
# attempted.
|
@@ -4078,6 +4458,7 @@ module Aws::Proton
|
|
4078
4458
|
:deployment_status,
|
4079
4459
|
:deployment_status_message,
|
4080
4460
|
:environment_name,
|
4461
|
+
:last_client_request_token,
|
4081
4462
|
:last_deployment_attempted_at,
|
4082
4463
|
:last_deployment_succeeded_at,
|
4083
4464
|
:name,
|
@@ -4290,6 +4671,82 @@ module Aws::Proton
|
|
4290
4671
|
include Aws::Structure
|
4291
4672
|
end
|
4292
4673
|
|
4674
|
+
# If a service instance is manually updated, Proton wants to prevent
|
4675
|
+
# accidentally overriding a manual change.
|
4676
|
+
#
|
4677
|
+
# A blocker is created because of the manual update or deletion of a
|
4678
|
+
# service instance. The summary describes the blocker as being active or
|
4679
|
+
# resolved.
|
4680
|
+
#
|
4681
|
+
# @!attribute [rw] latest_blockers
|
4682
|
+
# The latest active blockers for the synced service.
|
4683
|
+
# @return [Array<Types::SyncBlocker>]
|
4684
|
+
#
|
4685
|
+
# @!attribute [rw] service_instance_name
|
4686
|
+
# The name of the service instance that you want sync your service
|
4687
|
+
# configuration with.
|
4688
|
+
# @return [String]
|
4689
|
+
#
|
4690
|
+
# @!attribute [rw] service_name
|
4691
|
+
# The name of the service that you want to get the sync blocker
|
4692
|
+
# summary for. If given a service instance name and a service name, it
|
4693
|
+
# will return the blockers only applying to the instance that is
|
4694
|
+
# blocked.
|
4695
|
+
#
|
4696
|
+
# If given only a service name, it will return the blockers that apply
|
4697
|
+
# to all of the instances. In order to get the blockers for a single
|
4698
|
+
# instance, you will need to make two distinct calls, one to get the
|
4699
|
+
# sync blocker summary for the service and the other to get the sync
|
4700
|
+
# blocker for the service instance.
|
4701
|
+
# @return [String]
|
4702
|
+
#
|
4703
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ServiceSyncBlockerSummary AWS API Documentation
|
4704
|
+
#
|
4705
|
+
class ServiceSyncBlockerSummary < Struct.new(
|
4706
|
+
:latest_blockers,
|
4707
|
+
:service_instance_name,
|
4708
|
+
:service_name)
|
4709
|
+
SENSITIVE = []
|
4710
|
+
include Aws::Structure
|
4711
|
+
end
|
4712
|
+
|
4713
|
+
# Detailed data of the service sync configuration.
|
4714
|
+
#
|
4715
|
+
# @!attribute [rw] branch
|
4716
|
+
# The name of the code repository branch that holds the service code
|
4717
|
+
# Proton will sync with.
|
4718
|
+
# @return [String]
|
4719
|
+
#
|
4720
|
+
# @!attribute [rw] file_path
|
4721
|
+
# The file path to the service sync configuration file.
|
4722
|
+
# @return [String]
|
4723
|
+
#
|
4724
|
+
# @!attribute [rw] repository_name
|
4725
|
+
# The name of the code repository that holds the service code Proton
|
4726
|
+
# will sync with.
|
4727
|
+
# @return [String]
|
4728
|
+
#
|
4729
|
+
# @!attribute [rw] repository_provider
|
4730
|
+
# The name of the repository provider that holds the repository Proton
|
4731
|
+
# will sync with.
|
4732
|
+
# @return [String]
|
4733
|
+
#
|
4734
|
+
# @!attribute [rw] service_name
|
4735
|
+
# The name of the service that the service instance is added to.
|
4736
|
+
# @return [String]
|
4737
|
+
#
|
4738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ServiceSyncConfig AWS API Documentation
|
4739
|
+
#
|
4740
|
+
class ServiceSyncConfig < Struct.new(
|
4741
|
+
:branch,
|
4742
|
+
:file_path,
|
4743
|
+
:repository_name,
|
4744
|
+
:repository_provider,
|
4745
|
+
:service_name)
|
4746
|
+
SENSITIVE = []
|
4747
|
+
include Aws::Structure
|
4748
|
+
end
|
4749
|
+
|
4293
4750
|
# Detailed data of an Proton service template resource.
|
4294
4751
|
#
|
4295
4752
|
# @!attribute [rw] arn
|
@@ -4543,6 +5000,74 @@ module Aws::Proton
|
|
4543
5000
|
include Aws::Structure
|
4544
5001
|
end
|
4545
5002
|
|
5003
|
+
# Detailed data of the sync blocker.
|
5004
|
+
#
|
5005
|
+
# @!attribute [rw] contexts
|
5006
|
+
# The contexts for the sync blocker.
|
5007
|
+
# @return [Array<Types::SyncBlockerContext>]
|
5008
|
+
#
|
5009
|
+
# @!attribute [rw] created_at
|
5010
|
+
# The time when the sync blocker was created.
|
5011
|
+
# @return [Time]
|
5012
|
+
#
|
5013
|
+
# @!attribute [rw] created_reason
|
5014
|
+
# The reason why the sync blocker was created.
|
5015
|
+
# @return [String]
|
5016
|
+
#
|
5017
|
+
# @!attribute [rw] id
|
5018
|
+
# The ID of the sync blocker.
|
5019
|
+
# @return [String]
|
5020
|
+
#
|
5021
|
+
# @!attribute [rw] resolved_at
|
5022
|
+
# The time the sync blocker was resolved.
|
5023
|
+
# @return [Time]
|
5024
|
+
#
|
5025
|
+
# @!attribute [rw] resolved_reason
|
5026
|
+
# The reason the sync blocker was resolved.
|
5027
|
+
# @return [String]
|
5028
|
+
#
|
5029
|
+
# @!attribute [rw] status
|
5030
|
+
# The status of the sync blocker.
|
5031
|
+
# @return [String]
|
5032
|
+
#
|
5033
|
+
# @!attribute [rw] type
|
5034
|
+
# The type of the sync blocker.
|
5035
|
+
# @return [String]
|
5036
|
+
#
|
5037
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/SyncBlocker AWS API Documentation
|
5038
|
+
#
|
5039
|
+
class SyncBlocker < Struct.new(
|
5040
|
+
:contexts,
|
5041
|
+
:created_at,
|
5042
|
+
:created_reason,
|
5043
|
+
:id,
|
5044
|
+
:resolved_at,
|
5045
|
+
:resolved_reason,
|
5046
|
+
:status,
|
5047
|
+
:type)
|
5048
|
+
SENSITIVE = []
|
5049
|
+
include Aws::Structure
|
5050
|
+
end
|
5051
|
+
|
5052
|
+
# Detailed data of the context of the sync blocker.
|
5053
|
+
#
|
5054
|
+
# @!attribute [rw] key
|
5055
|
+
# The key for the sync blocker context.
|
5056
|
+
# @return [String]
|
5057
|
+
#
|
5058
|
+
# @!attribute [rw] value
|
5059
|
+
# The value of the sync blocker context.
|
5060
|
+
# @return [String]
|
5061
|
+
#
|
5062
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/SyncBlockerContext AWS API Documentation
|
5063
|
+
#
|
5064
|
+
class SyncBlockerContext < Struct.new(
|
5065
|
+
:key,
|
5066
|
+
:value)
|
5067
|
+
SENSITIVE = []
|
5068
|
+
include Aws::Structure
|
5069
|
+
end
|
5070
|
+
|
4546
5071
|
# A description of a resource tag.
|
4547
5072
|
#
|
4548
5073
|
# @!attribute [rw] key
|
@@ -4738,6 +5263,13 @@ module Aws::Proton
|
|
4738
5263
|
include Aws::Structure
|
4739
5264
|
end
|
4740
5265
|
|
5266
|
+
# @!attribute [rw] client_token
|
5267
|
+
# The client token for the updated component.
|
5268
|
+
#
|
5269
|
+
# **A suitable default value is auto-generated.** You should normally
|
5270
|
+
# not need to pass this option.
|
5271
|
+
# @return [String]
|
5272
|
+
#
|
4741
5273
|
# @!attribute [rw] deployment_type
|
4742
5274
|
# The deployment type. It defines the mode for updating a component,
|
4743
5275
|
# as follows:
|
@@ -4804,6 +5336,7 @@ module Aws::Proton
|
|
4804
5336
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateComponentInput AWS API Documentation
|
4805
5337
|
#
|
4806
5338
|
class UpdateComponentInput < Struct.new(
|
5339
|
+
:client_token,
|
4807
5340
|
:deployment_type,
|
4808
5341
|
:description,
|
4809
5342
|
:name,
|
@@ -5131,6 +5664,13 @@ module Aws::Proton
|
|
5131
5664
|
include Aws::Structure
|
5132
5665
|
end
|
5133
5666
|
|
5667
|
+
# @!attribute [rw] client_token
|
5668
|
+
# The client token of the service instance to update.
|
5669
|
+
#
|
5670
|
+
# **A suitable default value is auto-generated.** You should normally
|
5671
|
+
# not need to pass this option.
|
5672
|
+
# @return [String]
|
5673
|
+
#
|
5134
5674
|
# @!attribute [rw] deployment_type
|
5135
5675
|
# The deployment type. It defines the mode for updating a service
|
5136
5676
|
# instance, as follows:
|
@@ -5195,6 +5735,7 @@ module Aws::Proton
|
|
5195
5735
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceInstanceInput AWS API Documentation
|
5196
5736
|
#
|
5197
5737
|
class UpdateServiceInstanceInput < Struct.new(
|
5738
|
+
:client_token,
|
5198
5739
|
:deployment_type,
|
5199
5740
|
:name,
|
5200
5741
|
:service_name,
|
@@ -5313,6 +5854,93 @@ module Aws::Proton
|
|
5313
5854
|
include Aws::Structure
|
5314
5855
|
end
|
5315
5856
|
|
5857
|
+
# @!attribute [rw] id
|
5858
|
+
# The ID of the service sync blocker.
|
5859
|
+
# @return [String]
|
5860
|
+
#
|
5861
|
+
# @!attribute [rw] resolved_reason
|
5862
|
+
# The reason the service sync blocker was resolved.
|
5863
|
+
# @return [String]
|
5864
|
+
#
|
5865
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceSyncBlockerInput AWS API Documentation
|
5866
|
+
#
|
5867
|
+
class UpdateServiceSyncBlockerInput < Struct.new(
|
5868
|
+
:id,
|
5869
|
+
:resolved_reason)
|
5870
|
+
SENSITIVE = []
|
5871
|
+
include Aws::Structure
|
5872
|
+
end
|
5873
|
+
|
5874
|
+
# @!attribute [rw] service_instance_name
|
5875
|
+
# The name of the service instance that you want to update the service
|
5876
|
+
# sync blocker for.
|
5877
|
+
# @return [String]
|
5878
|
+
#
|
5879
|
+
# @!attribute [rw] service_name
|
5880
|
+
# The name of the service that you want to update the service sync
|
5881
|
+
# blocker for.
|
5882
|
+
# @return [String]
|
5883
|
+
#
|
5884
|
+
# @!attribute [rw] service_sync_blocker
|
5885
|
+
# The detailed data on the service sync blocker that was updated.
|
5886
|
+
# @return [Types::SyncBlocker]
|
5887
|
+
#
|
5888
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceSyncBlockerOutput AWS API Documentation
|
5889
|
+
#
|
5890
|
+
class UpdateServiceSyncBlockerOutput < Struct.new(
|
5891
|
+
:service_instance_name,
|
5892
|
+
:service_name,
|
5893
|
+
:service_sync_blocker)
|
5894
|
+
SENSITIVE = []
|
5895
|
+
include Aws::Structure
|
5896
|
+
end
|
5897
|
+
|
5898
|
+
# @!attribute [rw] branch
|
5899
|
+
# The name of the code repository branch where the Proton Ops file is
|
5900
|
+
# found.
|
5901
|
+
# @return [String]
|
5902
|
+
#
|
5903
|
+
# @!attribute [rw] file_path
|
5904
|
+
# The path to the Proton Ops file.
|
5905
|
+
# @return [String]
|
5906
|
+
#
|
5907
|
+
# @!attribute [rw] repository_name
|
5908
|
+
# The name of the repository where the Proton Ops file is found.
|
5909
|
+
# @return [String]
|
5910
|
+
#
|
5911
|
+
# @!attribute [rw] repository_provider
|
5912
|
+
# The name of the repository provider where the Proton Ops file is
|
5913
|
+
# found.
|
5914
|
+
# @return [String]
|
5915
|
+
#
|
5916
|
+
# @!attribute [rw] service_name
|
5917
|
+
# The name of the service the Proton Ops file is for.
|
5918
|
+
# @return [String]
|
5919
|
+
#
|
5920
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceSyncConfigInput AWS API Documentation
|
5921
|
+
#
|
5922
|
+
class UpdateServiceSyncConfigInput < Struct.new(
|
5923
|
+
:branch,
|
5924
|
+
:file_path,
|
5925
|
+
:repository_name,
|
5926
|
+
:repository_provider,
|
5927
|
+
:service_name)
|
5928
|
+
SENSITIVE = []
|
5929
|
+
include Aws::Structure
|
5930
|
+
end
|
5931
|
+
|
5932
|
+
# @!attribute [rw] service_sync_config
|
5933
|
+
# The detailed data of the Proton Ops file.
|
5934
|
+
# @return [Types::ServiceSyncConfig]
|
5935
|
+
#
|
5936
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceSyncConfigOutput AWS API Documentation
|
5937
|
+
#
|
5938
|
+
class UpdateServiceSyncConfigOutput < Struct.new(
|
5939
|
+
:service_sync_config)
|
5940
|
+
SENSITIVE = []
|
5941
|
+
include Aws::Structure
|
5942
|
+
end
|
5943
|
+
|
5316
5944
|
# @!attribute [rw] description
|
5317
5945
|
# A description of the service template update.
|
5318
5946
|
# @return [String]
|