aws-sdk-lightsail 1.67.0 → 1.69.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lightsail/client.rb +249 -88
- data/lib/aws-sdk-lightsail/client_api.rb +60 -0
- data/lib/aws-sdk-lightsail/types.rb +368 -5
- data/lib/aws-sdk-lightsail.rb +1 -1
- metadata +2 -2
@@ -106,6 +106,8 @@ module Aws::Lightsail
|
|
106
106
|
ContainerServiceDeploymentList = Shapes::ListShape.new(name: 'ContainerServiceDeploymentList')
|
107
107
|
ContainerServiceDeploymentRequest = Shapes::StructureShape.new(name: 'ContainerServiceDeploymentRequest')
|
108
108
|
ContainerServiceDeploymentState = Shapes::StringShape.new(name: 'ContainerServiceDeploymentState')
|
109
|
+
ContainerServiceECRImagePullerRole = Shapes::StructureShape.new(name: 'ContainerServiceECRImagePullerRole')
|
110
|
+
ContainerServiceECRImagePullerRoleRequest = Shapes::StructureShape.new(name: 'ContainerServiceECRImagePullerRoleRequest')
|
109
111
|
ContainerServiceEndpoint = Shapes::StructureShape.new(name: 'ContainerServiceEndpoint')
|
110
112
|
ContainerServiceHealthCheckConfig = Shapes::StructureShape.new(name: 'ContainerServiceHealthCheckConfig')
|
111
113
|
ContainerServiceList = Shapes::ListShape.new(name: 'ContainerServiceList')
|
@@ -399,6 +401,9 @@ module Aws::Lightsail
|
|
399
401
|
HeaderObject = Shapes::StructureShape.new(name: 'HeaderObject')
|
400
402
|
HostKeyAttributes = Shapes::StructureShape.new(name: 'HostKeyAttributes')
|
401
403
|
HostKeysList = Shapes::ListShape.new(name: 'HostKeysList')
|
404
|
+
HttpEndpoint = Shapes::StringShape.new(name: 'HttpEndpoint')
|
405
|
+
HttpProtocolIpv6 = Shapes::StringShape.new(name: 'HttpProtocolIpv6')
|
406
|
+
HttpTokens = Shapes::StringShape.new(name: 'HttpTokens')
|
402
407
|
IAMAccessKeyId = Shapes::StringShape.new(name: 'IAMAccessKeyId')
|
403
408
|
ImportKeyPairRequest = Shapes::StructureShape.new(name: 'ImportKeyPairRequest')
|
404
409
|
ImportKeyPairResult = Shapes::StructureShape.new(name: 'ImportKeyPairResult')
|
@@ -416,6 +421,8 @@ module Aws::Lightsail
|
|
416
421
|
InstanceHealthSummary = Shapes::StructureShape.new(name: 'InstanceHealthSummary')
|
417
422
|
InstanceHealthSummaryList = Shapes::ListShape.new(name: 'InstanceHealthSummaryList')
|
418
423
|
InstanceList = Shapes::ListShape.new(name: 'InstanceList')
|
424
|
+
InstanceMetadataOptions = Shapes::StructureShape.new(name: 'InstanceMetadataOptions')
|
425
|
+
InstanceMetadataState = Shapes::StringShape.new(name: 'InstanceMetadataState')
|
419
426
|
InstanceMetricName = Shapes::StringShape.new(name: 'InstanceMetricName')
|
420
427
|
InstanceNetworking = Shapes::StructureShape.new(name: 'InstanceNetworking')
|
421
428
|
InstancePlatform = Shapes::StringShape.new(name: 'InstancePlatform')
|
@@ -504,6 +511,8 @@ module Aws::Lightsail
|
|
504
511
|
PortList = Shapes::ListShape.new(name: 'PortList')
|
505
512
|
PortMap = Shapes::MapShape.new(name: 'PortMap')
|
506
513
|
PortState = Shapes::StringShape.new(name: 'PortState')
|
514
|
+
PrivateRegistryAccess = Shapes::StructureShape.new(name: 'PrivateRegistryAccess')
|
515
|
+
PrivateRegistryAccessRequest = Shapes::StructureShape.new(name: 'PrivateRegistryAccessRequest')
|
507
516
|
PutAlarmRequest = Shapes::StructureShape.new(name: 'PutAlarmRequest')
|
508
517
|
PutAlarmResult = Shapes::StructureShape.new(name: 'PutAlarmResult')
|
509
518
|
PutInstancePublicPortsRequest = Shapes::StructureShape.new(name: 'PutInstancePublicPortsRequest')
|
@@ -604,6 +613,8 @@ module Aws::Lightsail
|
|
604
613
|
UpdateDistributionResult = Shapes::StructureShape.new(name: 'UpdateDistributionResult')
|
605
614
|
UpdateDomainEntryRequest = Shapes::StructureShape.new(name: 'UpdateDomainEntryRequest')
|
606
615
|
UpdateDomainEntryResult = Shapes::StructureShape.new(name: 'UpdateDomainEntryResult')
|
616
|
+
UpdateInstanceMetadataOptionsRequest = Shapes::StructureShape.new(name: 'UpdateInstanceMetadataOptionsRequest')
|
617
|
+
UpdateInstanceMetadataOptionsResult = Shapes::StructureShape.new(name: 'UpdateInstanceMetadataOptionsResult')
|
607
618
|
UpdateLoadBalancerAttributeRequest = Shapes::StructureShape.new(name: 'UpdateLoadBalancerAttributeRequest')
|
608
619
|
UpdateLoadBalancerAttributeResult = Shapes::StructureShape.new(name: 'UpdateLoadBalancerAttributeResult')
|
609
620
|
UpdateRelationalDatabaseParametersRequest = Shapes::StructureShape.new(name: 'UpdateRelationalDatabaseParametersRequest')
|
@@ -960,6 +971,7 @@ module Aws::Lightsail
|
|
960
971
|
ContainerService.add_member(:private_domain_name, Shapes::ShapeRef.new(shape: string, location_name: "privateDomainName"))
|
961
972
|
ContainerService.add_member(:public_domain_names, Shapes::ShapeRef.new(shape: ContainerServicePublicDomains, location_name: "publicDomainNames"))
|
962
973
|
ContainerService.add_member(:url, Shapes::ShapeRef.new(shape: string, location_name: "url"))
|
974
|
+
ContainerService.add_member(:private_registry_access, Shapes::ShapeRef.new(shape: PrivateRegistryAccess, location_name: "privateRegistryAccess"))
|
963
975
|
ContainerService.struct_class = Types::ContainerService
|
964
976
|
|
965
977
|
ContainerServiceDeployment.add_member(:version, Shapes::ShapeRef.new(shape: integer, location_name: "version"))
|
@@ -975,6 +987,13 @@ module Aws::Lightsail
|
|
975
987
|
ContainerServiceDeploymentRequest.add_member(:public_endpoint, Shapes::ShapeRef.new(shape: EndpointRequest, location_name: "publicEndpoint"))
|
976
988
|
ContainerServiceDeploymentRequest.struct_class = Types::ContainerServiceDeploymentRequest
|
977
989
|
|
990
|
+
ContainerServiceECRImagePullerRole.add_member(:is_active, Shapes::ShapeRef.new(shape: boolean, location_name: "isActive"))
|
991
|
+
ContainerServiceECRImagePullerRole.add_member(:principal_arn, Shapes::ShapeRef.new(shape: string, location_name: "principalArn"))
|
992
|
+
ContainerServiceECRImagePullerRole.struct_class = Types::ContainerServiceECRImagePullerRole
|
993
|
+
|
994
|
+
ContainerServiceECRImagePullerRoleRequest.add_member(:is_active, Shapes::ShapeRef.new(shape: boolean, location_name: "isActive"))
|
995
|
+
ContainerServiceECRImagePullerRoleRequest.struct_class = Types::ContainerServiceECRImagePullerRoleRequest
|
996
|
+
|
978
997
|
ContainerServiceEndpoint.add_member(:container_name, Shapes::ShapeRef.new(shape: string, location_name: "containerName"))
|
979
998
|
ContainerServiceEndpoint.add_member(:container_port, Shapes::ShapeRef.new(shape: integer, location_name: "containerPort"))
|
980
999
|
ContainerServiceEndpoint.add_member(:health_check, Shapes::ShapeRef.new(shape: ContainerServiceHealthCheckConfig, location_name: "healthCheck"))
|
@@ -1103,6 +1122,7 @@ module Aws::Lightsail
|
|
1103
1122
|
CreateContainerServiceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1104
1123
|
CreateContainerServiceRequest.add_member(:public_domain_names, Shapes::ShapeRef.new(shape: ContainerServicePublicDomains, location_name: "publicDomainNames"))
|
1105
1124
|
CreateContainerServiceRequest.add_member(:deployment, Shapes::ShapeRef.new(shape: ContainerServiceDeploymentRequest, location_name: "deployment"))
|
1125
|
+
CreateContainerServiceRequest.add_member(:private_registry_access, Shapes::ShapeRef.new(shape: PrivateRegistryAccessRequest, location_name: "privateRegistryAccess"))
|
1106
1126
|
CreateContainerServiceRequest.struct_class = Types::CreateContainerServiceRequest
|
1107
1127
|
|
1108
1128
|
CreateContainerServiceResult.add_member(:container_service, Shapes::ShapeRef.new(shape: ContainerService, location_name: "containerService"))
|
@@ -2130,6 +2150,7 @@ module Aws::Lightsail
|
|
2130
2150
|
Instance.add_member(:state, Shapes::ShapeRef.new(shape: InstanceState, location_name: "state"))
|
2131
2151
|
Instance.add_member(:username, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "username"))
|
2132
2152
|
Instance.add_member(:ssh_key_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "sshKeyName"))
|
2153
|
+
Instance.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "metadataOptions"))
|
2133
2154
|
Instance.struct_class = Types::Instance
|
2134
2155
|
|
2135
2156
|
InstanceAccessDetails.add_member(:cert_key, Shapes::ShapeRef.new(shape: string, location_name: "certKey"))
|
@@ -2167,6 +2188,13 @@ module Aws::Lightsail
|
|
2167
2188
|
|
2168
2189
|
InstanceList.member = Shapes::ShapeRef.new(shape: Instance)
|
2169
2190
|
|
2191
|
+
InstanceMetadataOptions.add_member(:state, Shapes::ShapeRef.new(shape: InstanceMetadataState, location_name: "state"))
|
2192
|
+
InstanceMetadataOptions.add_member(:http_tokens, Shapes::ShapeRef.new(shape: HttpTokens, location_name: "httpTokens"))
|
2193
|
+
InstanceMetadataOptions.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: HttpEndpoint, location_name: "httpEndpoint"))
|
2194
|
+
InstanceMetadataOptions.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: integer, location_name: "httpPutResponseHopLimit"))
|
2195
|
+
InstanceMetadataOptions.add_member(:http_protocol_ipv_6, Shapes::ShapeRef.new(shape: HttpProtocolIpv6, location_name: "httpProtocolIpv6"))
|
2196
|
+
InstanceMetadataOptions.struct_class = Types::InstanceMetadataOptions
|
2197
|
+
|
2170
2198
|
InstanceNetworking.add_member(:monthly_transfer, Shapes::ShapeRef.new(shape: MonthlyTransfer, location_name: "monthlyTransfer"))
|
2171
2199
|
InstanceNetworking.add_member(:ports, Shapes::ShapeRef.new(shape: InstancePortInfoList, location_name: "ports"))
|
2172
2200
|
InstanceNetworking.struct_class = Types::InstanceNetworking
|
@@ -2471,6 +2499,12 @@ module Aws::Lightsail
|
|
2471
2499
|
PortMap.key = Shapes::ShapeRef.new(shape: string)
|
2472
2500
|
PortMap.value = Shapes::ShapeRef.new(shape: ContainerServiceProtocol)
|
2473
2501
|
|
2502
|
+
PrivateRegistryAccess.add_member(:ecr_image_puller_role, Shapes::ShapeRef.new(shape: ContainerServiceECRImagePullerRole, location_name: "ecrImagePullerRole"))
|
2503
|
+
PrivateRegistryAccess.struct_class = Types::PrivateRegistryAccess
|
2504
|
+
|
2505
|
+
PrivateRegistryAccessRequest.add_member(:ecr_image_puller_role, Shapes::ShapeRef.new(shape: ContainerServiceECRImagePullerRoleRequest, location_name: "ecrImagePullerRole"))
|
2506
|
+
PrivateRegistryAccessRequest.struct_class = Types::PrivateRegistryAccessRequest
|
2507
|
+
|
2474
2508
|
PutAlarmRequest.add_member(:alarm_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "alarmName"))
|
2475
2509
|
PutAlarmRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "metricName"))
|
2476
2510
|
PutAlarmRequest.add_member(:monitored_resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "monitoredResourceName"))
|
@@ -2800,6 +2834,7 @@ module Aws::Lightsail
|
|
2800
2834
|
UpdateContainerServiceRequest.add_member(:scale, Shapes::ShapeRef.new(shape: ContainerServiceScale, location_name: "scale"))
|
2801
2835
|
UpdateContainerServiceRequest.add_member(:is_disabled, Shapes::ShapeRef.new(shape: boolean, location_name: "isDisabled"))
|
2802
2836
|
UpdateContainerServiceRequest.add_member(:public_domain_names, Shapes::ShapeRef.new(shape: ContainerServicePublicDomains, location_name: "publicDomainNames"))
|
2837
|
+
UpdateContainerServiceRequest.add_member(:private_registry_access, Shapes::ShapeRef.new(shape: PrivateRegistryAccessRequest, location_name: "privateRegistryAccess"))
|
2803
2838
|
UpdateContainerServiceRequest.struct_class = Types::UpdateContainerServiceRequest
|
2804
2839
|
|
2805
2840
|
UpdateContainerServiceResult.add_member(:container_service, Shapes::ShapeRef.new(shape: ContainerService, location_name: "containerService"))
|
@@ -2830,6 +2865,16 @@ module Aws::Lightsail
|
|
2830
2865
|
UpdateDomainEntryResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
2831
2866
|
UpdateDomainEntryResult.struct_class = Types::UpdateDomainEntryResult
|
2832
2867
|
|
2868
|
+
UpdateInstanceMetadataOptionsRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
|
2869
|
+
UpdateInstanceMetadataOptionsRequest.add_member(:http_tokens, Shapes::ShapeRef.new(shape: HttpTokens, location_name: "httpTokens"))
|
2870
|
+
UpdateInstanceMetadataOptionsRequest.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: HttpEndpoint, location_name: "httpEndpoint"))
|
2871
|
+
UpdateInstanceMetadataOptionsRequest.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: integer, location_name: "httpPutResponseHopLimit"))
|
2872
|
+
UpdateInstanceMetadataOptionsRequest.add_member(:http_protocol_ipv_6, Shapes::ShapeRef.new(shape: HttpProtocolIpv6, location_name: "httpProtocolIpv6"))
|
2873
|
+
UpdateInstanceMetadataOptionsRequest.struct_class = Types::UpdateInstanceMetadataOptionsRequest
|
2874
|
+
|
2875
|
+
UpdateInstanceMetadataOptionsResult.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "operation"))
|
2876
|
+
UpdateInstanceMetadataOptionsResult.struct_class = Types::UpdateInstanceMetadataOptionsResult
|
2877
|
+
|
2833
2878
|
UpdateLoadBalancerAttributeRequest.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "loadBalancerName"))
|
2834
2879
|
UpdateLoadBalancerAttributeRequest.add_member(:attribute_name, Shapes::ShapeRef.new(shape: LoadBalancerAttributeName, required: true, location_name: "attributeName"))
|
2835
2880
|
UpdateLoadBalancerAttributeRequest.add_member(:attribute_value, Shapes::ShapeRef.new(shape: StringMax256, required: true, location_name: "attributeValue"))
|
@@ -5058,6 +5103,21 @@ module Aws::Lightsail
|
|
5058
5103
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
5059
5104
|
end)
|
5060
5105
|
|
5106
|
+
api.add_operation(:update_instance_metadata_options, Seahorse::Model::Operation.new.tap do |o|
|
5107
|
+
o.name = "UpdateInstanceMetadataOptions"
|
5108
|
+
o.http_method = "POST"
|
5109
|
+
o.http_request_uri = "/"
|
5110
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateInstanceMetadataOptionsRequest)
|
5111
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateInstanceMetadataOptionsResult)
|
5112
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
5113
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
5114
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
5115
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
5116
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
5117
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
5118
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
5119
|
+
end)
|
5120
|
+
|
5061
5121
|
api.add_operation(:update_load_balancer_attribute, Seahorse::Model::Operation.new.tap do |o|
|
5062
5122
|
o.name = "UpdateLoadBalancerAttribute"
|
5063
5123
|
o.http_method = "POST"
|
@@ -2344,6 +2344,20 @@ module Aws::Lightsail
|
|
2344
2344
|
# URL returns a 404 response.
|
2345
2345
|
# @return [String]
|
2346
2346
|
#
|
2347
|
+
# @!attribute [rw] private_registry_access
|
2348
|
+
# An object that describes the configuration for the container service
|
2349
|
+
# to access private container image repositories, such as Amazon
|
2350
|
+
# Elastic Container Registry (Amazon ECR) private repositories.
|
2351
|
+
#
|
2352
|
+
# For more information, see [Configuring access to an Amazon ECR
|
2353
|
+
# private repository for an Amazon Lightsail container service][1] in
|
2354
|
+
# the *Amazon Lightsail Developer Guide*.
|
2355
|
+
#
|
2356
|
+
#
|
2357
|
+
#
|
2358
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
2359
|
+
# @return [Types::PrivateRegistryAccess]
|
2360
|
+
#
|
2347
2361
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ContainerService AWS API Documentation
|
2348
2362
|
#
|
2349
2363
|
class ContainerService < Struct.new(
|
@@ -2364,7 +2378,8 @@ module Aws::Lightsail
|
|
2364
2378
|
:principal_arn,
|
2365
2379
|
:private_domain_name,
|
2366
2380
|
:public_domain_names,
|
2367
|
-
:url
|
2381
|
+
:url,
|
2382
|
+
:private_registry_access)
|
2368
2383
|
SENSITIVE = []
|
2369
2384
|
include Aws::Structure
|
2370
2385
|
end
|
@@ -2477,6 +2492,78 @@ module Aws::Lightsail
|
|
2477
2492
|
include Aws::Structure
|
2478
2493
|
end
|
2479
2494
|
|
2495
|
+
# Describes the activation status of the role that you can use to grant
|
2496
|
+
# an Amazon Lightsail container service access to Amazon Elastic
|
2497
|
+
# Container Registry (Amazon ECR) private repositories.
|
2498
|
+
#
|
2499
|
+
# When activated, Lightsail creates an Identity and Access Management
|
2500
|
+
# (IAM) role for the specified Lightsail container service. You can use
|
2501
|
+
# the ARN of the role to create a trust relationship between your
|
2502
|
+
# Lightsail container service and an Amazon ECR private repository in
|
2503
|
+
# your Amazon Web Services account. This allows your container service
|
2504
|
+
# to pull images from Amazon ECR private repositories. For more
|
2505
|
+
# information, see [Configuring access to an Amazon ECR private
|
2506
|
+
# repository for an Amazon Lightsail container service][1] in the
|
2507
|
+
# *Amazon Lightsail Developer Guide*.
|
2508
|
+
#
|
2509
|
+
#
|
2510
|
+
#
|
2511
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
2512
|
+
#
|
2513
|
+
# @!attribute [rw] is_active
|
2514
|
+
# A Boolean value that indicates whether the role is activated.
|
2515
|
+
# @return [Boolean]
|
2516
|
+
#
|
2517
|
+
# @!attribute [rw] principal_arn
|
2518
|
+
# The Amazon Resource Name (ARN) of the role, if it is activated.
|
2519
|
+
# @return [String]
|
2520
|
+
#
|
2521
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ContainerServiceECRImagePullerRole AWS API Documentation
|
2522
|
+
#
|
2523
|
+
class ContainerServiceECRImagePullerRole < Struct.new(
|
2524
|
+
:is_active,
|
2525
|
+
:principal_arn)
|
2526
|
+
SENSITIVE = []
|
2527
|
+
include Aws::Structure
|
2528
|
+
end
|
2529
|
+
|
2530
|
+
# Describes a request to activate or deactivate the role that you can
|
2531
|
+
# use to grant an Amazon Lightsail container service access to Amazon
|
2532
|
+
# Elastic Container Registry (Amazon ECR) private repositories.
|
2533
|
+
#
|
2534
|
+
# When activated, Lightsail creates an Identity and Access Management
|
2535
|
+
# (IAM) role for the specified Lightsail container service. You can use
|
2536
|
+
# the ARN of the role to create a trust relationship between your
|
2537
|
+
# Lightsail container service and an Amazon ECR private repository in
|
2538
|
+
# your Amazon Web Services account. This allows your container service
|
2539
|
+
# to pull images from Amazon ECR private repositories. For more
|
2540
|
+
# information, see [Configuring access to an Amazon ECR private
|
2541
|
+
# repository for an Amazon Lightsail container service][1] in the
|
2542
|
+
# *Amazon Lightsail Developer Guide*.
|
2543
|
+
#
|
2544
|
+
#
|
2545
|
+
#
|
2546
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
2547
|
+
#
|
2548
|
+
# @note When making an API call, you may pass ContainerServiceECRImagePullerRoleRequest
|
2549
|
+
# data as a hash:
|
2550
|
+
#
|
2551
|
+
# {
|
2552
|
+
# is_active: false,
|
2553
|
+
# }
|
2554
|
+
#
|
2555
|
+
# @!attribute [rw] is_active
|
2556
|
+
# A Boolean value that indicates whether to activate the role.
|
2557
|
+
# @return [Boolean]
|
2558
|
+
#
|
2559
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ContainerServiceECRImagePullerRoleRequest AWS API Documentation
|
2560
|
+
#
|
2561
|
+
class ContainerServiceECRImagePullerRoleRequest < Struct.new(
|
2562
|
+
:is_active)
|
2563
|
+
SENSITIVE = []
|
2564
|
+
include Aws::Structure
|
2565
|
+
end
|
2566
|
+
|
2480
2567
|
# Describes the public endpoint configuration of a deployment of an
|
2481
2568
|
# Amazon Lightsail container service.
|
2482
2569
|
#
|
@@ -3357,6 +3444,11 @@ module Aws::Lightsail
|
|
3357
3444
|
# },
|
3358
3445
|
# },
|
3359
3446
|
# },
|
3447
|
+
# private_registry_access: {
|
3448
|
+
# ecr_image_puller_role: {
|
3449
|
+
# is_active: false,
|
3450
|
+
# },
|
3451
|
+
# },
|
3360
3452
|
# }
|
3361
3453
|
#
|
3362
3454
|
# @!attribute [rw] service_name
|
@@ -3456,6 +3548,20 @@ module Aws::Lightsail
|
|
3456
3548
|
# to use, and the health check configuration.
|
3457
3549
|
# @return [Types::ContainerServiceDeploymentRequest]
|
3458
3550
|
#
|
3551
|
+
# @!attribute [rw] private_registry_access
|
3552
|
+
# An object to describe the configuration for the container service to
|
3553
|
+
# access private container image repositories, such as Amazon Elastic
|
3554
|
+
# Container Registry (Amazon ECR) private repositories.
|
3555
|
+
#
|
3556
|
+
# For more information, see [Configuring access to an Amazon ECR
|
3557
|
+
# private repository for an Amazon Lightsail container service][1] in
|
3558
|
+
# the *Amazon Lightsail Developer Guide*.
|
3559
|
+
#
|
3560
|
+
#
|
3561
|
+
#
|
3562
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
3563
|
+
# @return [Types::PrivateRegistryAccessRequest]
|
3564
|
+
#
|
3459
3565
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateContainerServiceRequest AWS API Documentation
|
3460
3566
|
#
|
3461
3567
|
class CreateContainerServiceRequest < Struct.new(
|
@@ -3464,7 +3570,8 @@ module Aws::Lightsail
|
|
3464
3570
|
:scale,
|
3465
3571
|
:tags,
|
3466
3572
|
:public_domain_names,
|
3467
|
-
:deployment
|
3573
|
+
:deployment,
|
3574
|
+
:private_registry_access)
|
3468
3575
|
SENSITIVE = []
|
3469
3576
|
include Aws::Structure
|
3470
3577
|
end
|
@@ -8667,7 +8774,7 @@ module Aws::Lightsail
|
|
8667
8774
|
#
|
8668
8775
|
# {
|
8669
8776
|
# instance_name: "ResourceName", # required
|
8670
|
-
# metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System, BurstCapacityTime, BurstCapacityPercentage
|
8777
|
+
# metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System, BurstCapacityTime, BurstCapacityPercentage, MetadataNoToken
|
8671
8778
|
# period: 1, # required
|
8672
8779
|
# start_time: Time.now, # required
|
8673
8780
|
# end_time: Time.now, # required
|
@@ -8780,6 +8887,18 @@ module Aws::Lightsail
|
|
8780
8887
|
#
|
8781
8888
|
# `Unit`\: The published unit is `Count`.
|
8782
8889
|
#
|
8890
|
+
# * <b> <code>MetadataNoToken</code> </b> - Reports the number of
|
8891
|
+
# times that the instance metadata service was successfully accessed
|
8892
|
+
# without a token. This metric determines if there are any processes
|
8893
|
+
# accessing instance metadata by using Instance Metadata Service
|
8894
|
+
# Version 1, which doesn't use a token. If all requests use
|
8895
|
+
# token-backed sessions, such as Instance Metadata Service Version
|
8896
|
+
# 2, then the value is 0.
|
8897
|
+
#
|
8898
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
8899
|
+
#
|
8900
|
+
# `Unit`\: The published unit is `Count`.
|
8901
|
+
#
|
8783
8902
|
#
|
8784
8903
|
#
|
8785
8904
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-viewing-instance-burst-capacity
|
@@ -10884,6 +11003,10 @@ module Aws::Lightsail
|
|
10884
11003
|
# `LightsailDefaultKeyPair`).
|
10885
11004
|
# @return [String]
|
10886
11005
|
#
|
11006
|
+
# @!attribute [rw] metadata_options
|
11007
|
+
# The metadata options for the Amazon Lightsail instance.
|
11008
|
+
# @return [Types::InstanceMetadataOptions]
|
11009
|
+
#
|
10887
11010
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Instance AWS API Documentation
|
10888
11011
|
#
|
10889
11012
|
class Instance < Struct.new(
|
@@ -10907,7 +11030,8 @@ module Aws::Lightsail
|
|
10907
11030
|
:networking,
|
10908
11031
|
:state,
|
10909
11032
|
:username,
|
10910
|
-
:ssh_key_name
|
11033
|
+
:ssh_key_name,
|
11034
|
+
:metadata_options)
|
10911
11035
|
SENSITIVE = []
|
10912
11036
|
include Aws::Structure
|
10913
11037
|
end
|
@@ -11194,6 +11318,79 @@ module Aws::Lightsail
|
|
11194
11318
|
include Aws::Structure
|
11195
11319
|
end
|
11196
11320
|
|
11321
|
+
# The metadata options for the instance.
|
11322
|
+
#
|
11323
|
+
# @!attribute [rw] state
|
11324
|
+
# The state of the metadata option changes.
|
11325
|
+
#
|
11326
|
+
# The following states are possible:
|
11327
|
+
#
|
11328
|
+
# * `pending` - The metadata options are being updated. The instance
|
11329
|
+
# is not yet ready to process metadata traffic with the new
|
11330
|
+
# selection.
|
11331
|
+
#
|
11332
|
+
# * `applied` - The metadata options have been successfully applied to
|
11333
|
+
# the instance.
|
11334
|
+
# @return [String]
|
11335
|
+
#
|
11336
|
+
# @!attribute [rw] http_tokens
|
11337
|
+
# The state of token usage for your instance metadata requests.
|
11338
|
+
#
|
11339
|
+
# If the state is `optional`, you can choose whether to retrieve
|
11340
|
+
# instance metadata with a signed token header on your request. If you
|
11341
|
+
# retrieve the IAM role credentials without a token, the version 1.0
|
11342
|
+
# role credentials are returned. If you retrieve the IAM role
|
11343
|
+
# credentials by using a valid signed token, the version 2.0 role
|
11344
|
+
# credentials are returned.
|
11345
|
+
#
|
11346
|
+
# If the state is `required`, you must send a signed token header with
|
11347
|
+
# all instance metadata retrieval requests. In this state, retrieving
|
11348
|
+
# the IAM role credential always returns the version 2.0 credentials.
|
11349
|
+
# The version 1.0 credentials are not available.
|
11350
|
+
#
|
11351
|
+
# Not all instance blueprints in Lightsail support version 2.0
|
11352
|
+
# credentials. Use the `MetadataNoToken` instance metric to track the
|
11353
|
+
# number of calls to the instance metadata service that are using
|
11354
|
+
# version 1.0 credentials. For more information, see [Viewing instance
|
11355
|
+
# metrics in Amazon Lightsail][1] in the *Amazon Lightsail Developer
|
11356
|
+
# Guide*.
|
11357
|
+
#
|
11358
|
+
#
|
11359
|
+
#
|
11360
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-viewing-instance-health-metrics
|
11361
|
+
# @return [String]
|
11362
|
+
#
|
11363
|
+
# @!attribute [rw] http_endpoint
|
11364
|
+
# Indicates whether the HTTP metadata endpoint on your instances is
|
11365
|
+
# enabled or disabled.
|
11366
|
+
#
|
11367
|
+
# If the value is `disabled`, you cannot access your instance
|
11368
|
+
# metadata.
|
11369
|
+
# @return [String]
|
11370
|
+
#
|
11371
|
+
# @!attribute [rw] http_put_response_hop_limit
|
11372
|
+
# The desired HTTP PUT response hop limit for instance metadata
|
11373
|
+
# requests. A larger number means that the instance metadata requests
|
11374
|
+
# can travel farther.
|
11375
|
+
# @return [Integer]
|
11376
|
+
#
|
11377
|
+
# @!attribute [rw] http_protocol_ipv_6
|
11378
|
+
# Indicates whether the IPv6 endpoint for the instance metadata
|
11379
|
+
# service is enabled or disabled.
|
11380
|
+
# @return [String]
|
11381
|
+
#
|
11382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceMetadataOptions AWS API Documentation
|
11383
|
+
#
|
11384
|
+
class InstanceMetadataOptions < Struct.new(
|
11385
|
+
:state,
|
11386
|
+
:http_tokens,
|
11387
|
+
:http_endpoint,
|
11388
|
+
:http_put_response_hop_limit,
|
11389
|
+
:http_protocol_ipv_6)
|
11390
|
+
SENSITIVE = []
|
11391
|
+
include Aws::Structure
|
11392
|
+
end
|
11393
|
+
|
11197
11394
|
# Describes monthly data transfer rates and port information for an
|
11198
11395
|
# instance.
|
11199
11396
|
#
|
@@ -13102,6 +13299,69 @@ module Aws::Lightsail
|
|
13102
13299
|
include Aws::Structure
|
13103
13300
|
end
|
13104
13301
|
|
13302
|
+
# Describes the configuration for an Amazon Lightsail container service
|
13303
|
+
# to access private container image repositories, such as Amazon Elastic
|
13304
|
+
# Container Registry (Amazon ECR) private repositories.
|
13305
|
+
#
|
13306
|
+
# For more information, see [Configuring access to an Amazon ECR private
|
13307
|
+
# repository for an Amazon Lightsail container service][1] in the
|
13308
|
+
# *Amazon Lightsail Developer Guide*.
|
13309
|
+
#
|
13310
|
+
#
|
13311
|
+
#
|
13312
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
13313
|
+
#
|
13314
|
+
# @!attribute [rw] ecr_image_puller_role
|
13315
|
+
# An object that describes the activation status of the role that you
|
13316
|
+
# can use to grant a Lightsail container service access to Amazon ECR
|
13317
|
+
# private repositories. If the role is activated, the Amazon Resource
|
13318
|
+
# Name (ARN) of the role is also listed.
|
13319
|
+
# @return [Types::ContainerServiceECRImagePullerRole]
|
13320
|
+
#
|
13321
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PrivateRegistryAccess AWS API Documentation
|
13322
|
+
#
|
13323
|
+
class PrivateRegistryAccess < Struct.new(
|
13324
|
+
:ecr_image_puller_role)
|
13325
|
+
SENSITIVE = []
|
13326
|
+
include Aws::Structure
|
13327
|
+
end
|
13328
|
+
|
13329
|
+
# Describes a request to configure an Amazon Lightsail container service
|
13330
|
+
# to access private container image repositories, such as Amazon Elastic
|
13331
|
+
# Container Registry (Amazon ECR) private repositories.
|
13332
|
+
#
|
13333
|
+
# For more information, see [Configuring access to an Amazon ECR private
|
13334
|
+
# repository for an Amazon Lightsail container service][1] in the
|
13335
|
+
# *Amazon Lightsail Developer Guide*.
|
13336
|
+
#
|
13337
|
+
#
|
13338
|
+
#
|
13339
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
13340
|
+
#
|
13341
|
+
# @note When making an API call, you may pass PrivateRegistryAccessRequest
|
13342
|
+
# data as a hash:
|
13343
|
+
#
|
13344
|
+
# {
|
13345
|
+
# ecr_image_puller_role: {
|
13346
|
+
# is_active: false,
|
13347
|
+
# },
|
13348
|
+
# }
|
13349
|
+
#
|
13350
|
+
# @!attribute [rw] ecr_image_puller_role
|
13351
|
+
# An object to describe a request to activate or deactivate the role
|
13352
|
+
# that you can use to grant an Amazon Lightsail container service
|
13353
|
+
# access to Amazon Elastic Container Registry (Amazon ECR) private
|
13354
|
+
# repositories.
|
13355
|
+
# @return [Types::ContainerServiceECRImagePullerRoleRequest]
|
13356
|
+
#
|
13357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PrivateRegistryAccessRequest AWS API Documentation
|
13358
|
+
#
|
13359
|
+
class PrivateRegistryAccessRequest < Struct.new(
|
13360
|
+
:ecr_image_puller_role)
|
13361
|
+
SENSITIVE = []
|
13362
|
+
include Aws::Structure
|
13363
|
+
end
|
13364
|
+
|
13105
13365
|
# @note When making an API call, you may pass PutAlarmRequest
|
13106
13366
|
# data as a hash:
|
13107
13367
|
#
|
@@ -15023,6 +15283,11 @@ module Aws::Lightsail
|
|
15023
15283
|
# public_domain_names: {
|
15024
15284
|
# "string" => ["string"],
|
15025
15285
|
# },
|
15286
|
+
# private_registry_access: {
|
15287
|
+
# ecr_image_puller_role: {
|
15288
|
+
# is_active: false,
|
15289
|
+
# },
|
15290
|
+
# },
|
15026
15291
|
# }
|
15027
15292
|
#
|
15028
15293
|
# @!attribute [rw] service_name
|
@@ -15079,6 +15344,20 @@ module Aws::Lightsail
|
|
15079
15344
|
# shown in the example later on this page.
|
15080
15345
|
# @return [Hash<String,Array<String>>]
|
15081
15346
|
#
|
15347
|
+
# @!attribute [rw] private_registry_access
|
15348
|
+
# An object to describe the configuration for the container service to
|
15349
|
+
# access private container image repositories, such as Amazon Elastic
|
15350
|
+
# Container Registry (Amazon ECR) private repositories.
|
15351
|
+
#
|
15352
|
+
# For more information, see [Configuring access to an Amazon ECR
|
15353
|
+
# private repository for an Amazon Lightsail container service][1] in
|
15354
|
+
# the *Amazon Lightsail Developer Guide*.
|
15355
|
+
#
|
15356
|
+
#
|
15357
|
+
#
|
15358
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
15359
|
+
# @return [Types::PrivateRegistryAccessRequest]
|
15360
|
+
#
|
15082
15361
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateContainerServiceRequest AWS API Documentation
|
15083
15362
|
#
|
15084
15363
|
class UpdateContainerServiceRequest < Struct.new(
|
@@ -15086,7 +15365,8 @@ module Aws::Lightsail
|
|
15086
15365
|
:power,
|
15087
15366
|
:scale,
|
15088
15367
|
:is_disabled,
|
15089
|
-
:public_domain_names
|
15368
|
+
:public_domain_names,
|
15369
|
+
:private_registry_access)
|
15090
15370
|
SENSITIVE = []
|
15091
15371
|
include Aws::Structure
|
15092
15372
|
end
|
@@ -15304,6 +15584,89 @@ module Aws::Lightsail
|
|
15304
15584
|
include Aws::Structure
|
15305
15585
|
end
|
15306
15586
|
|
15587
|
+
# @note When making an API call, you may pass UpdateInstanceMetadataOptionsRequest
|
15588
|
+
# data as a hash:
|
15589
|
+
#
|
15590
|
+
# {
|
15591
|
+
# instance_name: "ResourceName", # required
|
15592
|
+
# http_tokens: "optional", # accepts optional, required
|
15593
|
+
# http_endpoint: "disabled", # accepts disabled, enabled
|
15594
|
+
# http_put_response_hop_limit: 1,
|
15595
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
15596
|
+
# }
|
15597
|
+
#
|
15598
|
+
# @!attribute [rw] instance_name
|
15599
|
+
# The name of the instance for which to update metadata parameters.
|
15600
|
+
# @return [String]
|
15601
|
+
#
|
15602
|
+
# @!attribute [rw] http_tokens
|
15603
|
+
# The state of token usage for your instance metadata requests. If the
|
15604
|
+
# parameter is not specified in the request, the default state is
|
15605
|
+
# `optional`.
|
15606
|
+
#
|
15607
|
+
# If the state is `optional`, you can choose whether to retrieve
|
15608
|
+
# instance metadata with a signed token header on your request. If you
|
15609
|
+
# retrieve the IAM role credentials without a token, the version 1.0
|
15610
|
+
# role credentials are returned. If you retrieve the IAM role
|
15611
|
+
# credentials by using a valid signed token, the version 2.0 role
|
15612
|
+
# credentials are returned.
|
15613
|
+
#
|
15614
|
+
# If the state is `required`, you must send a signed token header with
|
15615
|
+
# all instance metadata retrieval requests. In this state, retrieving
|
15616
|
+
# the IAM role credential always returns the version 2.0 credentials.
|
15617
|
+
# The version 1.0 credentials are not available.
|
15618
|
+
# @return [String]
|
15619
|
+
#
|
15620
|
+
# @!attribute [rw] http_endpoint
|
15621
|
+
# Enables or disables the HTTP metadata endpoint on your instances. If
|
15622
|
+
# this parameter is not specified, the existing state is maintained.
|
15623
|
+
#
|
15624
|
+
# If you specify a value of `disabled`, you cannot access your
|
15625
|
+
# instance metadata.
|
15626
|
+
# @return [String]
|
15627
|
+
#
|
15628
|
+
# @!attribute [rw] http_put_response_hop_limit
|
15629
|
+
# The desired HTTP PUT response hop limit for instance metadata
|
15630
|
+
# requests. A larger number means that the instance metadata requests
|
15631
|
+
# can travel farther. If no parameter is specified, the existing state
|
15632
|
+
# is maintained.
|
15633
|
+
# @return [Integer]
|
15634
|
+
#
|
15635
|
+
# @!attribute [rw] http_protocol_ipv_6
|
15636
|
+
# Enables or disables the IPv6 endpoint for the instance metadata
|
15637
|
+
# service. This setting applies only when the HTTP metadata endpoint
|
15638
|
+
# is enabled.
|
15639
|
+
#
|
15640
|
+
# <note markdown="1"> This parameter is available only for instances in the Europe
|
15641
|
+
# (Stockholm) Amazon Web Services Region (`eu-north-1`).
|
15642
|
+
#
|
15643
|
+
# </note>
|
15644
|
+
# @return [String]
|
15645
|
+
#
|
15646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateInstanceMetadataOptionsRequest AWS API Documentation
|
15647
|
+
#
|
15648
|
+
class UpdateInstanceMetadataOptionsRequest < Struct.new(
|
15649
|
+
:instance_name,
|
15650
|
+
:http_tokens,
|
15651
|
+
:http_endpoint,
|
15652
|
+
:http_put_response_hop_limit,
|
15653
|
+
:http_protocol_ipv_6)
|
15654
|
+
SENSITIVE = []
|
15655
|
+
include Aws::Structure
|
15656
|
+
end
|
15657
|
+
|
15658
|
+
# @!attribute [rw] operation
|
15659
|
+
# Describes the API operation.
|
15660
|
+
# @return [Types::Operation]
|
15661
|
+
#
|
15662
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateInstanceMetadataOptionsResult AWS API Documentation
|
15663
|
+
#
|
15664
|
+
class UpdateInstanceMetadataOptionsResult < Struct.new(
|
15665
|
+
:operation)
|
15666
|
+
SENSITIVE = []
|
15667
|
+
include Aws::Structure
|
15668
|
+
end
|
15669
|
+
|
15307
15670
|
# @note When making an API call, you may pass UpdateLoadBalancerAttributeRequest
|
15308
15671
|
# data as a hash:
|
15309
15672
|
#
|
data/lib/aws-sdk-lightsail.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lightsail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.69.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|