aws-sdk-applicationdiscoveryservice 1.46.0 → 1.48.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationdiscoveryservice/client.rb +20 -3
- data/lib/aws-sdk-applicationdiscoveryservice/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-applicationdiscoveryservice/endpoint_provider.rb +51 -0
- data/lib/aws-sdk-applicationdiscoveryservice/endpoints.rb +365 -0
- data/lib/aws-sdk-applicationdiscoveryservice/plugins/endpoints.rb +118 -0
- data/lib/aws-sdk-applicationdiscoveryservice/types.rb +0 -287
- data/lib/aws-sdk-applicationdiscoveryservice.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c223eabde7780ce1e0cd9d1a8c7bbe635759d7cd7760e91fd2b1d2c7731ba2be
|
4
|
+
data.tar.gz: 239f3cc4bdac62bec3e51610662572ba985556e3c66798793f9640b760948e0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dd6c72ef0174c9d35569e9070e99c42ef16858a6074b578d5353a1d7dd4cdb84c3322d2984ffc286d7efab4f4972563a7b8358750ca3f9c3700663375562879
|
7
|
+
data.tar.gz: 5c09ed8ecfb35fa94d2982b78f87cb83442487a4f618f0726ffcde247fe3d0966e407f82dcefb337d58401223fc3b803cf212e28e3af3f1b5c74fff75173d87c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.48.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.47.0 (2022-10-25)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
15
|
+
|
4
16
|
1.46.0 (2022-07-18)
|
5
17
|
------------------
|
6
18
|
|
@@ -305,4 +317,4 @@ Unreleased Changes
|
|
305
317
|
1.0.0.rc1 (2016-12-05)
|
306
318
|
------------------
|
307
319
|
|
308
|
-
* Feature - Initial preview release of the `aws-sdk-applicationdiscoveryservice` gem.
|
320
|
+
* Feature - Initial preview release of the `aws-sdk-applicationdiscoveryservice` gem.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.48.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:applicationdiscoveryservice)
|
@@ -79,8 +79,9 @@ module Aws::ApplicationDiscoveryService
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
84
|
+
add_plugin(Aws::ApplicationDiscoveryService::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -297,6 +298,19 @@ module Aws::ApplicationDiscoveryService
|
|
297
298
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
298
299
|
# requests are made, and retries are disabled.
|
299
300
|
#
|
301
|
+
# @option options [Aws::TokenProvider] :token_provider
|
302
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
303
|
+
# following classes:
|
304
|
+
#
|
305
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
306
|
+
# tokens.
|
307
|
+
#
|
308
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
309
|
+
# access token generated from `aws login`.
|
310
|
+
#
|
311
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
312
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
313
|
+
#
|
300
314
|
# @option options [Boolean] :use_dualstack_endpoint
|
301
315
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
302
316
|
# will be used if available.
|
@@ -310,6 +324,9 @@ module Aws::ApplicationDiscoveryService
|
|
310
324
|
# When `true`, request parameters are validated before
|
311
325
|
# sending the request.
|
312
326
|
#
|
327
|
+
# @option options [Aws::ApplicationDiscoveryService::EndpointProvider] :endpoint_provider
|
328
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ApplicationDiscoveryService::EndpointParameters`
|
329
|
+
#
|
313
330
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
314
331
|
# requests through. Formatted like 'http://proxy.com:123'.
|
315
332
|
#
|
@@ -1542,7 +1559,7 @@ module Aws::ApplicationDiscoveryService
|
|
1542
1559
|
params: params,
|
1543
1560
|
config: config)
|
1544
1561
|
context[:gem_name] = 'aws-sdk-applicationdiscoveryservice'
|
1545
|
-
context[:gem_version] = '1.
|
1562
|
+
context[:gem_version] = '1.48.0'
|
1546
1563
|
Seahorse::Client::Request.new(handlers, context)
|
1547
1564
|
end
|
1548
1565
|
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::ApplicationDiscoveryService
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
+
if self[:use_dual_stack].nil?
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
+
end
|
58
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
+
if self[:use_fips].nil?
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
+
end
|
63
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::ApplicationDiscoveryService
|
11
|
+
class EndpointProvider
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://discovery-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://discovery-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://discovery.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://discovery.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
48
|
+
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,365 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::ApplicationDiscoveryService
|
12
|
+
module Endpoints
|
13
|
+
|
14
|
+
class AssociateConfigurationItemsToApplication
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class BatchDeleteImportData
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class CreateApplication
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class CreateTags
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class DeleteApplications
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class DeleteTags
|
85
|
+
def self.build(context)
|
86
|
+
unless context.config.regional_endpoint
|
87
|
+
endpoint = context.config.endpoint.to_s
|
88
|
+
end
|
89
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
90
|
+
region: context.config.region,
|
91
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
92
|
+
use_fips: context.config.use_fips_endpoint,
|
93
|
+
endpoint: endpoint,
|
94
|
+
)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
class DescribeAgents
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class DescribeConfigurations
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class DescribeContinuousExports
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class DescribeExportConfigurations
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class DescribeExportTasks
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
162
|
+
use_fips: context.config.use_fips_endpoint,
|
163
|
+
endpoint: endpoint,
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class DescribeImportTasks
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class DescribeTags
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class DisassociateConfigurationItemsFromApplication
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
class ExportConfigurations
|
211
|
+
def self.build(context)
|
212
|
+
unless context.config.regional_endpoint
|
213
|
+
endpoint = context.config.endpoint.to_s
|
214
|
+
end
|
215
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
216
|
+
region: context.config.region,
|
217
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
+
use_fips: context.config.use_fips_endpoint,
|
219
|
+
endpoint: endpoint,
|
220
|
+
)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class GetDiscoverySummary
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class ListConfigurations
|
239
|
+
def self.build(context)
|
240
|
+
unless context.config.regional_endpoint
|
241
|
+
endpoint = context.config.endpoint.to_s
|
242
|
+
end
|
243
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
244
|
+
region: context.config.region,
|
245
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
246
|
+
use_fips: context.config.use_fips_endpoint,
|
247
|
+
endpoint: endpoint,
|
248
|
+
)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
class ListServerNeighbors
|
253
|
+
def self.build(context)
|
254
|
+
unless context.config.regional_endpoint
|
255
|
+
endpoint = context.config.endpoint.to_s
|
256
|
+
end
|
257
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
258
|
+
region: context.config.region,
|
259
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
+
use_fips: context.config.use_fips_endpoint,
|
261
|
+
endpoint: endpoint,
|
262
|
+
)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
class StartContinuousExport
|
267
|
+
def self.build(context)
|
268
|
+
unless context.config.regional_endpoint
|
269
|
+
endpoint = context.config.endpoint.to_s
|
270
|
+
end
|
271
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
272
|
+
region: context.config.region,
|
273
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
274
|
+
use_fips: context.config.use_fips_endpoint,
|
275
|
+
endpoint: endpoint,
|
276
|
+
)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class StartDataCollectionByAgentIds
|
281
|
+
def self.build(context)
|
282
|
+
unless context.config.regional_endpoint
|
283
|
+
endpoint = context.config.endpoint.to_s
|
284
|
+
end
|
285
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
286
|
+
region: context.config.region,
|
287
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
288
|
+
use_fips: context.config.use_fips_endpoint,
|
289
|
+
endpoint: endpoint,
|
290
|
+
)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
class StartExportTask
|
295
|
+
def self.build(context)
|
296
|
+
unless context.config.regional_endpoint
|
297
|
+
endpoint = context.config.endpoint.to_s
|
298
|
+
end
|
299
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
300
|
+
region: context.config.region,
|
301
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
302
|
+
use_fips: context.config.use_fips_endpoint,
|
303
|
+
endpoint: endpoint,
|
304
|
+
)
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
class StartImportTask
|
309
|
+
def self.build(context)
|
310
|
+
unless context.config.regional_endpoint
|
311
|
+
endpoint = context.config.endpoint.to_s
|
312
|
+
end
|
313
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
314
|
+
region: context.config.region,
|
315
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
316
|
+
use_fips: context.config.use_fips_endpoint,
|
317
|
+
endpoint: endpoint,
|
318
|
+
)
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
class StopContinuousExport
|
323
|
+
def self.build(context)
|
324
|
+
unless context.config.regional_endpoint
|
325
|
+
endpoint = context.config.endpoint.to_s
|
326
|
+
end
|
327
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
328
|
+
region: context.config.region,
|
329
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
330
|
+
use_fips: context.config.use_fips_endpoint,
|
331
|
+
endpoint: endpoint,
|
332
|
+
)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
class StopDataCollectionByAgentIds
|
337
|
+
def self.build(context)
|
338
|
+
unless context.config.regional_endpoint
|
339
|
+
endpoint = context.config.endpoint.to_s
|
340
|
+
end
|
341
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
342
|
+
region: context.config.region,
|
343
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
344
|
+
use_fips: context.config.use_fips_endpoint,
|
345
|
+
endpoint: endpoint,
|
346
|
+
)
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
class UpdateApplication
|
351
|
+
def self.build(context)
|
352
|
+
unless context.config.regional_endpoint
|
353
|
+
endpoint = context.config.endpoint.to_s
|
354
|
+
end
|
355
|
+
Aws::ApplicationDiscoveryService::EndpointParameters.new(
|
356
|
+
region: context.config.region,
|
357
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
358
|
+
use_fips: context.config.use_fips_endpoint,
|
359
|
+
endpoint: endpoint,
|
360
|
+
)
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
364
|
+
end
|
365
|
+
end
|
@@ -0,0 +1,118 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::ApplicationDiscoveryService
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::ApplicationDiscoveryService::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::ApplicationDiscoveryService::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::ApplicationDiscoveryService::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :associate_configuration_items_to_application
|
60
|
+
Aws::ApplicationDiscoveryService::Endpoints::AssociateConfigurationItemsToApplication.build(context)
|
61
|
+
when :batch_delete_import_data
|
62
|
+
Aws::ApplicationDiscoveryService::Endpoints::BatchDeleteImportData.build(context)
|
63
|
+
when :create_application
|
64
|
+
Aws::ApplicationDiscoveryService::Endpoints::CreateApplication.build(context)
|
65
|
+
when :create_tags
|
66
|
+
Aws::ApplicationDiscoveryService::Endpoints::CreateTags.build(context)
|
67
|
+
when :delete_applications
|
68
|
+
Aws::ApplicationDiscoveryService::Endpoints::DeleteApplications.build(context)
|
69
|
+
when :delete_tags
|
70
|
+
Aws::ApplicationDiscoveryService::Endpoints::DeleteTags.build(context)
|
71
|
+
when :describe_agents
|
72
|
+
Aws::ApplicationDiscoveryService::Endpoints::DescribeAgents.build(context)
|
73
|
+
when :describe_configurations
|
74
|
+
Aws::ApplicationDiscoveryService::Endpoints::DescribeConfigurations.build(context)
|
75
|
+
when :describe_continuous_exports
|
76
|
+
Aws::ApplicationDiscoveryService::Endpoints::DescribeContinuousExports.build(context)
|
77
|
+
when :describe_export_configurations
|
78
|
+
Aws::ApplicationDiscoveryService::Endpoints::DescribeExportConfigurations.build(context)
|
79
|
+
when :describe_export_tasks
|
80
|
+
Aws::ApplicationDiscoveryService::Endpoints::DescribeExportTasks.build(context)
|
81
|
+
when :describe_import_tasks
|
82
|
+
Aws::ApplicationDiscoveryService::Endpoints::DescribeImportTasks.build(context)
|
83
|
+
when :describe_tags
|
84
|
+
Aws::ApplicationDiscoveryService::Endpoints::DescribeTags.build(context)
|
85
|
+
when :disassociate_configuration_items_from_application
|
86
|
+
Aws::ApplicationDiscoveryService::Endpoints::DisassociateConfigurationItemsFromApplication.build(context)
|
87
|
+
when :export_configurations
|
88
|
+
Aws::ApplicationDiscoveryService::Endpoints::ExportConfigurations.build(context)
|
89
|
+
when :get_discovery_summary
|
90
|
+
Aws::ApplicationDiscoveryService::Endpoints::GetDiscoverySummary.build(context)
|
91
|
+
when :list_configurations
|
92
|
+
Aws::ApplicationDiscoveryService::Endpoints::ListConfigurations.build(context)
|
93
|
+
when :list_server_neighbors
|
94
|
+
Aws::ApplicationDiscoveryService::Endpoints::ListServerNeighbors.build(context)
|
95
|
+
when :start_continuous_export
|
96
|
+
Aws::ApplicationDiscoveryService::Endpoints::StartContinuousExport.build(context)
|
97
|
+
when :start_data_collection_by_agent_ids
|
98
|
+
Aws::ApplicationDiscoveryService::Endpoints::StartDataCollectionByAgentIds.build(context)
|
99
|
+
when :start_export_task
|
100
|
+
Aws::ApplicationDiscoveryService::Endpoints::StartExportTask.build(context)
|
101
|
+
when :start_import_task
|
102
|
+
Aws::ApplicationDiscoveryService::Endpoints::StartImportTask.build(context)
|
103
|
+
when :stop_continuous_export
|
104
|
+
Aws::ApplicationDiscoveryService::Endpoints::StopContinuousExport.build(context)
|
105
|
+
when :stop_data_collection_by_agent_ids
|
106
|
+
Aws::ApplicationDiscoveryService::Endpoints::StopDataCollectionByAgentIds.build(context)
|
107
|
+
when :update_application
|
108
|
+
Aws::ApplicationDiscoveryService::Endpoints::UpdateApplication.build(context)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
def add_handlers(handlers, _config)
|
114
|
+
handlers.add(Handler, step: :build, priority: 75)
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
@@ -117,14 +117,6 @@ module Aws::ApplicationDiscoveryService
|
|
117
117
|
include Aws::Structure
|
118
118
|
end
|
119
119
|
|
120
|
-
# @note When making an API call, you may pass AssociateConfigurationItemsToApplicationRequest
|
121
|
-
# data as a hash:
|
122
|
-
#
|
123
|
-
# {
|
124
|
-
# application_configuration_id: "ApplicationId", # required
|
125
|
-
# configuration_ids: ["ConfigurationId"], # required
|
126
|
-
# }
|
127
|
-
#
|
128
120
|
# @!attribute [rw] application_configuration_id
|
129
121
|
# The configuration ID of an application with which items are to be
|
130
122
|
# associated.
|
@@ -180,13 +172,6 @@ module Aws::ApplicationDiscoveryService
|
|
180
172
|
include Aws::Structure
|
181
173
|
end
|
182
174
|
|
183
|
-
# @note When making an API call, you may pass BatchDeleteImportDataRequest
|
184
|
-
# data as a hash:
|
185
|
-
#
|
186
|
-
# {
|
187
|
-
# import_task_ids: ["ImportTaskIdentifier"], # required
|
188
|
-
# }
|
189
|
-
#
|
190
175
|
# @!attribute [rw] import_task_ids
|
191
176
|
# The IDs for the import tasks that you want to delete.
|
192
177
|
# @return [Array<String>]
|
@@ -411,14 +396,6 @@ module Aws::ApplicationDiscoveryService
|
|
411
396
|
include Aws::Structure
|
412
397
|
end
|
413
398
|
|
414
|
-
# @note When making an API call, you may pass CreateApplicationRequest
|
415
|
-
# data as a hash:
|
416
|
-
#
|
417
|
-
# {
|
418
|
-
# name: "ApplicationName", # required
|
419
|
-
# description: "ApplicationDescription",
|
420
|
-
# }
|
421
|
-
#
|
422
399
|
# @!attribute [rw] name
|
423
400
|
# Name of the application to be created.
|
424
401
|
# @return [String]
|
@@ -444,19 +421,6 @@ module Aws::ApplicationDiscoveryService
|
|
444
421
|
include Aws::Structure
|
445
422
|
end
|
446
423
|
|
447
|
-
# @note When making an API call, you may pass CreateTagsRequest
|
448
|
-
# data as a hash:
|
449
|
-
#
|
450
|
-
# {
|
451
|
-
# configuration_ids: ["ConfigurationId"], # required
|
452
|
-
# tags: [ # required
|
453
|
-
# {
|
454
|
-
# key: "TagKey", # required
|
455
|
-
# value: "TagValue", # required
|
456
|
-
# },
|
457
|
-
# ],
|
458
|
-
# }
|
459
|
-
#
|
460
424
|
# @!attribute [rw] configuration_ids
|
461
425
|
# A list of configuration items that you want to tag.
|
462
426
|
# @return [Array<String>]
|
@@ -637,13 +601,6 @@ module Aws::ApplicationDiscoveryService
|
|
637
601
|
include Aws::Structure
|
638
602
|
end
|
639
603
|
|
640
|
-
# @note When making an API call, you may pass DeleteApplicationsRequest
|
641
|
-
# data as a hash:
|
642
|
-
#
|
643
|
-
# {
|
644
|
-
# configuration_ids: ["ApplicationId"], # required
|
645
|
-
# }
|
646
|
-
#
|
647
604
|
# @!attribute [rw] configuration_ids
|
648
605
|
# Configuration ID of an application to be deleted.
|
649
606
|
# @return [Array<String>]
|
@@ -656,19 +613,6 @@ module Aws::ApplicationDiscoveryService
|
|
656
613
|
|
657
614
|
class DeleteApplicationsResponse < Aws::EmptyStructure; end
|
658
615
|
|
659
|
-
# @note When making an API call, you may pass DeleteTagsRequest
|
660
|
-
# data as a hash:
|
661
|
-
#
|
662
|
-
# {
|
663
|
-
# configuration_ids: ["ConfigurationId"], # required
|
664
|
-
# tags: [
|
665
|
-
# {
|
666
|
-
# key: "TagKey", # required
|
667
|
-
# value: "TagValue", # required
|
668
|
-
# },
|
669
|
-
# ],
|
670
|
-
# }
|
671
|
-
#
|
672
616
|
# @!attribute [rw] configuration_ids
|
673
617
|
# A list of configuration items with tags that you want to delete.
|
674
618
|
# @return [Array<String>]
|
@@ -690,22 +634,6 @@ module Aws::ApplicationDiscoveryService
|
|
690
634
|
|
691
635
|
class DeleteTagsResponse < Aws::EmptyStructure; end
|
692
636
|
|
693
|
-
# @note When making an API call, you may pass DescribeAgentsRequest
|
694
|
-
# data as a hash:
|
695
|
-
#
|
696
|
-
# {
|
697
|
-
# agent_ids: ["AgentId"],
|
698
|
-
# filters: [
|
699
|
-
# {
|
700
|
-
# name: "String", # required
|
701
|
-
# values: ["FilterValue"], # required
|
702
|
-
# condition: "Condition", # required
|
703
|
-
# },
|
704
|
-
# ],
|
705
|
-
# max_results: 1,
|
706
|
-
# next_token: "NextToken",
|
707
|
-
# }
|
708
|
-
#
|
709
637
|
# @!attribute [rw] agent_ids
|
710
638
|
# The agent or the Connector IDs for which you want information. If
|
711
639
|
# you specify no IDs, the system returns information about all
|
@@ -766,13 +694,6 @@ module Aws::ApplicationDiscoveryService
|
|
766
694
|
include Aws::Structure
|
767
695
|
end
|
768
696
|
|
769
|
-
# @note When making an API call, you may pass DescribeConfigurationsRequest
|
770
|
-
# data as a hash:
|
771
|
-
#
|
772
|
-
# {
|
773
|
-
# configuration_ids: ["ConfigurationId"], # required
|
774
|
-
# }
|
775
|
-
#
|
776
697
|
# @!attribute [rw] configuration_ids
|
777
698
|
# One or more configuration IDs.
|
778
699
|
# @return [Array<String>]
|
@@ -793,15 +714,6 @@ module Aws::ApplicationDiscoveryService
|
|
793
714
|
include Aws::Structure
|
794
715
|
end
|
795
716
|
|
796
|
-
# @note When making an API call, you may pass DescribeContinuousExportsRequest
|
797
|
-
# data as a hash:
|
798
|
-
#
|
799
|
-
# {
|
800
|
-
# export_ids: ["ConfigurationsExportId"],
|
801
|
-
# max_results: 1,
|
802
|
-
# next_token: "NextToken",
|
803
|
-
# }
|
804
|
-
#
|
805
717
|
# @!attribute [rw] export_ids
|
806
718
|
# The unique IDs assigned to the exports.
|
807
719
|
# @return [Array<String>]
|
@@ -838,15 +750,6 @@ module Aws::ApplicationDiscoveryService
|
|
838
750
|
include Aws::Structure
|
839
751
|
end
|
840
752
|
|
841
|
-
# @note When making an API call, you may pass DescribeExportConfigurationsRequest
|
842
|
-
# data as a hash:
|
843
|
-
#
|
844
|
-
# {
|
845
|
-
# export_ids: ["ConfigurationsExportId"],
|
846
|
-
# max_results: 1,
|
847
|
-
# next_token: "NextToken",
|
848
|
-
# }
|
849
|
-
#
|
850
753
|
# @!attribute [rw] export_ids
|
851
754
|
# A list of continuous export IDs to search for.
|
852
755
|
# @return [Array<String>]
|
@@ -882,22 +785,6 @@ module Aws::ApplicationDiscoveryService
|
|
882
785
|
include Aws::Structure
|
883
786
|
end
|
884
787
|
|
885
|
-
# @note When making an API call, you may pass DescribeExportTasksRequest
|
886
|
-
# data as a hash:
|
887
|
-
#
|
888
|
-
# {
|
889
|
-
# export_ids: ["ConfigurationsExportId"],
|
890
|
-
# filters: [
|
891
|
-
# {
|
892
|
-
# name: "FilterName", # required
|
893
|
-
# values: ["FilterValue"], # required
|
894
|
-
# condition: "Condition", # required
|
895
|
-
# },
|
896
|
-
# ],
|
897
|
-
# max_results: 1,
|
898
|
-
# next_token: "NextToken",
|
899
|
-
# }
|
900
|
-
#
|
901
788
|
# @!attribute [rw] export_ids
|
902
789
|
# One or more unique identifiers used to query the status of an export
|
903
790
|
# request.
|
@@ -956,20 +843,6 @@ module Aws::ApplicationDiscoveryService
|
|
956
843
|
include Aws::Structure
|
957
844
|
end
|
958
845
|
|
959
|
-
# @note When making an API call, you may pass DescribeImportTasksRequest
|
960
|
-
# data as a hash:
|
961
|
-
#
|
962
|
-
# {
|
963
|
-
# filters: [
|
964
|
-
# {
|
965
|
-
# name: "IMPORT_TASK_ID", # accepts IMPORT_TASK_ID, STATUS, NAME
|
966
|
-
# values: ["ImportTaskFilterValue"],
|
967
|
-
# },
|
968
|
-
# ],
|
969
|
-
# max_results: 1,
|
970
|
-
# next_token: "NextToken",
|
971
|
-
# }
|
972
|
-
#
|
973
846
|
# @!attribute [rw] filters
|
974
847
|
# An array of name-value pairs that you provide to filter the results
|
975
848
|
# for the `DescribeImportTask` request to a specific subset of
|
@@ -1009,20 +882,6 @@ module Aws::ApplicationDiscoveryService
|
|
1009
882
|
include Aws::Structure
|
1010
883
|
end
|
1011
884
|
|
1012
|
-
# @note When making an API call, you may pass DescribeTagsRequest
|
1013
|
-
# data as a hash:
|
1014
|
-
#
|
1015
|
-
# {
|
1016
|
-
# filters: [
|
1017
|
-
# {
|
1018
|
-
# name: "FilterName", # required
|
1019
|
-
# values: ["FilterValue"], # required
|
1020
|
-
# },
|
1021
|
-
# ],
|
1022
|
-
# max_results: 1,
|
1023
|
-
# next_token: "NextToken",
|
1024
|
-
# }
|
1025
|
-
#
|
1026
885
|
# @!attribute [rw] filters
|
1027
886
|
# You can filter the list using a *key*-*value* format. You can
|
1028
887
|
# separate these items by using logical operators. Allowed filters
|
@@ -1065,14 +924,6 @@ module Aws::ApplicationDiscoveryService
|
|
1065
924
|
include Aws::Structure
|
1066
925
|
end
|
1067
926
|
|
1068
|
-
# @note When making an API call, you may pass DisassociateConfigurationItemsFromApplicationRequest
|
1069
|
-
# data as a hash:
|
1070
|
-
#
|
1071
|
-
# {
|
1072
|
-
# application_configuration_id: "ApplicationId", # required
|
1073
|
-
# configuration_ids: ["ConfigurationId"], # required
|
1074
|
-
# }
|
1075
|
-
#
|
1076
927
|
# @!attribute [rw] application_configuration_id
|
1077
928
|
# Configuration ID of an application from which each item is
|
1078
929
|
# disassociated.
|
@@ -1109,15 +960,6 @@ module Aws::ApplicationDiscoveryService
|
|
1109
960
|
#
|
1110
961
|
# [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_StartExportTask.html
|
1111
962
|
#
|
1112
|
-
# @note When making an API call, you may pass ExportFilter
|
1113
|
-
# data as a hash:
|
1114
|
-
#
|
1115
|
-
# {
|
1116
|
-
# name: "FilterName", # required
|
1117
|
-
# values: ["FilterValue"], # required
|
1118
|
-
# condition: "Condition", # required
|
1119
|
-
# }
|
1120
|
-
#
|
1121
963
|
# @!attribute [rw] name
|
1122
964
|
# A single `ExportFilter` name. Supported filters: `agentIds`.
|
1123
965
|
# @return [String]
|
@@ -1209,15 +1051,6 @@ module Aws::ApplicationDiscoveryService
|
|
1209
1051
|
#
|
1210
1052
|
# [1]: https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html
|
1211
1053
|
#
|
1212
|
-
# @note When making an API call, you may pass Filter
|
1213
|
-
# data as a hash:
|
1214
|
-
#
|
1215
|
-
# {
|
1216
|
-
# name: "String", # required
|
1217
|
-
# values: ["FilterValue"], # required
|
1218
|
-
# condition: "Condition", # required
|
1219
|
-
# }
|
1220
|
-
#
|
1221
1054
|
# @!attribute [rw] name
|
1222
1055
|
# The name of the filter.
|
1223
1056
|
# @return [String]
|
@@ -1421,14 +1254,6 @@ module Aws::ApplicationDiscoveryService
|
|
1421
1254
|
#
|
1422
1255
|
# </note>
|
1423
1256
|
#
|
1424
|
-
# @note When making an API call, you may pass ImportTaskFilter
|
1425
|
-
# data as a hash:
|
1426
|
-
#
|
1427
|
-
# {
|
1428
|
-
# name: "IMPORT_TASK_ID", # accepts IMPORT_TASK_ID, STATUS, NAME
|
1429
|
-
# values: ["ImportTaskFilterValue"],
|
1430
|
-
# }
|
1431
|
-
#
|
1432
1257
|
# @!attribute [rw] name
|
1433
1258
|
# The name, status, or import task ID for a specific import task.
|
1434
1259
|
# @return [String]
|
@@ -1470,28 +1295,6 @@ module Aws::ApplicationDiscoveryService
|
|
1470
1295
|
include Aws::Structure
|
1471
1296
|
end
|
1472
1297
|
|
1473
|
-
# @note When making an API call, you may pass ListConfigurationsRequest
|
1474
|
-
# data as a hash:
|
1475
|
-
#
|
1476
|
-
# {
|
1477
|
-
# configuration_type: "SERVER", # required, accepts SERVER, PROCESS, CONNECTION, APPLICATION
|
1478
|
-
# filters: [
|
1479
|
-
# {
|
1480
|
-
# name: "String", # required
|
1481
|
-
# values: ["FilterValue"], # required
|
1482
|
-
# condition: "Condition", # required
|
1483
|
-
# },
|
1484
|
-
# ],
|
1485
|
-
# max_results: 1,
|
1486
|
-
# next_token: "NextToken",
|
1487
|
-
# order_by: [
|
1488
|
-
# {
|
1489
|
-
# field_name: "OrderByElementFieldName", # required
|
1490
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
1491
|
-
# },
|
1492
|
-
# ],
|
1493
|
-
# }
|
1494
|
-
#
|
1495
1298
|
# @!attribute [rw] configuration_type
|
1496
1299
|
# A valid configuration identified by Application Discovery Service.
|
1497
1300
|
# @return [String]
|
@@ -1564,17 +1367,6 @@ module Aws::ApplicationDiscoveryService
|
|
1564
1367
|
include Aws::Structure
|
1565
1368
|
end
|
1566
1369
|
|
1567
|
-
# @note When making an API call, you may pass ListServerNeighborsRequest
|
1568
|
-
# data as a hash:
|
1569
|
-
#
|
1570
|
-
# {
|
1571
|
-
# configuration_id: "ConfigurationId", # required
|
1572
|
-
# port_information_needed: false,
|
1573
|
-
# neighbor_configuration_ids: ["ConfigurationId"],
|
1574
|
-
# max_results: 1,
|
1575
|
-
# next_token: "String",
|
1576
|
-
# }
|
1577
|
-
#
|
1578
1370
|
# @!attribute [rw] configuration_id
|
1579
1371
|
# Configuration ID of the server for which neighbors are being listed.
|
1580
1372
|
# @return [String]
|
@@ -1683,14 +1475,6 @@ module Aws::ApplicationDiscoveryService
|
|
1683
1475
|
|
1684
1476
|
# A field and direction for ordered output.
|
1685
1477
|
#
|
1686
|
-
# @note When making an API call, you may pass OrderByElement
|
1687
|
-
# data as a hash:
|
1688
|
-
#
|
1689
|
-
# {
|
1690
|
-
# field_name: "OrderByElementFieldName", # required
|
1691
|
-
# sort_order: "ASC", # accepts ASC, DESC
|
1692
|
-
# }
|
1693
|
-
#
|
1694
1478
|
# @!attribute [rw] field_name
|
1695
1479
|
# The field on which to order.
|
1696
1480
|
# @return [String]
|
@@ -1785,13 +1569,6 @@ module Aws::ApplicationDiscoveryService
|
|
1785
1569
|
include Aws::Structure
|
1786
1570
|
end
|
1787
1571
|
|
1788
|
-
# @note When making an API call, you may pass StartDataCollectionByAgentIdsRequest
|
1789
|
-
# data as a hash:
|
1790
|
-
#
|
1791
|
-
# {
|
1792
|
-
# agent_ids: ["AgentId"], # required
|
1793
|
-
# }
|
1794
|
-
#
|
1795
1572
|
# @!attribute [rw] agent_ids
|
1796
1573
|
# The IDs of the agents or connectors from which to start collecting
|
1797
1574
|
# data. If you send a request to an agent/connector ID that you do not
|
@@ -1823,22 +1600,6 @@ module Aws::ApplicationDiscoveryService
|
|
1823
1600
|
include Aws::Structure
|
1824
1601
|
end
|
1825
1602
|
|
1826
|
-
# @note When making an API call, you may pass StartExportTaskRequest
|
1827
|
-
# data as a hash:
|
1828
|
-
#
|
1829
|
-
# {
|
1830
|
-
# export_data_format: ["CSV"], # accepts CSV, GRAPHML
|
1831
|
-
# filters: [
|
1832
|
-
# {
|
1833
|
-
# name: "FilterName", # required
|
1834
|
-
# values: ["FilterValue"], # required
|
1835
|
-
# condition: "Condition", # required
|
1836
|
-
# },
|
1837
|
-
# ],
|
1838
|
-
# start_time: Time.now,
|
1839
|
-
# end_time: Time.now,
|
1840
|
-
# }
|
1841
|
-
#
|
1842
1603
|
# @!attribute [rw] export_data_format
|
1843
1604
|
# The file format for the returned export data. Default value is
|
1844
1605
|
# `CSV`. **Note:** *The* `GRAPHML` *option has been deprecated.*
|
@@ -1885,15 +1646,6 @@ module Aws::ApplicationDiscoveryService
|
|
1885
1646
|
include Aws::Structure
|
1886
1647
|
end
|
1887
1648
|
|
1888
|
-
# @note When making an API call, you may pass StartImportTaskRequest
|
1889
|
-
# data as a hash:
|
1890
|
-
#
|
1891
|
-
# {
|
1892
|
-
# client_request_token: "ClientRequestToken",
|
1893
|
-
# name: "ImportTaskName", # required
|
1894
|
-
# import_url: "ImportURL", # required
|
1895
|
-
# }
|
1896
|
-
#
|
1897
1649
|
# @!attribute [rw] client_request_token
|
1898
1650
|
# Optional. A unique token that you can provide to prevent the same
|
1899
1651
|
# import request from occurring more than once. If you don't provide
|
@@ -1943,13 +1695,6 @@ module Aws::ApplicationDiscoveryService
|
|
1943
1695
|
include Aws::Structure
|
1944
1696
|
end
|
1945
1697
|
|
1946
|
-
# @note When making an API call, you may pass StopContinuousExportRequest
|
1947
|
-
# data as a hash:
|
1948
|
-
#
|
1949
|
-
# {
|
1950
|
-
# export_id: "ConfigurationsExportId", # required
|
1951
|
-
# }
|
1952
|
-
#
|
1953
1698
|
# @!attribute [rw] export_id
|
1954
1699
|
# The unique ID assigned to this export.
|
1955
1700
|
# @return [String]
|
@@ -1976,13 +1721,6 @@ module Aws::ApplicationDiscoveryService
|
|
1976
1721
|
include Aws::Structure
|
1977
1722
|
end
|
1978
1723
|
|
1979
|
-
# @note When making an API call, you may pass StopDataCollectionByAgentIdsRequest
|
1980
|
-
# data as a hash:
|
1981
|
-
#
|
1982
|
-
# {
|
1983
|
-
# agent_ids: ["AgentId"], # required
|
1984
|
-
# }
|
1985
|
-
#
|
1986
1724
|
# @!attribute [rw] agent_ids
|
1987
1725
|
# The IDs of the agents or connectors from which to stop collecting
|
1988
1726
|
# data.
|
@@ -2011,14 +1749,6 @@ module Aws::ApplicationDiscoveryService
|
|
2011
1749
|
#
|
2012
1750
|
# Do not store sensitive information (like personal data) in tags.
|
2013
1751
|
#
|
2014
|
-
# @note When making an API call, you may pass Tag
|
2015
|
-
# data as a hash:
|
2016
|
-
#
|
2017
|
-
# {
|
2018
|
-
# key: "TagKey", # required
|
2019
|
-
# value: "TagValue", # required
|
2020
|
-
# }
|
2021
|
-
#
|
2022
1752
|
# @!attribute [rw] key
|
2023
1753
|
# The type of tag on which to filter.
|
2024
1754
|
# @return [String]
|
@@ -2037,14 +1767,6 @@ module Aws::ApplicationDiscoveryService
|
|
2037
1767
|
# The tag filter. Valid names are: `tagKey`, `tagValue`,
|
2038
1768
|
# `configurationId`.
|
2039
1769
|
#
|
2040
|
-
# @note When making an API call, you may pass TagFilter
|
2041
|
-
# data as a hash:
|
2042
|
-
#
|
2043
|
-
# {
|
2044
|
-
# name: "FilterName", # required
|
2045
|
-
# values: ["FilterValue"], # required
|
2046
|
-
# }
|
2047
|
-
#
|
2048
1770
|
# @!attribute [rw] name
|
2049
1771
|
# A name of the tag filter.
|
2050
1772
|
# @return [String]
|
@@ -2060,15 +1782,6 @@ module Aws::ApplicationDiscoveryService
|
|
2060
1782
|
include Aws::Structure
|
2061
1783
|
end
|
2062
1784
|
|
2063
|
-
# @note When making an API call, you may pass UpdateApplicationRequest
|
2064
|
-
# data as a hash:
|
2065
|
-
#
|
2066
|
-
# {
|
2067
|
-
# configuration_id: "ApplicationId", # required
|
2068
|
-
# name: "ApplicationName",
|
2069
|
-
# description: "ApplicationDescription",
|
2070
|
-
# }
|
2071
|
-
#
|
2072
1785
|
# @!attribute [rw] configuration_id
|
2073
1786
|
# Configuration ID of the application to be updated.
|
2074
1787
|
# @return [String]
|
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-applicationdiscoveryservice/types'
|
15
15
|
require_relative 'aws-sdk-applicationdiscoveryservice/client_api'
|
16
|
+
require_relative 'aws-sdk-applicationdiscoveryservice/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-applicationdiscoveryservice/client'
|
17
18
|
require_relative 'aws-sdk-applicationdiscoveryservice/errors'
|
18
19
|
require_relative 'aws-sdk-applicationdiscoveryservice/resource'
|
20
|
+
require_relative 'aws-sdk-applicationdiscoveryservice/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-applicationdiscoveryservice/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-applicationdiscoveryservice/endpoints'
|
19
23
|
require_relative 'aws-sdk-applicationdiscoveryservice/customizations'
|
20
24
|
|
21
25
|
# This module provides support for AWS Application Discovery Service. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-applicationdiscoveryservice/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::ApplicationDiscoveryService
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.48.0'
|
52
56
|
|
53
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-applicationdiscoveryservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.48.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.165.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-applicationdiscoveryservice/client.rb
|
60
60
|
- lib/aws-sdk-applicationdiscoveryservice/client_api.rb
|
61
61
|
- lib/aws-sdk-applicationdiscoveryservice/customizations.rb
|
62
|
+
- lib/aws-sdk-applicationdiscoveryservice/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-applicationdiscoveryservice/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-applicationdiscoveryservice/endpoints.rb
|
62
65
|
- lib/aws-sdk-applicationdiscoveryservice/errors.rb
|
66
|
+
- lib/aws-sdk-applicationdiscoveryservice/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-applicationdiscoveryservice/resource.rb
|
64
68
|
- lib/aws-sdk-applicationdiscoveryservice/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|