strongdm 1.0.29 → 1.0.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/.git/FETCH_HEAD +2 -2
  3. data/.git/ORIG_HEAD +1 -1
  4. data/.git/index +0 -0
  5. data/.git/logs/HEAD +4 -4
  6. data/.git/logs/refs/heads/development +1 -1
  7. data/.git/logs/refs/heads/master +2 -2
  8. data/.git/logs/refs/remotes/origin/HEAD +1 -1
  9. data/.git/objects/pack/{pack-e8e4eaa32483a25559ca2593dcd15e1bdf43df31.idx → pack-2a1c5a06b136f3cf06883c00f082bae3158e9ac6.idx} +0 -0
  10. data/.git/objects/pack/{pack-e8e4eaa32483a25559ca2593dcd15e1bdf43df31.pack → pack-2a1c5a06b136f3cf06883c00f082bae3158e9ac6.pack} +0 -0
  11. data/.git/packed-refs +3 -2
  12. data/.git/refs/heads/development +1 -1
  13. data/.git/refs/heads/master +1 -1
  14. data/doc/SDM/DocumentDBHost.html +352 -0
  15. data/doc/SDM/DocumentDBReplicaSet.html +367 -0
  16. data/doc/SDM/Druid.html +2 -2
  17. data/doc/SDM/DynamoDB.html +2 -2
  18. data/doc/SDM/Elastic.html +2 -2
  19. data/doc/SDM/ElasticacheRedis.html +2 -2
  20. data/doc/SDM/Gateway.html +2 -2
  21. data/doc/SDM/GetResponseMetadata.html +2 -2
  22. data/doc/SDM/GoogleGKE.html +2 -2
  23. data/doc/SDM/GoogleGKEUserImpersonation.html +2 -2
  24. data/doc/SDM/Greenplum.html +2 -2
  25. data/doc/SDM/HTTPAuth.html +2 -2
  26. data/doc/SDM/HTTPBasicAuth.html +2 -2
  27. data/doc/SDM/HTTPNoAuth.html +2 -2
  28. data/doc/SDM/Kubernetes.html +2 -2
  29. data/doc/SDM/KubernetesBasicAuth.html +2 -2
  30. data/doc/SDM/KubernetesServiceAccount.html +2 -2
  31. data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +2 -2
  32. data/doc/SDM/KubernetesUserImpersonation.html +2 -2
  33. data/doc/SDM/Maria.html +2 -2
  34. data/doc/SDM/Memcached.html +2 -2
  35. data/doc/SDM/Memsql.html +2 -2
  36. data/doc/SDM/MongoHost.html +2 -2
  37. data/doc/SDM/MongoLegacyHost.html +2 -2
  38. data/doc/SDM/MongoLegacyReplicaset.html +2 -2
  39. data/doc/SDM/MongoReplicaSet.html +2 -2
  40. data/doc/SDM/Mysql.html +2 -2
  41. data/doc/SDM/Neptune.html +307 -0
  42. data/doc/SDM/NeptuneIAM.html +382 -0
  43. data/doc/SDM/NodeCreateResponse.html +2 -2
  44. data/doc/SDM/NodeDeleteResponse.html +2 -2
  45. data/doc/SDM/NodeGetResponse.html +2 -2
  46. data/doc/SDM/NodeUpdateResponse.html +2 -2
  47. data/doc/SDM/Oracle.html +2 -2
  48. data/doc/SDM/Plumbing.html +857 -313
  49. data/doc/SDM/Postgres.html +2 -2
  50. data/doc/SDM/Presto.html +2 -2
  51. data/doc/SDM/RDP.html +2 -2
  52. data/doc/SDM/RabbitMQAMQP091.html +2 -2
  53. data/doc/SDM/RateLimitMetadata.html +2 -2
  54. data/doc/SDM/RawTCP.html +2 -2
  55. data/doc/SDM/Redis.html +2 -2
  56. data/doc/SDM/Redshift.html +2 -2
  57. data/doc/SDM/Relay.html +2 -2
  58. data/doc/SDM/ResourceCreateResponse.html +2 -2
  59. data/doc/SDM/ResourceDeleteResponse.html +2 -2
  60. data/doc/SDM/ResourceGetResponse.html +2 -2
  61. data/doc/SDM/ResourceUpdateResponse.html +2 -2
  62. data/doc/SDM/Role.html +2 -2
  63. data/doc/SDM/RoleAttachment.html +2 -2
  64. data/doc/SDM/RoleAttachmentCreateResponse.html +2 -2
  65. data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
  66. data/doc/SDM/RoleAttachmentGetResponse.html +2 -2
  67. data/doc/SDM/RoleCreateResponse.html +2 -2
  68. data/doc/SDM/RoleDeleteResponse.html +2 -2
  69. data/doc/SDM/RoleGetResponse.html +2 -2
  70. data/doc/SDM/RoleGrant.html +2 -2
  71. data/doc/SDM/RoleGrantCreateResponse.html +2 -2
  72. data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
  73. data/doc/SDM/RoleGrantGetResponse.html +2 -2
  74. data/doc/SDM/RoleUpdateResponse.html +2 -2
  75. data/doc/SDM/SQLServer.html +2 -2
  76. data/doc/SDM/SSH.html +2 -2
  77. data/doc/SDM/SSHCert.html +2 -2
  78. data/doc/SDM/SSHCustomerKey.html +2 -2
  79. data/doc/SDM/SecretStoreCreateResponse.html +2 -2
  80. data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
  81. data/doc/SDM/SecretStoreGetResponse.html +2 -2
  82. data/doc/SDM/SecretStoreUpdateResponse.html +2 -2
  83. data/doc/SDM/Service.html +2 -2
  84. data/doc/SDM/SingleStore.html +2 -2
  85. data/doc/SDM/Snowflake.html +2 -2
  86. data/doc/SDM/Sybase.html +2 -2
  87. data/doc/SDM/SybaseIQ.html +2 -2
  88. data/doc/SDM/Tag.html +2 -2
  89. data/doc/SDM/Teradata.html +2 -2
  90. data/doc/SDM/UpdateResponseMetadata.html +2 -2
  91. data/doc/SDM/User.html +2 -2
  92. data/doc/SDM/VaultTLSStore.html +2 -2
  93. data/doc/SDM/VaultTokenStore.html +2 -2
  94. data/doc/V1.html +8 -0
  95. data/doc/created.rid +37 -37
  96. data/doc/index.html +4 -0
  97. data/doc/js/navigation.js.gz +0 -0
  98. data/doc/js/search_index.js +1 -1
  99. data/doc/js/search_index.js.gz +0 -0
  100. data/doc/js/searcher.js.gz +0 -0
  101. data/doc/lib/version.html +1 -1
  102. data/doc/table_of_contents.html +645 -513
  103. data/lib/grpc/account_attachments_services_pb.rb +4 -4
  104. data/lib/grpc/account_grants_services_pb.rb +4 -4
  105. data/lib/grpc/accounts_services_pb.rb +5 -5
  106. data/lib/grpc/control_panel_services_pb.rb +2 -2
  107. data/lib/grpc/drivers_pb.rb +64 -0
  108. data/lib/grpc/nodes_services_pb.rb +5 -5
  109. data/lib/grpc/plumbing.rb +248 -0
  110. data/lib/grpc/resources_services_pb.rb +6 -6
  111. data/lib/grpc/role_attachments_services_pb.rb +4 -4
  112. data/lib/grpc/role_grants_services_pb.rb +4 -4
  113. data/lib/grpc/roles_services_pb.rb +5 -5
  114. data/lib/grpc/secret_stores_services_pb.rb +5 -5
  115. data/lib/models/porcelain.rb +345 -0
  116. data/lib/strongdm.rb +1 -1
  117. data/lib/version +1 -1
  118. data/lib/version.rb +1 -1
  119. metadata +8 -4
