aws-sdk-panorama 1.11.0 → 1.12.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-panorama/client.rb +5 -4
- data/lib/aws-sdk-panorama/client_api.rb +1 -0
- data/lib/aws-sdk-panorama/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-panorama/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-panorama/types.rb +6 -1
- data/lib/aws-sdk-panorama.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73542f75707aa79bccf29181aaaaddfdd3555a4257695bd353c0aad920b9b7fa
|
4
|
+
data.tar.gz: 38bc2f0d23d3177f7bdd34a2ec04fa205227037549c2644db9b978d7872b10f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ebbd3ce65565011c70dfaef88c410fd12b4341ed439e281f0ee2163984a0aa1e8bf97ee57369a536c29009bef90bfa5753ff42b80a1ea5064a05876db96a00b
|
7
|
+
data.tar.gz: 3d862eea6810f6a2621e96e658ae6f05e18fc78e74dee309f34665c88de78e10830ee46302c16fd7c00e12f15d6ff4a8ffc150c51a3a741cc78acb9f03358782
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.12.0 (2023-01-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added AllowMajorVersionUpdate option to OTAJobConfig to make appliance software major version updates opt-in.
|
8
|
+
|
4
9
|
1.11.0 (2023-01-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.12.0
|
@@ -430,11 +430,11 @@ module Aws::Panorama
|
|
430
430
|
req.send_request(options)
|
431
431
|
end
|
432
432
|
|
433
|
-
# Creates a job to run on
|
434
|
-
#
|
433
|
+
# Creates a job to run on a device. A job can update a device's
|
434
|
+
# software or reboot it.
|
435
435
|
#
|
436
436
|
# @option params [required, Array<String>] :device_ids
|
437
|
-
#
|
437
|
+
# ID of target device.
|
438
438
|
#
|
439
439
|
# @option params [Types::DeviceJobConfig] :device_job_config
|
440
440
|
# Configuration settings for a software update job.
|
@@ -452,6 +452,7 @@ module Aws::Panorama
|
|
452
452
|
# device_ids: ["DeviceId"], # required
|
453
453
|
# device_job_config: {
|
454
454
|
# ota_job_config: {
|
455
|
+
# allow_major_version_update: false,
|
455
456
|
# image_version: "ImageVersion", # required
|
456
457
|
# },
|
457
458
|
# },
|
@@ -2040,7 +2041,7 @@ module Aws::Panorama
|
|
2040
2041
|
params: params,
|
2041
2042
|
config: config)
|
2042
2043
|
context[:gem_name] = 'aws-sdk-panorama'
|
2043
|
-
context[:gem_version] = '1.
|
2044
|
+
context[:gem_version] = '1.12.0'
|
2044
2045
|
Seahorse::Client::Request.new(handlers, context)
|
2045
2046
|
end
|
2046
2047
|
|
@@ -765,6 +765,7 @@ module Aws::Panorama
|
|
765
765
|
NtpStatus.add_member(:ntp_server_name, Shapes::ShapeRef.new(shape: NtpServerName, location_name: "NtpServerName"))
|
766
766
|
NtpStatus.struct_class = Types::NtpStatus
|
767
767
|
|
768
|
+
OTAJobConfig.add_member(:allow_major_version_update, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllowMajorVersionUpdate"))
|
768
769
|
OTAJobConfig.add_member(:image_version, Shapes::ShapeRef.new(shape: ImageVersion, required: true, location_name: "ImageVersion"))
|
769
770
|
OTAJobConfig.struct_class = Types::OTAJobConfig
|
770
771
|
|
@@ -50,6 +50,9 @@ module Aws::Panorama
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -15,7 +15,7 @@ module Aws::Panorama
|
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
17
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
19
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
20
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
21
|
end
|
@@ -219,7 +219,7 @@ module Aws::Panorama
|
|
219
219
|
end
|
220
220
|
|
221
221
|
# @!attribute [rw] device_ids
|
222
|
-
#
|
222
|
+
# ID of target device.
|
223
223
|
# @return [Array<String>]
|
224
224
|
#
|
225
225
|
# @!attribute [rw] device_job_config
|
@@ -2253,6 +2253,10 @@ module Aws::Panorama
|
|
2253
2253
|
|
2254
2254
|
# An over-the-air update (OTA) job configuration.
|
2255
2255
|
#
|
2256
|
+
# @!attribute [rw] allow_major_version_update
|
2257
|
+
# Whether to apply the update if it is a major version change.
|
2258
|
+
# @return [Boolean]
|
2259
|
+
#
|
2256
2260
|
# @!attribute [rw] image_version
|
2257
2261
|
# The target version of the device software.
|
2258
2262
|
# @return [String]
|
@@ -2260,6 +2264,7 @@ module Aws::Panorama
|
|
2260
2264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/OTAJobConfig AWS API Documentation
|
2261
2265
|
#
|
2262
2266
|
class OTAJobConfig < Struct.new(
|
2267
|
+
:allow_major_version_update,
|
2263
2268
|
:image_version)
|
2264
2269
|
SENSITIVE = []
|
2265
2270
|
include Aws::Structure
|
data/lib/aws-sdk-panorama.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-panorama
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.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: 2023-01-
|
11
|
+
date: 2023-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|