aws-sdk-lambdamicrovms 1.1.0 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 272d006250d02b4e9e569f8ab197577366bab970fd58a14648a643b4d61ae9d7
4
- data.tar.gz: c116b4e0e0625a5fedc120281f184ba8d95b56a790f9516a958705b273df7bdb
3
+ metadata.gz: 6d324cfce776b43fe02b2ddb91d87c12be3c43bb704b01d3f4d7b44a4886edbd
4
+ data.tar.gz: 4ded84aa829e071c69ab0cb4ed17c1725d702089f5c771bc08758a378fdd4e95
5
5
  SHA512:
6
- metadata.gz: a7f641ebbb0956f4f3f878be1a7a4752bd49a91ae3400c127fbf590b5a93351b54aee1d65b0305b87efe347a2a2bb3a8374228ba3049706daff11b830cf797cd
7
- data.tar.gz: 8c6449ee54e3902f60fbffd5067ab95fcc85b7b700ea5c223c5a9b1856f31e005f2afb5afb5d47f1274be1387d8871edd12cd5c540415de5a54e10d9c36cc567
6
+ metadata.gz: 7e6cb630644b19152db695c5ec37f0734e6debf7910727b2f474d5820694c32d87ed8fea84553cc2d48864e799a7e8995c9257de782fa16079df96a6f103cd18
7
+ data.tar.gz: '09f6d4c7b3788f76d00ff7695877b18c2f00e2cb2a404fb836c65296806dce71a49cd4520130807596885a915357678fe2378a5e71c6653109a469c9eca42138'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.2.0 (2026-08-27)
5
+ ------------------
6
+
7
+ * Feature - Added InsufficientCapacityException to RunMicrovm for capacity-related failures. Added lifecycle status field (AVAILABLE, DEPRECATED) to ListManagedMicrovmImageVersions. Added ConflictException to CreateMicrovmAuthToken and CreateMicrovmShellAuthToken for unregistered MicroVMs.
8
+
4
9
  1.1.0 (2026-07-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.2.0
@@ -1114,6 +1114,7 @@ module Aws::LambdaMicrovms
1114
1114
  # resp.items #=> Array
1115
1115
  # resp.items[0].image_arn #=> String
1116
1116
  # resp.items[0].image_version #=> String
1117
+ # resp.items[0].status #=> String, one of "AVAILABLE", "DEPRECATED"
1117
1118
  # resp.items[0].created_at #=> Time
1118
1119
  # resp.items[0].updated_at #=> Time
1119
1120
  #
@@ -1554,7 +1555,7 @@ module Aws::LambdaMicrovms
1554
1555
  # log_stream: "CloudWatchLoggingLogStreamString",
1555
1556
  # },
1556
1557
  # },
1557
- # run_hook_payload: "RunMicrovmRequestRunHookPayloadString",
1558
+ # run_hook_payload: "RunHookPayload",
1558
1559
  # maximum_duration_in_seconds: 1,
1559
1560
  # client_token: "RunMicrovmRequestClientTokenString",
1560
1561
  # })
@@ -1985,7 +1986,7 @@ module Aws::LambdaMicrovms
1985
1986
  tracer: tracer
1986
1987
  )
1987
1988
  context[:gem_name] = 'aws-sdk-lambdamicrovms'
1988
- context[:gem_version] = '1.1.0'
1989
+ context[:gem_version] = '1.2.0'
1989
1990
  Seahorse::Client::Request.new(handlers, context)
1990
1991
  end
1991
1992
 
@@ -63,6 +63,7 @@ module Aws::LambdaMicrovms
63
63
  IdlePolicyMaxIdleDurationSecondsInteger = Shapes::IntegerShape.new(name: 'IdlePolicyMaxIdleDurationSecondsInteger')
64
64
  IdlePolicySuspendedDurationSecondsInteger = Shapes::IntegerShape.new(name: 'IdlePolicySuspendedDurationSecondsInteger')
65
65
  ImageName = Shapes::StringShape.new(name: 'ImageName')
66
+ InsufficientCapacityException = Shapes::StructureShape.new(name: 'InsufficientCapacityException')
66
67
  Integer = Shapes::IntegerShape.new(name: 'Integer')
67
68
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
68
69
  InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
@@ -94,6 +95,7 @@ module Aws::LambdaMicrovms
94
95
  ManagedMicrovmImageSummaryList = Shapes::ListShape.new(name: 'ManagedMicrovmImageSummaryList')
95
96
  ManagedMicrovmImageVersion = Shapes::StructureShape.new(name: 'ManagedMicrovmImageVersion')
96
97
  ManagedMicrovmImageVersionList = Shapes::ListShape.new(name: 'ManagedMicrovmImageVersionList')