@@ -29,13 +29,13 @@ module V1
29
29
  self.service_name = "v1.AccountAttachments"
30
30
 
31
31
  # Create registers a new AccountAttachment.
32
- rpc :Create, ::V1::AccountAttachmentCreateRequest, ::V1::AccountAttachmentCreateResponse
32
+ rpc :Create, AccountAttachmentCreateRequest, AccountAttachmentCreateResponse
33
33
  # Get reads one AccountAttachment by ID.
34
- rpc :Get, ::V1::AccountAttachmentGetRequest, ::V1::AccountAttachmentGetResponse
34
+ rpc :Get, AccountAttachmentGetRequest, AccountAttachmentGetResponse
35
35
  # Delete removes a AccountAttachment by ID.
36
- rpc :Delete, ::V1::AccountAttachmentDeleteRequest, ::V1::AccountAttachmentDeleteResponse
36
+ rpc :Delete, AccountAttachmentDeleteRequest, AccountAttachmentDeleteResponse
37
37
  # List gets a list of AccountAttachments matching a given set of criteria.
38
- rpc :List, ::V1::AccountAttachmentListRequest, ::V1::AccountAttachmentListResponse
38
+ rpc :List, AccountAttachmentListRequest, AccountAttachmentListResponse
39
39
  end
40
40
 
41
41
  Stub = Service.rpc_stub_class
@@ -29,13 +29,13 @@ module V1
29
29
  self.service_name = "v1.AccountGrants"
30
30
 
31
31
  # Create registers a new AccountGrant.
32
- rpc :Create, ::V1::AccountGrantCreateRequest, ::V1::AccountGrantCreateResponse
32
+ rpc :Create, AccountGrantCreateRequest, AccountGrantCreateResponse
33
33
  # Get reads one AccountGrant by ID.
34
- rpc :Get, ::V1::AccountGrantGetRequest, ::V1::AccountGrantGetResponse
34
+ rpc :Get, AccountGrantGetRequest, AccountGrantGetResponse
35
35
  # Delete removes a AccountGrant by ID.
