aws-sdk-opsworkscm 1.24.0 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-opsworkscm.rb +1 -1
- data/lib/aws-sdk-opsworkscm/client.rb +52 -1
- data/lib/aws-sdk-opsworkscm/client_api.rb +7 -0
- data/lib/aws-sdk-opsworkscm/types.rb +60 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12765688be8891cdf437402593b219e1aa11caa7
|
4
|
+
data.tar.gz: 4bd9742e5fc15916228c159dc5ff41024d971208
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fe499d0a2d0f182be3654c73d81423054115311ca2f98fa0db60830fff717f4cdaffe8fae5b7cacf7f45abb4bfd792c4badb3b16f0c376f734139d69f2ea32f
|
7
|
+
data.tar.gz: c44c00c6a13c935b2f84000abfb7a372ca0abac9865739de7fda9431a3011112acafc28cdb1ded3083ae70956da7e97c80e369f5ba140defe9167e312e6ff515
|
data/lib/aws-sdk-opsworkscm.rb
CHANGED
@@ -449,10 +449,53 @@ module Aws::OpsWorksCM
|
|
449
449
|
# group rules, open Security Groups in the navigation pane of the EC2
|
450
450
|
# management console.
|
451
451
|
#
|
452
|
+
# To specify your own domain for a server, and provide your own
|
453
|
+
# self-signed or CA-signed certificate and private key, specify values
|
454
|
+
# for `CustomDomain`, `CustomCertificate`, and `CustomPrivateKey`.
|
455
|
+
#
|
452
456
|
# @option params [Boolean] :associate_public_ip_address
|
453
457
|
# Associate a public IP address with a server that you are launching.
|
454
458
|
# Valid values are `true` or `false`. The default value is `true`.
|
455
459
|
#
|
460
|
+
# @option params [String] :custom_domain
|
461
|
+
# An optional public endpoint of a server, such as
|
462
|
+
# `https://aws.my-company.com`. To access the server, create a CNAME DNS
|
463
|
+
# record in your preferred DNS service that points the custom domain to
|
464
|
+
# the endpoint that is generated when the server is created (the value
|
465
|
+
# of the CreateServer Endpoint attribute). You cannot access the server
|
466
|
+
# by using the generated `Endpoint` value if the server is using a
|
467
|
+
# custom domain. If you specify a custom domain, you must also specify
|
468
|
+
# values for `CustomCertificate` and `CustomPrivateKey`.
|
469
|
+
#
|
470
|
+
# @option params [String] :custom_certificate
|
471
|
+
# A PEM-formatted HTTPS certificate. The value can be be a single,
|
472
|
+
# self-signed certificate, or a certificate chain. If you specify a
|
473
|
+
# custom certificate, you must also specify values for `CustomDomain`
|
474
|
+
# and `CustomPrivateKey`. The following are requirements for the
|
475
|
+
# `CustomCertificate` value:
|
476
|
+
#
|
477
|
+
# * You can provide either a self-signed, custom certificate, or the
|
478
|
+
# full certificate chain.
|
479
|
+
#
|
480
|
+
# * The certificate must be a valid X509 certificate, or a certificate
|
481
|
+
# chain in PEM format.
|
482
|
+
#
|
483
|
+
# * The certificate must be valid at the time of upload. A certificate
|
484
|
+
# can't be used before its validity period begins (the certificate's
|
485
|
+
# `NotBefore` date), or after it expires (the certificate's
|
486
|
+
# `NotAfter` date).
|
487
|
+
#
|
488
|
+
# * The certificate’s common name or subject alternative names (SANs),
|
489
|
+
# if present, must match the value of `CustomDomain`.
|
490
|
+
#
|
491
|
+
# * The certificate must match the value of `CustomPrivateKey`.
|
492
|
+
#
|
493
|
+
# @option params [String] :custom_private_key
|
494
|
+
# A private key in PEM format for connecting to the server by using
|
495
|
+
# HTTPS. The private key must not be encrypted; it cannot be protected
|
496
|
+
# by a password or passphrase. If you specify a custom private key, you
|
497
|
+
# must also specify values for `CustomDomain` and `CustomCertificate`.
|
498
|
+
#
|
456
499
|
# @option params [Boolean] :disable_automated_backup
|
457
500
|
# Enable or disable scheduled backups. Valid values are `true` or
|
458
501
|
# `false`. The default value is `true`.
|
@@ -610,6 +653,9 @@ module Aws::OpsWorksCM
|
|
610
653
|
#
|
611
654
|
# resp = client.create_server({
|
612
655
|
# associate_public_ip_address: false,
|
656
|
+
# custom_domain: "CustomDomain",
|
657
|
+
# custom_certificate: "CustomCertificate",
|
658
|
+
# custom_private_key: "CustomPrivateKey",
|
613
659
|
# disable_automated_backup: false,
|
614
660
|
# engine: "String",
|
615
661
|
# engine_model: "String",
|
@@ -640,6 +686,7 @@ module Aws::OpsWorksCM
|
|
640
686
|
# resp.server.server_name #=> String
|
641
687
|
# resp.server.created_at #=> Time
|
642
688
|
# resp.server.cloud_formation_stack_arn #=> String
|
689
|
+
# resp.server.custom_domain #=> String
|
643
690
|
# resp.server.disable_automated_backup #=> Boolean
|
644
691
|
# resp.server.endpoint #=> String
|
645
692
|
# resp.server.engine #=> String
|
@@ -978,6 +1025,7 @@ module Aws::OpsWorksCM
|
|
978
1025
|
# resp.servers[0].server_name #=> String
|
979
1026
|
# resp.servers[0].created_at #=> Time
|
980
1027
|
# resp.servers[0].cloud_formation_stack_arn #=> String
|
1028
|
+
# resp.servers[0].custom_domain #=> String
|
981
1029
|
# resp.servers[0].disable_automated_backup #=> Boolean
|
982
1030
|
# resp.servers[0].endpoint #=> String
|
983
1031
|
# resp.servers[0].engine #=> String
|
@@ -1238,6 +1286,7 @@ module Aws::OpsWorksCM
|
|
1238
1286
|
# resp.server.server_name #=> String
|
1239
1287
|
# resp.server.created_at #=> Time
|
1240
1288
|
# resp.server.cloud_formation_stack_arn #=> String
|
1289
|
+
# resp.server.custom_domain #=> String
|
1241
1290
|
# resp.server.disable_automated_backup #=> Boolean
|
1242
1291
|
# resp.server.endpoint #=> String
|
1243
1292
|
# resp.server.engine #=> String
|
@@ -1319,6 +1368,7 @@ module Aws::OpsWorksCM
|
|
1319
1368
|
# resp.server.server_name #=> String
|
1320
1369
|
# resp.server.created_at #=> Time
|
1321
1370
|
# resp.server.cloud_formation_stack_arn #=> String
|
1371
|
+
# resp.server.custom_domain #=> String
|
1322
1372
|
# resp.server.disable_automated_backup #=> Boolean
|
1323
1373
|
# resp.server.endpoint #=> String
|
1324
1374
|
# resp.server.engine #=> String
|
@@ -1393,6 +1443,7 @@ module Aws::OpsWorksCM
|
|
1393
1443
|
# resp.server.server_name #=> String
|
1394
1444
|
# resp.server.created_at #=> Time
|
1395
1445
|
# resp.server.cloud_formation_stack_arn #=> String
|
1446
|
+
# resp.server.custom_domain #=> String
|
1396
1447
|
# resp.server.disable_automated_backup #=> Boolean
|
1397
1448
|
# resp.server.endpoint #=> String
|
1398
1449
|
# resp.server.engine #=> String
|
@@ -1438,7 +1489,7 @@ module Aws::OpsWorksCM
|
|
1438
1489
|
params: params,
|
1439
1490
|
config: config)
|
1440
1491
|
context[:gem_name] = 'aws-sdk-opsworkscm'
|
1441
|
-
context[:gem_version] = '1.
|
1492
|
+
context[:gem_version] = '1.25.0'
|
1442
1493
|
Seahorse::Client::Request.new(handlers, context)
|
1443
1494
|
end
|
1444
1495
|
|
@@ -28,6 +28,9 @@ module Aws::OpsWorksCM
|
|
28
28
|
CreateBackupResponse = Shapes::StructureShape.new(name: 'CreateBackupResponse')
|
29
29
|
CreateServerRequest = Shapes::StructureShape.new(name: 'CreateServerRequest')
|
30
30
|
CreateServerResponse = Shapes::StructureShape.new(name: 'CreateServerResponse')
|
31
|
+
CustomCertificate = Shapes::StringShape.new(name: 'CustomCertificate')
|
32
|
+
CustomDomain = Shapes::StringShape.new(name: 'CustomDomain')
|
33
|
+
CustomPrivateKey = Shapes::StringShape.new(name: 'CustomPrivateKey')
|
31
34
|
DeleteBackupRequest = Shapes::StructureShape.new(name: 'DeleteBackupRequest')
|
32
35
|
DeleteBackupResponse = Shapes::StructureShape.new(name: 'DeleteBackupResponse')
|
33
36
|
DeleteServerRequest = Shapes::StructureShape.new(name: 'DeleteServerRequest')
|
@@ -136,6 +139,9 @@ module Aws::OpsWorksCM
|
|
136
139
|
CreateBackupResponse.struct_class = Types::CreateBackupResponse
|
137
140
|
|
138
141
|
CreateServerRequest.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssociatePublicIpAddress"))
|
142
|
+
CreateServerRequest.add_member(:custom_domain, Shapes::ShapeRef.new(shape: CustomDomain, location_name: "CustomDomain"))
|
143
|
+
CreateServerRequest.add_member(:custom_certificate, Shapes::ShapeRef.new(shape: CustomCertificate, location_name: "CustomCertificate"))
|
144
|
+
CreateServerRequest.add_member(:custom_private_key, Shapes::ShapeRef.new(shape: CustomPrivateKey, location_name: "CustomPrivateKey"))
|
139
145
|
CreateServerRequest.add_member(:disable_automated_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableAutomatedBackup"))
|
140
146
|
CreateServerRequest.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
141
147
|
CreateServerRequest.add_member(:engine_model, Shapes::ShapeRef.new(shape: String, location_name: "EngineModel"))
|
@@ -259,6 +265,7 @@ module Aws::OpsWorksCM
|
|
259
265
|
Server.add_member(:server_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerName"))
|
260
266
|
Server.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
261
267
|
Server.add_member(:cloud_formation_stack_arn, Shapes::ShapeRef.new(shape: String, location_name: "CloudFormationStackArn"))
|
268
|
+
Server.add_member(:custom_domain, Shapes::ShapeRef.new(shape: CustomDomain, location_name: "CustomDomain"))
|
262
269
|
Server.add_member(:disable_automated_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableAutomatedBackup"))
|
263
270
|
Server.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "Endpoint"))
|
264
271
|
Server.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
@@ -289,6 +289,9 @@ module Aws::OpsWorksCM
|
|
289
289
|
#
|
290
290
|
# {
|
291
291
|
# associate_public_ip_address: false,
|
292
|
+
# custom_domain: "CustomDomain",
|
293
|
+
# custom_certificate: "CustomCertificate",
|
294
|
+
# custom_private_key: "CustomPrivateKey",
|
292
295
|
# disable_automated_backup: false,
|
293
296
|
# engine: "String",
|
294
297
|
# engine_model: "String",
|
@@ -317,6 +320,50 @@ module Aws::OpsWorksCM
|
|
317
320
|
# Valid values are `true` or `false`. The default value is `true`.
|
318
321
|
# @return [Boolean]
|
319
322
|
#
|
323
|
+
# @!attribute [rw] custom_domain
|
324
|
+
# An optional public endpoint of a server, such as
|
325
|
+
# `https://aws.my-company.com`. To access the server, create a CNAME
|
326
|
+
# DNS record in your preferred DNS service that points the custom
|
327
|
+
# domain to the endpoint that is generated when the server is created
|
328
|
+
# (the value of the CreateServer Endpoint attribute). You cannot
|
329
|
+
# access the server by using the generated `Endpoint` value if the
|
330
|
+
# server is using a custom domain. If you specify a custom domain, you
|
331
|
+
# must also specify values for `CustomCertificate` and
|
332
|
+
# `CustomPrivateKey`.
|
333
|
+
# @return [String]
|
334
|
+
#
|
335
|
+
# @!attribute [rw] custom_certificate
|
336
|
+
# A PEM-formatted HTTPS certificate. The value can be be a single,
|
337
|
+
# self-signed certificate, or a certificate chain. If you specify a
|
338
|
+
# custom certificate, you must also specify values for `CustomDomain`
|
339
|
+
# and `CustomPrivateKey`. The following are requirements for the
|
340
|
+
# `CustomCertificate` value:
|
341
|
+
#
|
342
|
+
# * You can provide either a self-signed, custom certificate, or the
|
343
|
+
# full certificate chain.
|
344
|
+
#
|
345
|
+
# * The certificate must be a valid X509 certificate, or a certificate
|
346
|
+
# chain in PEM format.
|
347
|
+
#
|
348
|
+
# * The certificate must be valid at the time of upload. A certificate
|
349
|
+
# can't be used before its validity period begins (the
|
350
|
+
# certificate's `NotBefore` date), or after it expires (the
|
351
|
+
# certificate's `NotAfter` date).
|
352
|
+
#
|
353
|
+
# * The certificate’s common name or subject alternative names (SANs),
|
354
|
+
# if present, must match the value of `CustomDomain`.
|
355
|
+
#
|
356
|
+
# * The certificate must match the value of `CustomPrivateKey`.
|
357
|
+
# @return [String]
|
358
|
+
#
|
359
|
+
# @!attribute [rw] custom_private_key
|
360
|
+
# A private key in PEM format for connecting to the server by using
|
361
|
+
# HTTPS. The private key must not be encrypted; it cannot be protected
|
362
|
+
# by a password or passphrase. If you specify a custom private key,
|
363
|
+
# you must also specify values for `CustomDomain` and
|
364
|
+
# `CustomCertificate`.
|
365
|
+
# @return [String]
|
366
|
+
#
|
320
367
|
# @!attribute [rw] disable_automated_backup
|
321
368
|
# Enable or disable scheduled backups. Valid values are `true` or
|
322
369
|
# `false`. The default value is `true`.
|
@@ -487,6 +534,9 @@ module Aws::OpsWorksCM
|
|
487
534
|
#
|
488
535
|
class CreateServerRequest < Struct.new(
|
489
536
|
:associate_public_ip_address,
|
537
|
+
:custom_domain,
|
538
|
+
:custom_certificate,
|
539
|
+
:custom_private_key,
|
490
540
|
:disable_automated_backup,
|
491
541
|
:engine,
|
492
542
|
:engine_model,
|
@@ -1098,6 +1148,12 @@ module Aws::OpsWorksCM
|
|
1098
1148
|
# server.
|
1099
1149
|
# @return [String]
|
1100
1150
|
#
|
1151
|
+
# @!attribute [rw] custom_domain
|
1152
|
+
# An optional public endpoint of a server, such as
|
1153
|
+
# `https://aws.my-company.com`. You cannot access the server by using
|
1154
|
+
# the `Endpoint` value if the server has a `CustomDomain` specified.
|
1155
|
+
# @return [String]
|
1156
|
+
#
|
1101
1157
|
# @!attribute [rw] disable_automated_backup
|
1102
1158
|
# Disables automated backups. The number of stored backups is
|
1103
1159
|
# dependent on the value of PreferredBackupCount.
|
@@ -1105,7 +1161,9 @@ module Aws::OpsWorksCM
|
|
1105
1161
|
#
|
1106
1162
|
# @!attribute [rw] endpoint
|
1107
1163
|
# A DNS name that can be used to access the engine. Example:
|
1108
|
-
# `myserver-asdfghjkl.us-east-1.opsworks.io
|
1164
|
+
# `myserver-asdfghjkl.us-east-1.opsworks.io`. You cannot access the
|
1165
|
+
# server by using the `Endpoint` value if the server has a
|
1166
|
+
# `CustomDomain` specified.
|
1109
1167
|
# @return [String]
|
1110
1168
|
#
|
1111
1169
|
# @!attribute [rw] engine
|
@@ -1220,6 +1278,7 @@ module Aws::OpsWorksCM
|
|
1220
1278
|
:server_name,
|
1221
1279
|
:created_at,
|
1222
1280
|
:cloud_formation_stack_arn,
|
1281
|
+
:custom_domain,
|
1223
1282
|
:disable_automated_backup,
|
1224
1283
|
:endpoint,
|
1225
1284
|
:engine,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-opsworkscm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.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: 2019-
|
11
|
+
date: 2019-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|