Method: #describe_parameters_response
- Defined in:
- lib/awspec/stub/ssm_parameter.rb
#describe_parameters_response(context) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/awspec/stub/ssm_parameter.rb', line 3 def describe_parameters_response(context) next_token = 'eyJOZXh0VG9rZW4iOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAxfQ==' if context.params[:next_token] == next_token { parameters: [ { name: 'my-parameter', type: 'SecureString', key_id: 'alias/aws/ssm', description: 'Some description', version: 1 } ], next_token: nil } else { parameters: [], next_token: next_token } end end |