36
- rpc :Delete, ::V1::AccountGrantDeleteRequest, ::V1::AccountGrantDeleteResponse
36
+ rpc :Delete, AccountGrantDeleteRequest, AccountGrantDeleteResponse
37
37
  # List gets a list of AccountGrants matching a given set of criteria.
38
- rpc :List, ::V1::AccountGrantListRequest, ::V1::AccountGrantListResponse
38
+ rpc :List, AccountGrantListRequest, AccountGrantListResponse
39
39
  end
40
40
 
41
41
  Stub = Service.rpc_stub_class
@@ -31,15 +31,15 @@ module V1
31
31
  self.service_name = "v1.Accounts"
32
32
 
33
33
  # Create registers a new Account.
34
- rpc :Create, ::V1::AccountCreateRequest, ::V1::AccountCreateResponse
34
+ rpc :Create, AccountCreateRequest, AccountCreateResponse
35
35
  # Get reads one Account by ID.
36
- rpc :Get, ::V1::AccountGetRequest, ::V1::AccountGetResponse
36
+ rpc :Get, AccountGetRequest, AccountGetResponse
37
37
  # Update patches a Account by ID.
38
- rpc :Update, ::V1::AccountUpdateRequest, ::V1::AccountUpdateResponse
38
+ rpc :Update, AccountUpdateRequest, AccountUpdateResponse
39
39
  # Delete removes a Account by ID.
40
- rpc :Delete, ::V1::AccountDeleteRequest, ::V1::AccountDeleteResponse
40
+ rpc :Delete, AccountDeleteRequest, AccountDeleteResponse
41
41
  # List gets a list of Accounts matching a given set of criteria.
42
- rpc :List, ::V1::AccountListRequest, ::V1::AccountListResponse
42
+ rpc :List, AccountListRequest, AccountListResponse
43
43
  end
44
44
 
45
45
  Stub = Service.rpc_stub_class
@@ -29,9 +29,9 @@ module V1
29
29
  self.service_name = "v1.ControlPanel"
30
30
 
31
31
  # GetSSHCAPublicKey retrieves the SSH CA public key.
32
- rpc :GetSSHCAPublicKey, ::V1::ControlPanelGetSSHCAPublicKeyRequest, ::V1::ControlPanelGetSSHCAPublicKeyResponse
32
+ rpc :GetSSHCAPublicKey, ControlPanelGetSSHCAPublicKeyRequest, ControlPanelGetSSHCAPublicKeyResponse
33
33
  # VerifyJWT reports whether the given JWT token (x-sdm-token) is valid.
34
- rpc :VerifyJWT, ::V1::ControlPanelVerifyJWTRequest, ::V1::ControlPanelVerifyJWTResponse
34
+ rpc :VerifyJWT, ControlPanelVerifyJWTRequest, ControlPanelVerifyJWTResponse
35
35
  end
36
36
 
37
37
  Stub = Service.rpc_stub_class
@@ -43,6 +43,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
43
43
  optional :cockroach, :message, 1303, "v1.Cockroach"
44
44
  optional :db_2_i, :message, 2400, "v1.DB2I"
45
45
  optional :db_2_luw, :message, 2200, "v1.DB2LUW"
46
+ optional :document_db_host, :message, 1052, "v1.DocumentDBHost"
47
+ optional :document_db_replica_set, :message, 1053, "v1.DocumentDBReplicaSet"
46
48
  optional :druid, :message, 400, "v1.Druid"
47
49
  optional :dynamo_db, :message, 500, "v1.DynamoDB"
48
50
  optional :elastic, :message, 601, "v1.Elastic"
@@ -66,6 +68,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
66
68
  optional :mongo_legacy_replicaset, :message, 1001, "v1.MongoLegacyReplicaset"
67
69
  optional :mongo_replica_set, :message, 1003, "v1.MongoReplicaSet"
68
70
  optional :mysql, :message, 1100, "v1.Mysql"
71
+ optional :neptune, :message, 2250, "v1.Neptune"
72
+ optional :neptune_iam, :message, 2201, "v1.NeptuneIAM"
69
73
  optional :oracle, :message, 1200, "v1.Oracle"
70
74
  optional :postgres, :message, 1300, "v1.Postgres"
71
75
  optional :presto, :message, 1400, "v1.Presto"
@@ -369,6 +373,35 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
369
373
  optional :port_override, :int32, 5
370
374
  optional :username, :string, 2
371
375
  end