98
+ ManagedMicrovmImageVersionStatus = Shapes::StringShape.new(name: 'ManagedMicrovmImageVersionStatus')
97
99
  MicrovmHooks = Shapes::StructureShape.new(name: 'MicrovmHooks')
98
100
  MicrovmHooksResumeTimeoutInSecondsInteger = Shapes::IntegerShape.new(name: 'MicrovmHooksResumeTimeoutInSecondsInteger')
99
101
  MicrovmHooksRunTimeoutInSecondsInteger = Shapes::IntegerShape.new(name: 'MicrovmHooksRunTimeoutInSecondsInteger')
@@ -132,10 +134,10 @@ module Aws::LambdaMicrovms
132
134
  ResumeMicrovmRequest = Shapes::StructureShape.new(name: 'ResumeMicrovmRequest')
133
135
  ResumeMicrovmResponse = Shapes::StructureShape.new(name: 'ResumeMicrovmResponse')
134
136
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
137
+ RunHookPayload = Shapes::StringShape.new(name: 'RunHookPayload')
135
138
  RunMicrovmRequest = Shapes::StructureShape.new(name: 'RunMicrovmRequest')
136
139
  RunMicrovmRequestClientTokenString = Shapes::StringShape.new(name: 'RunMicrovmRequestClientTokenString')
137
140
  RunMicrovmRequestMaximumDurationInSecondsInteger = Shapes::IntegerShape.new(name: 'RunMicrovmRequestMaximumDurationInSecondsInteger')
138
- RunMicrovmRequestRunHookPayloadString = Shapes::StringShape.new(name: 'RunMicrovmRequestRunHookPayloadString')
139
141
  RunMicrovmResponse = Shapes::StructureShape.new(name: 'RunMicrovmResponse')
140
142
  RunMicrovmResponseEndpointString = Shapes::StringShape.new(name: 'RunMicrovmResponseEndpointString')
141
143
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
@@ -358,6 +360,9 @@ module Aws::LambdaMicrovms
358
360
  IdlePolicy.add_member(:auto_resume_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "autoResumeEnabled"))
359
361
  IdlePolicy.struct_class = Types::IdlePolicy
360
362
 
363
+ InsufficientCapacityException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
364
+ InsufficientCapacityException.struct_class = Types::InsufficientCapacityException
365
+
361
366
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
362
367
  InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
363
368
  InternalServerException.struct_class = Types::InternalServerException
@@ -451,6 +456,7 @@ module Aws::LambdaMicrovms
451
456
 
452
457
  ManagedMicrovmImageVersion.add_member(:image_arn, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "imageArn"))
453
458
  ManagedMicrovmImageVersion.add_member(:image_version, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "imageVersion"))
459
+ ManagedMicrovmImageVersion.add_member(:status, Shapes::ShapeRef.new(shape: ManagedMicrovmImageVersionStatus, location_name: "status"))
454
460
  ManagedMicrovmImageVersion.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
455
461
  ManagedMicrovmImageVersion.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
456
462
  ManagedMicrovmImageVersion.struct_class = Types::ManagedMicrovmImageVersion
@@ -573,7 +579,7 @@ module Aws::LambdaMicrovms
573
579
  RunMicrovmRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "executionRoleArn"))
574
580
  RunMicrovmRequest.add_member(:idle_policy, Shapes::ShapeRef.new(shape: IdlePolicy, location_name: "idlePolicy"))
575
581
  RunMicrovmRequest.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
576
- RunMicrovmRequest.add_member(:run_hook_payload, Shapes::ShapeRef.new(shape: RunMicrovmRequestRunHookPayloadString, location_name: "runHookPayload"))
582
+ RunMicrovmRequest.add_member(:run_hook_payload, Shapes::ShapeRef.new(shape: RunHookPayload, location_name: "runHookPayload"))
577
583
  RunMicrovmRequest.add_member(:maximum_duration_in_seconds, Shapes::ShapeRef.new(shape: RunMicrovmRequestMaximumDurationInSecondsInteger, location_name: "maximumDurationInSeconds"))
578
584
  RunMicrovmRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: RunMicrovmRequestClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
579
585
  RunMicrovmRequest.struct_class = Types::RunMicrovmRequest
@@ -750,6 +756,7 @@ module Aws::LambdaMicrovms
750
756
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
751
757
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
752
758
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
759
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
753
760
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
754
761
  end)
755
762
 
@@ -778,6 +785,7 @@ module Aws::LambdaMicrovms
778
785
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
779
786
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
780
787
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
788
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
781
789
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
782
790
  end)
783
791
 
@@ -980,8 +988,12 @@ module Aws::LambdaMicrovms
980
988
  o.input = Shapes::ShapeRef.new(shape: ListTagsRequest)
