lib/aws-sdk-oam.rb in aws-sdk-oam-1.24.0 vs lib/aws-sdk-oam.rb in aws-sdk-oam-1.25.0
- old
+ new
@@ -9,21 +9,10 @@
require 'aws-sdk-core'
require 'aws-sigv4'
-require_relative 'aws-sdk-oam/types'
-require_relative 'aws-sdk-oam/client_api'
-require_relative 'aws-sdk-oam/plugins/endpoints.rb'
-require_relative 'aws-sdk-oam/client'
-require_relative 'aws-sdk-oam/errors'
-require_relative 'aws-sdk-oam/resource'
-require_relative 'aws-sdk-oam/endpoint_parameters'
-require_relative 'aws-sdk-oam/endpoint_provider'
-require_relative 'aws-sdk-oam/endpoints'
-require_relative 'aws-sdk-oam/customizations'
-
# This module provides support for CloudWatch Observability Access Manager. This module is available in the
# `aws-sdk-oam` gem.
#
# # Client
#
@@ -49,9 +38,22 @@
#
# See {Errors} for more information.
#
# @!group service
module Aws::OAM
+ autoload :Types, 'aws-sdk-oam/types'
+ autoload :ClientApi, 'aws-sdk-oam/client_api'
+ module Plugins
+ autoload :Endpoints, 'aws-sdk-oam/plugins/endpoints.rb'
+ end
+ autoload :Client, 'aws-sdk-oam/client'
+ autoload :Errors, 'aws-sdk-oam/errors'
+ autoload :Resource, 'aws-sdk-oam/resource'
+ autoload :EndpointParameters, 'aws-sdk-oam/endpoint_parameters'
+ autoload :EndpointProvider, 'aws-sdk-oam/endpoint_provider'
+ autoload :Endpoints, 'aws-sdk-oam/endpoints'
- GEM_VERSION = '1.24.0'
+ GEM_VERSION = '1.25.0'
end
+
+require_relative 'aws-sdk-oam/customizations'