376
+ add_message "v1.DocumentDBHost" do
377
+ optional :id, :string, 32768
378
+ optional :name, :string, 32769
379
+ optional :healthy, :bool, 32770
380
+ optional :tags, :message, 32771, "v1.Tags"
381
+ optional :secret_store_id, :string, 32772
382
+ optional :egress_filter, :string, 32773
383
+ optional :auth_database, :string, 2
384
+ optional :hostname, :string, 1
385
+ optional :password, :string, 5
386
+ optional :port, :int32, 6
387
+ optional :port_override, :int32, 3
388
+ optional :username, :string, 4
389
+ end
390
+ add_message "v1.DocumentDBReplicaSet" do
391
+ optional :id, :string, 32768
392
+ optional :name, :string, 32769
393
+ optional :healthy, :bool, 32770
394
+ optional :tags, :message, 32771, "v1.Tags"
395
+ optional :secret_store_id, :string, 32772
396
+ optional :egress_filter, :string, 32773
397
+ optional :auth_database, :string, 2
398
+ optional :connect_to_replica, :bool, 7
399
+ optional :hostname, :string, 1
400
+ optional :password, :string, 5
401
+ optional :port_override, :int32, 3
402
+ optional :replica_set, :string, 6
403
+ optional :username, :string, 4
404
+ end
372
405
  add_message "v1.Druid" do
373
406
  optional :id, :string, 32768
374
407
  optional :name, :string, 32769
@@ -688,6 +721,33 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
688
721
  optional :port_override, :int32, 5
689
722
  optional :username, :string, 2
690
723
  end
724
+ add_message "v1.Neptune" do
725
+ optional :id, :string, 32768
726
+ optional :name, :string, 32769
727
+ optional :healthy, :bool, 32770
728
+ optional :tags, :message, 32771, "v1.Tags"
729
+ optional :secret_store_id, :string, 32772
730
+ optional :egress_filter, :string, 32773
731
+ optional :endpoint, :string, 1
732
+ optional :port, :int32, 3
733
+ optional :port_override, :int32, 2
734
+ end
735
+ add_message "v1.NeptuneIAM" do
736
+ optional :id, :string, 32768
737
+ optional :name, :string, 32769
738
+ optional :healthy, :bool, 32770
739
+ optional :tags, :message, 32771, "v1.Tags"
740
+ optional :secret_store_id, :string, 32772
741
+ optional :egress_filter, :string, 32773
742
+ optional :access_key, :string, 4
743
+ optional :endpoint, :string, 1
744
+ optional :port, :int32, 3
745
+ optional :port_override, :int32, 2
746
+ optional :region, :string, 6
747
+ optional :role_arn, :string, 7
748
+ optional :role_external_id, :string, 8
749
+ optional :secret_access_key, :string, 5
750
+ end
691
751
  add_message "v1.Oracle" do
692
752
  optional :id, :string, 32768
693
753
  optional :name, :string, 32769
@@ -947,6 +1007,8 @@ module V1
947
1007
  Cockroach = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Cockroach").msgclass
948
1008
  DB2I = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DB2I").msgclass
949
1009
  DB2LUW = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DB2LUW").msgclass
1010
+ DocumentDBHost = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBHost").msgclass
1011
+ DocumentDBReplicaSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBReplicaSet").msgclass
950
1012
  Druid = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Druid").msgclass
951
1013
  DynamoDB = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DynamoDB").msgclass
952
1014
  Elastic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Elastic").msgclass
@@ -970,6 +1032,8 @@ module V1
970
1032
  MongoLegacyReplicaset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MongoLegacyReplicaset").msgclass
971
1033
  MongoReplicaSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MongoReplicaSet").msgclass
972
1034
  Mysql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Mysql").msgclass
1035
+ Neptune = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Neptune").msgclass
1036
+ NeptuneIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.NeptuneIAM").msgclass
973
1037
  Oracle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Oracle").msgclass
974
1038
  Postgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Postgres").msgclass
975
1039
  Presto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Presto").msgclass
@@ -31,15 +31,15 @@ module V1
31
31
  self.service_name = "v1.Nodes"
32
32
 
33
33
  # Create registers a new Node.
34
- rpc :Create, ::V1::NodeCreateRequest, ::V1::NodeCreateResponse
34
+ rpc :Create, NodeCreateRequest, NodeCreateResponse
35
35
  # Get reads one Node by ID.
36
- rpc :Get, ::V1::NodeGetRequest, ::V1::NodeGetResponse
36
+ rpc :Get, NodeGetRequest, NodeGetResponse
37
37
  # Update patches a Node by ID.
38
- rpc :Update, ::V1::NodeUpdateRequest, ::V1::NodeUpdateResponse
38
+ rpc :Update, NodeUpdateRequest, NodeUpdateResponse
39
39
  # Delete removes a Node by ID.
40
- rpc :Delete, ::V1::NodeDeleteRequest, ::V1::NodeDeleteResponse
40
+ rpc :Delete, NodeDeleteRequest, NodeDeleteResponse
41
41
  # List gets a list of Nodes matching a given set of criteria.
42
- rpc :List, ::V1::NodeListRequest, ::V1::NodeListResponse
42
+ rpc :List, NodeListRequest, NodeListResponse
43
43
  end
44
44
 
45
45
  Stub = Service.rpc_stub_class