981
989
  o.output = Shapes::ShapeRef.new(shape: ListTagsResponse)
982
990
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
991
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
992
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
983
993
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
994
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
984
995
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
996
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
985
997
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
986
998
  end)
987
999
 
@@ -1007,6 +1019,7 @@ module Aws::LambdaMicrovms
1007
1019
  o.output = Shapes::ShapeRef.new(shape: RunMicrovmResponse)
1008
1020
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1009
1021
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1022
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientCapacityException)
1010
1023
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1011
1024
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1012
1025
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
@@ -1035,8 +1048,12 @@ module Aws::LambdaMicrovms
1035
1048
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1036
1049
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1037
1050
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1051
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1052
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1038
1053
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1054
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1039
1055
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1056
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1040
1057
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1041
1058
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1042
1059
  end)
@@ -1062,8 +1079,12 @@ module Aws::LambdaMicrovms
1062
1079
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1063
1080
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1064
1081
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1082
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1083
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1065
1084
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1085
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1066
1086
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1087
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1067
1088
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1068
1089
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1069
1090
  end)
@@ -29,6 +29,7 @@ module Aws::LambdaMicrovms
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
31
  # * {ConflictException}
32
+ # * {InsufficientCapacityException}
32
33
  # * {InternalServerException}
33
34
  # * {InvalidParameterValueException}
34
35
  # * {ResourceConflictException}
@@ -85,6 +86,21 @@ module Aws::LambdaMicrovms
85
86
  end
86
87
  end
87
88
 
89
+ class InsufficientCapacityException < ServiceError
90
+
91
+ # @param [Seahorse::Client::RequestContext] context
92
+ # @param [String] message
93
+ # @param [Aws::LambdaMicrovms::Types::InsufficientCapacityException] data
94
+ def initialize(context, message, data = Aws::EmptyStructure.new)
95
+ super(context, message, data)
96
+ end
97
+
98
+ # @return [String]
99
+ def message
100
+ @message || @data[:message]
101
+ end
102
+ end
103
+
88
104
  class InternalServerException < ServiceError
89
105
 
90
106
  # @param [Seahorse::Client::RequestContext] context
@@ -49,8 +49,7 @@ module Aws::LambdaMicrovms
49
49
  # @note CodeArtifact is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CodeArtifact corresponding to the set member.
50
50
  #
51
51
  # @!attribute [rw] uri
52
- # The URI of the code artifact, such as an Amazon S3 path or Amazon
53
- # ECR image URI.
52
+ # The URI of the code artifact in Amazon S3.
54
53
  # @return [String]
55
54
  #
56
55
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-microvms-2025-09-09/CodeArtifact AWS API Documentation
@@ -238,7 +237,7 @@ module Aws::LambdaMicrovms
238
237
  :name,
239
238
  :tags,
240
239
  :client_token)
241
- SENSITIVE = []
240
+ SENSITIVE = [:environment_variables]
242
241
  include Aws::Structure
243
242
  end
244
243
 
@@ -358,7 +357,7 @@ module Aws::LambdaMicrovms
358
357
  :tags,
359
358
  :updated_at,
360
359
  :image_version)
361
- SENSITIVE = []
360
+ SENSITIVE = [:environment_variables]
362
361
  include Aws::Structure
363
362
  end
364
363
 
@@ -726,7 +725,7 @@ module Aws::LambdaMicrovms
726
725
  :updated_at,
727
726
  :state_reason,
728
727
  :tags)
729
- SENSITIVE = []
728
+ SENSITIVE = [:environment_variables]
730
729
  include Aws::Structure
731
730
  end
732
731
 
@@ -872,6 +871,20 @@ module Aws::LambdaMicrovms
872
871
  include Aws::Structure
873
872
  end
874
873
 
874
+ # There is insufficient capacity to fulfill the request. Retry the
875
+ # request later.
876
+ #
877
+ # @!attribute [rw] message
878
+ # @return [String]
879
+ #
880
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-microvms-2025-09-09/InsufficientCapacityException AWS API Documentation
881
+ #
882
+ class InsufficientCapacityException < Struct.new(
883
+ :message)
884
+ SENSITIVE = []
885
+ include Aws::Structure
886
+ end
887
+
875
888
  # An internal server error occurred. Retry the request later.
876
889
  #
877
890
  # @!attribute [rw] message
@@ -1280,6 +1293,12 @@ module Aws::LambdaMicrovms
1280
1293
  # The version of the managed MicroVM image.
1281
1294
  # @return [String]
1282
1295
  #
