class AwsSsmEnv::FetchResult

parametersとnext_tokenを持った値オブジェクト。 Fetcerサブクラスのfetchメソッド戻り値として利用する。

@attr_reader [Array] parameters

name, value プロパティを持ったパラメータオブジェクトの配列。配列要素の実装クラスは実行されるAPIによって変わる。

@attr_reader [String] next_token

1回ですべてのパラメータが取得できないAPIを利用する場合に次の値を取得するためのトークン文字列。
だいたいのAWSのAPIには用意されているため、戻り値の型であるこのクラスに持たせる。

@author Ryohei Sonoda @since 0.1.0

Constants

EMPTY

Attributes

next_token[R]
parameters[R]

Public Class Methods

new(parameters, next_token = nil) click to toggle source
# File lib/aws-ssm-env/fetcher.rb, line 113
def initialize(parameters, next_token = nil)
  @parameters = parameters
  @next_token = next_token
end