data/lib/grpc/plumbing.rb CHANGED
@@ -1899,6 +1899,120 @@ module SDM
1899
1899
  end
1900
1900
  items
1901
1901
  end
1902
+ def self.convert_document_db_host_to_porcelain(plumbing)
1903
+ if plumbing == nil
1904
+ return nil
1905
+ end
1906
+ porcelain = DocumentDBHost.new()
1907
+ porcelain.auth_database = (plumbing.auth_database)
1908
+ porcelain.egress_filter = (plumbing.egress_filter)
1909
+ porcelain.healthy = (plumbing.healthy)
1910
+ porcelain.hostname = (plumbing.hostname)
1911
+ porcelain.id = (plumbing.id)
1912
+ porcelain.name = (plumbing.name)
1913
+ porcelain.password = (plumbing.password)
1914
+ porcelain.port = (plumbing.port)
1915
+ porcelain.port_override = (plumbing.port_override)
1916
+ porcelain.secret_store_id = (plumbing.secret_store_id)
1917
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
1918
+ porcelain.username = (plumbing.username)
1919
+ porcelain
1920
+ end
1921
+
1922
+ def self.convert_document_db_host_to_plumbing(porcelain)
1923
+ if porcelain == nil
1924
+ return nil
1925
+ end
1926
+ plumbing = V1::DocumentDBHost.new()
1927
+ plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
1928
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
1929
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
1930
+ plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
1931
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
1932
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
1933
+ plumbing.password = (porcelain.password) unless porcelain.password == nil
1934
+ plumbing.port = (porcelain.port) unless porcelain.port == nil
1935
+ plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
1936
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
1937
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
1938
+ plumbing.username = (porcelain.username) unless porcelain.username == nil
1939
+ plumbing
1940
+ end
1941
+ def self.convert_repeated_document_db_host_to_plumbing(porcelains)
1942
+ items = Array.new
1943
+ porcelains.each do |porcelain|
1944
+ plumbing = convert_document_db_host_to_plumbing(porcelain)
1945
+ items.append(plumbing)
1946
+ end
1947
+ items
1948
+ end
1949
+
1950
+ def self.convert_repeated_document_db_host_to_porcelain(plumbings)
1951
+ items = Array.new
1952
+ plumbings.each do |plumbing|
1953
+ porcelain = convert_document_db_host_to_porcelain(plumbing)
1954
+ items.append(porcelain)
1955
+ end
1956
+ items
1957
+ end
1958
+ def self.convert_document_db_replica_set_to_porcelain(plumbing)
1959
+ if plumbing == nil
1960
+ return nil
1961
+ end
1962
+ porcelain = DocumentDBReplicaSet.new()
1963
+ porcelain.auth_database = (plumbing.auth_database)
1964
+ porcelain.connect_to_replica = (plumbing.connect_to_replica)
1965
+ porcelain.egress_filter = (plumbing.egress_filter)
1966
+ porcelain.healthy = (plumbing.healthy)
1967
+ porcelain.hostname = (plumbing.hostname)
1968
+ porcelain.id = (plumbing.id)
1969
+ porcelain.name = (plumbing.name)
1970
+ porcelain.password = (plumbing.password)
1971
+ porcelain.port_override = (plumbing.port_override)
1972
+ porcelain.replica_set = (plumbing.replica_set)
1973
+ porcelain.secret_store_id = (plumbing.secret_store_id)
1974
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
1975
+ porcelain.username = (plumbing.username)
1976
+ porcelain
1977
+ end
1978
+
1979
+ def self.convert_document_db_replica_set_to_plumbing(porcelain)
1980
+ if porcelain == nil
1981
+ return nil
1982
+ end
1983
+ plumbing = V1::DocumentDBReplicaSet.new()
1984
+ plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
1985
+ plumbing.connect_to_replica = (porcelain.connect_to_replica) unless porcelain.connect_to_replica == nil
1986
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
1987
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
1988
+ plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
1989
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
1990
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
1991
+ plumbing.password = (porcelain.password) unless porcelain.password == nil
1992
+ plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
1993
+ plumbing.replica_set = (porcelain.replica_set) unless porcelain.replica_set == nil
1994
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
1995
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
1996
+ plumbing.username = (porcelain.username) unless porcelain.username == nil
1997
+ plumbing
1998
+ end
1999
+ def self.convert_repeated_document_db_replica_set_to_plumbing(porcelains)
2000
+ items = Array.new
2001
+ porcelains.each do |porcelain|
2002
+ plumbing = convert_document_db_replica_set_to_plumbing(porcelain)
2003
+ items.append(plumbing)
2004
+ end
2005
+ items
2006
+ end
2007
+
2008
+ def self.convert_repeated_document_db_replica_set_to_porcelain(plumbings)
2009
+ items = Array.new
2010
+ plumbings.each do |plumbing|
2011
+ porcelain = convert_document_db_replica_set_to_porcelain(plumbing)
2012
+ items.append(porcelain)
2013
+ end
2014
+ items
2015
+ end
1902
2016
  def self.convert_druid_to_porcelain(plumbing)