1296
+ # @!attribute [rw] status
1297
+ # The lifecycle status of the managed MicroVM image version. Valid
1298
+ # values: AVAILABLE (the version is available for use) or DEPRECATED
1299
+ # (the version is deprecated; do not use it for new MicroVM images).
1300
+ # @return [String]
1301
+ #
1283
1302
  # @!attribute [rw] created_at
1284
1303
  # The timestamp when the version was created.
1285
1304
  # @return [Time]
@@ -1293,6 +1312,7 @@ module Aws::LambdaMicrovms
1293
1312
  class ManagedMicrovmImageVersion < Struct.new(
1294
1313
  :image_arn,
1295
1314
  :image_version,
1315
+ :status,
1296
1316
  :created_at,
1297
1317
  :updated_at)
1298
1318
  SENSITIVE = []
@@ -1582,7 +1602,7 @@ module Aws::LambdaMicrovms
1582
1602
  :updated_at,
1583
1603
  :state_reason,
1584
1604
  :tags)
1585
- SENSITIVE = []
1605
+ SENSITIVE = [:environment_variables]
1586
1606
  include Aws::Structure
1587
1607
  end
1588
1608
 
@@ -1808,7 +1828,7 @@ module Aws::LambdaMicrovms
1808
1828
  :run_hook_payload,
1809
1829
  :maximum_duration_in_seconds,
1810
1830
  :client_token)
1811
- SENSITIVE = []
1831
+ SENSITIVE = [:run_hook_payload]
1812
1832
  include Aws::Structure
1813
1833
  end
1814
1834
 
@@ -2163,7 +2183,7 @@ module Aws::LambdaMicrovms
2163
2183
  :environment_variables,
2164
2184
  :image_identifier,
2165
2185
  :client_token)
2166
- SENSITIVE = []
2186
+ SENSITIVE = [:environment_variables]
2167
2187
  include Aws::Structure
2168
2188
  end
2169
2189
 
@@ -2276,7 +2296,7 @@ module Aws::LambdaMicrovms
2276
2296
  :environment_variables,
2277
2297
  :updated_at,
2278
2298
  :image_version)
2279
- SENSITIVE = []
2299
+ SENSITIVE = [:environment_variables]
2280
2300
  include Aws::Structure
2281
2301
  end
2282
2302
 
@@ -2409,7 +2429,7 @@ module Aws::LambdaMicrovms
2409
2429
  :updated_at,
2410
2430
  :state_reason,
2411
2431
  :tags)
2412
- SENSITIVE = []
2432
+ SENSITIVE = [:environment_variables]
2413
2433
  include Aws::Structure
2414
2434
  end
2415
2435
 
@@ -54,7 +54,7 @@ module Aws::LambdaMicrovms
54
54
  autoload :EndpointProvider, 'aws-sdk-lambdamicrovms/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-lambdamicrovms/endpoints'
56
56
 
57
- GEM_VERSION = '1.1.0'
57
+ GEM_VERSION = '1.2.0'
58
58
 
59
59
  end
60
60
 
data/sig/errors.rbs CHANGED
@@ -19,6 +19,9 @@ module Aws
19
19
  def resource_id: () -> ::String
20
20
  def resource_type: () -> ::String
21
21
  end
22
+ class InsufficientCapacityException < ::Aws::Errors::ServiceError
23
+ def message: () -> ::String
24
+ end
22
25
  class InternalServerException < ::Aws::Errors::ServiceError
23
26
  def message: () -> ::String
24
27
  def retry_after_seconds: () -> ::String
data/sig/types.rbs CHANGED
@@ -237,6 +237,11 @@ module Aws::LambdaMicrovms
237
237
  SENSITIVE: []
238
238
  end
239
239
 
240
+ class InsufficientCapacityException
241
+ attr_accessor message: ::String
242
+ SENSITIVE: []
243
+ end
244
+
240
245
  class InternalServerException
241
246
  attr_accessor message: ::String
242
247
  attr_accessor retry_after_seconds: ::Integer
@@ -368,6 +373,7 @@ module Aws::LambdaMicrovms
368
373
  class ManagedMicrovmImageVersion
369
374
  attr_accessor image_arn: ::String
370
375
  attr_accessor image_version: ::String
376
+ attr_accessor status: ("AVAILABLE" | "DEPRECATED")
371
377
  attr_accessor created_at: ::Time
372
378
  attr_accessor updated_at: ::Time
373
379
  SENSITIVE: []
@@ -509,7 +515,7 @@ module Aws::LambdaMicrovms
509
515
  attr_accessor run_hook_payload: ::String
510
516
  attr_accessor maximum_duration_in_seconds: ::Integer
511
517
  attr_accessor client_token: ::String
512
- SENSITIVE: []
518
+ SENSITIVE: [:run_hook_payload]
513
519
  end
514
520
 
515
521
  class RunMicrovmResponse
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambdamicrovms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services