1903
2017
  if plumbing == nil
1904
2018
  return nil
@@ -3259,6 +3373,116 @@ module SDM
3259
3373
  end
3260
3374
  items
3261
3375
  end
3376
+ def self.convert_neptune_to_porcelain(plumbing)
3377
+ if plumbing == nil
3378
+ return nil
3379
+ end
3380
+ porcelain = Neptune.new()
3381
+ porcelain.egress_filter = (plumbing.egress_filter)
3382
+ porcelain.endpoint = (plumbing.endpoint)
3383
+ porcelain.healthy = (plumbing.healthy)
3384
+ porcelain.id = (plumbing.id)
3385
+ porcelain.name = (plumbing.name)
3386
+ porcelain.port = (plumbing.port)
3387
+ porcelain.port_override = (plumbing.port_override)
3388
+ porcelain.secret_store_id = (plumbing.secret_store_id)
3389
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
3390
+ porcelain
3391
+ end
3392
+
3393
+ def self.convert_neptune_to_plumbing(porcelain)
3394
+ if porcelain == nil
3395
+ return nil
3396
+ end
3397
+ plumbing = V1::Neptune.new()
3398
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
3399
+ plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
3400
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
3401
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
3402
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
3403
+ plumbing.port = (porcelain.port) unless porcelain.port == nil
3404
+ plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
3405
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
3406
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
3407
+ plumbing
3408
+ end
3409
+ def self.convert_repeated_neptune_to_plumbing(porcelains)
3410
+ items = Array.new
3411
+ porcelains.each do |porcelain|
3412
+ plumbing = convert_neptune_to_plumbing(porcelain)
3413
+ items.append(plumbing)
3414
+ end
3415
+ items
3416
+ end
3417
+
3418
+ def self.convert_repeated_neptune_to_porcelain(plumbings)
3419
+ items = Array.new
3420
+ plumbings.each do |plumbing|
3421
+ porcelain = convert_neptune_to_porcelain(plumbing)
3422
+ items.append(porcelain)
3423
+ end
3424
+ items
3425
+ end
3426
+ def self.convert_neptune_iam_to_porcelain(plumbing)
3427
+ if plumbing == nil
3428
+ return nil
3429
+ end
3430
+ porcelain = NeptuneIAM.new()
3431
+ porcelain.access_key = (plumbing.access_key)
3432
+ porcelain.egress_filter = (plumbing.egress_filter)
3433
+ porcelain.endpoint = (plumbing.endpoint)
3434
+ porcelain.healthy = (plumbing.healthy)
3435
+ porcelain.id = (plumbing.id)
3436
+ porcelain.name = (plumbing.name)
3437
+ porcelain.port = (plumbing.port)
3438
+ porcelain.port_override = (plumbing.port_override)
3439
+ porcelain.region = (plumbing.region)
3440
+ porcelain.role_arn = (plumbing.role_arn)
3441
+ porcelain.role_external_id = (plumbing.role_external_id)
3442
+ porcelain.secret_access_key = (plumbing.secret_access_key)
3443
+ porcelain.secret_store_id = (plumbing.secret_store_id)
3444
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
3445
+ porcelain
3446
+ end
3447
+
3448
+ def self.convert_neptune_iam_to_plumbing(porcelain)
3449
+ if porcelain == nil
3450
+ return nil
3451
+ end
3452
+ plumbing = V1::NeptuneIAM.new()
3453
+ plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
3454
+ plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
3455
+ plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
3456
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
3457
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
3458
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
3459
+ plumbing.port = (porcelain.port) unless porcelain.port == nil
3460
+ plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
3461
+ plumbing.region = (porcelain.region) unless porcelain.region == nil
3462
+ plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
3463
+ plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
3464
+ plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
3465
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
3466
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
3467
+ plumbing
3468
+ end
3469
+ def self.convert_repeated_neptune_iam_to_plumbing(porcelains)
3470
+ items = Array.new
3471
+ porcelains.each do |porcelain|
3472
+ plumbing = convert_neptune_iam_to_plumbing(porcelain)
3473
+ items.append(plumbing)
3474
+ end
3475
+ items
3476
+ end
3477
+
3478
+ def self.convert_repeated_neptune_iam_to_porcelain(plumbings)
3479
+ items = Array.new
3480
+ plumbings.each do |plumbing|
3481
+ porcelain = convert_neptune_iam_to_porcelain(plumbing)
3482
+ items.append(porcelain)
3483
+ end
3484
+ items
3485
+ end
3262
3486
  def self.convert_node_to_plumbing(porcelain)
3263
3487
  if porcelain == nil
3264
3488
  return nil
@@ -4044,6 +4268,12 @@ module SDM
4044
4268
  if porcelain.instance_of? DB2LUW
4045
4269
  plumbing.db_2_luw = convert_db_2_luw_to_plumbing(porcelain)
4046
4270
  end
4271
+ if porcelain.instance_of? DocumentDBHost
4272
+ plumbing.document_db_host = convert_document_db_host_to_plumbing(porcelain)
4273
+ end
4274
+ if porcelain.instance_of? DocumentDBReplicaSet
4275
+ plumbing.document_db_replica_set = convert_document_db_replica_set_to_plumbing(porcelain)
4276
+ end
4047
4277
  if porcelain.instance_of? Druid
4048
4278
  plumbing.druid = convert_druid_to_plumbing(porcelain)
4049
4279
  end
@@ -4113,6 +4343,12 @@ module SDM
4113
4343
  if porcelain.instance_of? Mysql
4114
4344
  plumbing.mysql = convert_mysql_to_plumbing(porcelain)
4115
4345
  end
4346
+ if porcelain.instance_of? Neptune
4347
+ plumbing.neptune = convert_neptune_to_plumbing(porcelain)
4348
+ end
4349
+ if porcelain.instance_of? NeptuneIAM
4350
+ plumbing.neptune_iam = convert_neptune_iam_to_plumbing(porcelain)
4351
+ end
4116
4352
  if porcelain.instance_of? Oracle
4117
4353
  plumbing.oracle = convert_oracle_to_plumbing(porcelain)
4118
4354
  end
@@ -4231,6 +4467,12 @@ module SDM
4231
4467
  if plumbing.db_2_luw != nil
4232
4468
  return convert_db_2_luw_to_porcelain(plumbing.db_2_luw)
4233
4469
  end
4470
+ if plumbing.document_db_host != nil
4471
+ return convert_document_db_host_to_porcelain(plumbing.document_db_host)
4472
+ end
4473
+ if plumbing.document_db_replica_set != nil
4474
+ return convert_document_db_replica_set_to_porcelain(plumbing.document_db_replica_set)
4475
+ end
4234
4476
  if plumbing.druid != nil
4235
4477
  return convert_druid_to_porcelain(plumbing.druid)
4236
4478
  end
@@ -4300,6 +4542,12 @@ module SDM
4300
4542
  if plumbing.mysql != nil
4301
4543
  return convert_mysql_to_porcelain(plumbing.mysql)
4302
4544
  end
4545
+ if plumbing.neptune != nil
4546
+ return convert_neptune_to_porcelain(plumbing.neptune)
4547
+ end
4548
+ if plumbing.neptune_iam != nil
4549
+ return convert_neptune_iam_to_porcelain(plumbing.neptune_iam)
4550
+ end
4303
4551
  if plumbing.oracle != nil
4304
4552
  return convert_oracle_to_porcelain(plumbing.oracle)
4305
4553
  end
@@ -28,17 +28,17 @@ module V1
28
28
  self.service_name = "v1.Resources"
29
29
 
30
30
  # EnumerateTags gets a list of the filter matching tags.
31
- rpc :EnumerateTags, ::V1::EnumerateTagsRequest, ::V1::EnumerateTagsResponse
31
+ rpc :EnumerateTags, EnumerateTagsRequest, EnumerateTagsResponse
32
32
  # Create registers a new Resource.
33
- rpc :Create, ::V1::ResourceCreateRequest, ::V1::ResourceCreateResponse
33
+ rpc :Create, ResourceCreateRequest, ResourceCreateResponse
34
34
  # Get reads one Resource by ID.
35
- rpc :Get, ::V1::ResourceGetRequest, ::V1::ResourceGetResponse
35
+ rpc :Get, ResourceGetRequest, ResourceGetResponse
36
36
  # Update patches a Resource by ID.
37
- rpc :Update, ::V1::ResourceUpdateRequest, ::V1::ResourceUpdateResponse
37
+ rpc :Update, ResourceUpdateRequest, ResourceUpdateResponse
38
38
  # Delete removes a Resource by ID.
39
- rpc :Delete, ::V1::ResourceDeleteRequest, ::V1::ResourceDeleteResponse
39
+ rpc :Delete, ResourceDeleteRequest, ResourceDeleteResponse
40
40
  # List gets a list of Resources matching a given set of criteria.
41
- rpc :List, ::V1::ResourceListRequest, ::V1::ResourceListResponse
41
+ rpc :List, ResourceListRequest, ResourceListResponse
42
42
  end
43
43
 
44
44
  Stub = Service.rpc_stub_class
@@ -32,13 +32,13 @@ module V1
32
32
  self.service_name = "v1.RoleAttachments"
33
33
 
34
34
  # Create registers a new RoleAttachment.
35
- rpc :Create, ::V1::RoleAttachmentCreateRequest, ::V1::RoleAttachmentCreateResponse
35
+ rpc :Create, RoleAttachmentCreateRequest, RoleAttachmentCreateResponse
36
36
  # Get reads one RoleAttachment by ID.
37
- rpc :Get, ::V1::RoleAttachmentGetRequest, ::V1::RoleAttachmentGetResponse
37
+ rpc :Get, RoleAttachmentGetRequest, RoleAttachmentGetResponse
38
38
  # Delete removes a RoleAttachment by ID.
39
- rpc :Delete, ::V1::RoleAttachmentDeleteRequest, ::V1::RoleAttachmentDeleteResponse
39
+ rpc :Delete, RoleAttachmentDeleteRequest, RoleAttachmentDeleteResponse
40
40
  # List gets a list of RoleAttachments matching a given set of criteria.
41
- rpc :List, ::V1::RoleAttachmentListRequest, ::V1::RoleAttachmentListResponse
41
+ rpc :List, RoleAttachmentListRequest, RoleAttachmentListResponse
42
42
  end
43
43
 
44
44
  Stub = Service.rpc_stub_class
@@ -32,13 +32,13 @@ module V1
32
32
  self.service_name = "v1.RoleGrants"
33
33
 
34
34
  # Create registers a new RoleGrant.
35
- rpc :Create, ::V1::RoleGrantCreateRequest, ::V1::RoleGrantCreateResponse
35
+ rpc :Create, RoleGrantCreateRequest, RoleGrantCreateResponse
36
36
  # Get reads one RoleGrant by ID.
37
- rpc :Get, ::V1::RoleGrantGetRequest, ::V1::RoleGrantGetResponse
37
+ rpc :Get, RoleGrantGetRequest, RoleGrantGetResponse
38
38
  # Delete removes a RoleGrant by ID.
39
- rpc :Delete, ::V1::RoleGrantDeleteRequest, ::V1::RoleGrantDeleteResponse
39
+ rpc :Delete, RoleGrantDeleteRequest, RoleGrantDeleteResponse
40
40
  # List gets a list of RoleGrants matching a given set of criteria.
41
- rpc :List, ::V1::RoleGrantListRequest, ::V1::RoleGrantListResponse
41
+ rpc :List, RoleGrantListRequest, RoleGrantListResponse
42
42
  end
43
43
 
44
44
  Stub = Service.rpc_stub_class
@@ -33,15 +33,15 @@ module V1
33
33
  self.service_name = "v1.Roles"
34
34
 
35
35
  # Create registers a new Role.
36
- rpc :Create, ::V1::RoleCreateRequest, ::V1::RoleCreateResponse
36
+ rpc :Create, RoleCreateRequest, RoleCreateResponse
37
37
  # Get reads one Role by ID.
38
- rpc :Get, ::V1::RoleGetRequest, ::V1::RoleGetResponse
38
+ rpc :Get, RoleGetRequest, RoleGetResponse
39
39
  # Update patches a Role by ID.
40
- rpc :Update, ::V1::RoleUpdateRequest, ::V1::RoleUpdateResponse
40
+ rpc :Update, RoleUpdateRequest, RoleUpdateResponse
41
41
  # Delete removes a Role by ID.
42
- rpc :Delete, ::V1::RoleDeleteRequest, ::V1::RoleDeleteResponse
42
+ rpc :Delete, RoleDeleteRequest, RoleDeleteResponse
43
43
  # List gets a list of Roles matching a given set of criteria.
44
- rpc :List, ::V1::RoleListRequest, ::V1::RoleListResponse
44
+ rpc :List, RoleListRequest, RoleListResponse
45
45
  end
46
46
 
47
47
  Stub = Service.rpc_stub_class
@@ -28,15 +28,15 @@ module V1
28
28
  self.unmarshal_class_method = :decode
29
29
  self.service_name = "v1.SecretStores"
30
30
 
31
- rpc :Create, ::V1::SecretStoreCreateRequest, ::V1::SecretStoreCreateResponse
31
+ rpc :Create, SecretStoreCreateRequest, SecretStoreCreateResponse
32
32
  # Get reads one SecretStore by ID.
33
- rpc :Get, ::V1::SecretStoreGetRequest, ::V1::SecretStoreGetResponse
33
+ rpc :Get, SecretStoreGetRequest, SecretStoreGetResponse
34
34
  # Update patches a SecretStore by ID.
35
- rpc :Update, ::V1::SecretStoreUpdateRequest, ::V1::SecretStoreUpdateResponse
35
+ rpc :Update, SecretStoreUpdateRequest, SecretStoreUpdateResponse
36
36
  # Delete removes a SecretStore by ID.
37
- rpc :Delete, ::V1::SecretStoreDeleteRequest, ::V1::SecretStoreDeleteResponse
37
+ rpc :Delete, SecretStoreDeleteRequest, SecretStoreDeleteResponse
38
38
  # List gets a list of SecretStores matching a given set of criteria.
39
- rpc :List, ::V1::SecretStoreListRequest, ::V1::SecretStoreListResponse
39
+ rpc :List, SecretStoreListRequest, SecretStoreListResponse
40
40
  end
41
41
 
42
42
  Stub = Service.rpc_stub_class