aws-sdk-states 1.33.0 → 1.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 481869863fe20140052bdfe49eca82786110d3581656bdd85d14a058fe787813
4
- data.tar.gz: 011f2b599887f72c8fe81b8640a13c9af3758798058954b928ffbd3fc27255e6
3
+ metadata.gz: acd90436a3db3983b7d80ee8408a48819f10a48e83ffe9558246b56f4d408d8d
4
+ data.tar.gz: 8164ec74b0c0531b1235fadc3203aa470d0ad1c777222aa412b87ad2d4f5d882
5
5
  SHA512:
6
- metadata.gz: 0ec6f1fa4d8ffc8ea1e7e93f96c40b5d62b4376486aa8a37a585b5c87893a8763caeba83570a2f815c604058ea90986f83ae7335a1f8846b2ef8c9845fcdc90e
7
- data.tar.gz: 60020ca15b70f6a90f867d1ecc8da2861d187d30bad571555993dd241e98523228b06e634961a71b9b022bc144497926917762cb75c4af8b06cbaa4784102b51
6
+ metadata.gz: adb653ef52b2ca51789254e5926cbd220948cece45fd13a323fc81907bed789fbf6d221389ad686d4cdde0d9c9dd36e88aac466ee3b12358808e6cfaafbe1b45
7
+ data.tar.gz: 35a018ec57f935b7f5fac51ee0b2cea6469e8b5b62979cbf5576fdb8d670757ef65def8d22cede3a0d5fd68e52011bdd5992adc853799639ed3c208e7a0a73e1
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-states/customizations'
47
48
  # @!group service
48
49
  module Aws::States
49
50
 
50
- GEM_VERSION = '1.33.0'
51
+ GEM_VERSION = '1.35.0'
51
52
 
52
53
  end
@@ -446,11 +446,11 @@ module Aws::States
446
446
  # <note markdown="1"> `CreateStateMachine` is an idempotent API. Subsequent requests won’t
447
447
  # create a duplicate resource if it was already created.
448
448
  # `CreateStateMachine`'s idempotency check is based on the state
449
- # machine `name`, `definition`, `type`, and `LoggingConfiguration`. If a
450
- # following request has a different `roleArn` or `tags`, Step Functions
451
- # will ignore these differences and treat it as an idempotent request of
452
- # the previous. In this case, `roleArn` and `tags` will not be updated,
453
- # even if they are different.
449
+ # machine `name`, `definition`, `type`, `LoggingConfiguration` and
450
+ # `TracingConfiguration`. If a following request has a different
451
+ # `roleArn` or `tags`, Step Functions will ignore these differences and
452
+ # treat it as an idempotent request of the previous. In this case,
453
+ # `roleArn` and `tags` will not be updated, even if they are different.
454
454
  #
455
455
  # </note>
456
456
  #
@@ -521,6 +521,9 @@ module Aws::States
521
521
  # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
522
522
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
523
523
  #
524
+ # @option params [Types::TracingConfiguration] :tracing_configuration
525
+ # Selects whether AWS X-Ray tracing is enabled.
526
+ #
524
527
  # @return [Types::CreateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
525
528
  #
526
529
  # * {Types::CreateStateMachineOutput#state_machine_arn #state_machine_arn} => String
@@ -550,6 +553,9 @@ module Aws::States
550
553
  # value: "TagValue",
551
554
  # },
552
555
  # ],
556
+ # tracing_configuration: {
557
+ # enabled: false,
558
+ # },
553
559
  # })
554
560
  #
555
561
  # @example Response structure
@@ -679,6 +685,7 @@ module Aws::States
679
685
  # * {Types::DescribeExecutionOutput#input_details #input_details} => Types::CloudWatchEventsExecutionDataDetails
680
686
  # * {Types::DescribeExecutionOutput#output #output} => String
681
687
  # * {Types::DescribeExecutionOutput#output_details #output_details} => Types::CloudWatchEventsExecutionDataDetails
688
+ # * {Types::DescribeExecutionOutput#trace_header #trace_header} => String
682
689
  #
683
690
  # @example Request syntax with placeholder values
684
691
  #
@@ -698,6 +705,7 @@ module Aws::States
698
705
  # resp.input_details.included #=> Boolean
699
706
  # resp.output #=> String
700
707
  # resp.output_details.included #=> Boolean
708
+ # resp.trace_header #=> String
701
709
  #
702
710
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecution AWS API Documentation
703
711
  #
@@ -728,6 +736,7 @@ module Aws::States
728
736
  # * {Types::DescribeStateMachineOutput#type #type} => String
729
737
  # * {Types::DescribeStateMachineOutput#creation_date #creation_date} => Time
730
738
  # * {Types::DescribeStateMachineOutput#logging_configuration #logging_configuration} => Types::LoggingConfiguration
739
+ # * {Types::DescribeStateMachineOutput#tracing_configuration #tracing_configuration} => Types::TracingConfiguration
731
740
  #
732
741
  # @example Request syntax with placeholder values
733
742
  #
@@ -748,6 +757,7 @@ module Aws::States
748
757
  # resp.logging_configuration.include_execution_data #=> Boolean
749
758
  # resp.logging_configuration.destinations #=> Array
750
759
  # resp.logging_configuration.destinations[0].cloud_watch_logs_log_group.log_group_arn #=> String
760
+ # resp.tracing_configuration.enabled #=> Boolean
751
761
  #
752
762
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine AWS API Documentation
753
763
  #
@@ -779,6 +789,7 @@ module Aws::States
779
789
  # * {Types::DescribeStateMachineForExecutionOutput#role_arn #role_arn} => String
780
790
  # * {Types::DescribeStateMachineForExecutionOutput#update_date #update_date} => Time
781
791
  # * {Types::DescribeStateMachineForExecutionOutput#logging_configuration #logging_configuration} => Types::LoggingConfiguration
792
+ # * {Types::DescribeStateMachineForExecutionOutput#tracing_configuration #tracing_configuration} => Types::TracingConfiguration
782
793
  #
783
794
  # @example Request syntax with placeholder values
784
795
  #
@@ -797,6 +808,7 @@ module Aws::States
797
808
  # resp.logging_configuration.include_execution_data #=> Boolean
798
809
  # resp.logging_configuration.destinations #=> Array
799
810
  # resp.logging_configuration.destinations[0].cloud_watch_logs_log_group.log_group_arn #=> String
811
+ # resp.tracing_configuration.enabled #=> Boolean
800
812
  #
801
813
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecution AWS API Documentation
802
814
  #
@@ -1443,6 +1455,10 @@ module Aws::States
1443
1455
  # Length constraints apply to the payload size, and are expressed as
1444
1456
  # bytes in UTF-8 encoding.
1445
1457
  #
1458
+ # @option params [String] :trace_header
1459
+ # Passes the AWS X-Ray trace header. The trace header can also be passed
1460
+ # in the request payload.
1461
+ #
1446
1462
  # @return [Types::StartExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1447
1463
  #
1448
1464
  # * {Types::StartExecutionOutput#execution_arn #execution_arn} => String
@@ -1454,6 +1470,7 @@ module Aws::States
1454
1470
  # state_machine_arn: "Arn", # required
1455
1471
  # name: "Name",
1456
1472
  # input: "SensitiveData",
1473
+ # trace_header: "TraceHeader",
1457
1474
  # })
1458
1475
  #
1459
1476
  # @example Response structure
@@ -1613,6 +1630,9 @@ module Aws::States
1613
1630
  # The `LoggingConfiguration` data type is used to set CloudWatch Logs
1614
1631
  # options.
1615
1632
  #
1633
+ # @option params [Types::TracingConfiguration] :tracing_configuration
1634
+ # Selects whether AWS X-Ray tracing is enabled.
1635
+ #
1616
1636
  # @return [Types::UpdateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1617
1637
  #
1618
1638
  # * {Types::UpdateStateMachineOutput#update_date #update_date} => Time
@@ -1634,6 +1654,9 @@ module Aws::States
1634
1654
  # },
1635
1655
  # ],
1636
1656
  # },
1657
+ # tracing_configuration: {
1658
+ # enabled: false,
1659
+ # },
1637
1660
  # })
1638
1661
  #
1639
1662
  # @example Response structure
@@ -1662,7 +1685,7 @@ module Aws::States
1662
1685
  params: params,
1663
1686
  config: config)
1664
1687
  context[:gem_name] = 'aws-sdk-states'
1665
- context[:gem_version] = '1.33.0'
1688
+ context[:gem_version] = '1.35.0'
1666
1689
  Seahorse::Client::Request.new(handlers, context)
1667
1690
  end
1668
1691
 
@@ -45,6 +45,7 @@ module Aws::States
45
45
  DescribeStateMachineForExecutionOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineForExecutionOutput')
46
46
  DescribeStateMachineInput = Shapes::StructureShape.new(name: 'DescribeStateMachineInput')
47
47
  DescribeStateMachineOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineOutput')
48
+ Enabled = Shapes::BooleanShape.new(name: 'Enabled')
48
49
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
49
50
  EventId = Shapes::IntegerShape.new(name: 'EventId')
50
51
  ExecutionAbortedEventDetails = Shapes::StructureShape.new(name: 'ExecutionAbortedEventDetails')
@@ -76,6 +77,7 @@ module Aws::States
76
77
  InvalidName = Shapes::StructureShape.new(name: 'InvalidName')
77
78
  InvalidOutput = Shapes::StructureShape.new(name: 'InvalidOutput')
78
79
  InvalidToken = Shapes::StructureShape.new(name: 'InvalidToken')
80
+ InvalidTracingConfiguration = Shapes::StructureShape.new(name: 'InvalidTracingConfiguration')
79
81
  LambdaFunctionFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionFailedEventDetails')
80
82
  LambdaFunctionScheduleFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduleFailedEventDetails')
81
83
  LambdaFunctionScheduledEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduledEventDetails')
@@ -149,6 +151,8 @@ module Aws::States
149
151
  TimeoutInSeconds = Shapes::IntegerShape.new(name: 'TimeoutInSeconds')
150
152
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
151
153
  TooManyTags = Shapes::StructureShape.new(name: 'TooManyTags')
154
+ TraceHeader = Shapes::StringShape.new(name: 'TraceHeader')
155
+ TracingConfiguration = Shapes::StructureShape.new(name: 'TracingConfiguration')
152
156
  UnsignedInteger = Shapes::IntegerShape.new(name: 'UnsignedInteger')
153
157
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
154
158
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
@@ -219,6 +223,7 @@ module Aws::States
219
223
  CreateStateMachineInput.add_member(:type, Shapes::ShapeRef.new(shape: StateMachineType, location_name: "type"))
220
224
  CreateStateMachineInput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
221
225
  CreateStateMachineInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
226
+ CreateStateMachineInput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
222
227
  CreateStateMachineInput.struct_class = Types::CreateStateMachineInput
223
228
 
224
229
  CreateStateMachineOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
@@ -256,6 +261,7 @@ module Aws::States
256
261
  DescribeExecutionOutput.add_member(:input_details, Shapes::ShapeRef.new(shape: CloudWatchEventsExecutionDataDetails, location_name: "inputDetails"))
257
262
  DescribeExecutionOutput.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
258
263
  DescribeExecutionOutput.add_member(:output_details, Shapes::ShapeRef.new(shape: CloudWatchEventsExecutionDataDetails, location_name: "outputDetails"))
264
+ DescribeExecutionOutput.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "traceHeader"))
259
265
  DescribeExecutionOutput.struct_class = Types::DescribeExecutionOutput
260
266
 
261
267
  DescribeStateMachineForExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
@@ -267,6 +273,7 @@ module Aws::States
267
273
  DescribeStateMachineForExecutionOutput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
268
274
  DescribeStateMachineForExecutionOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDate"))
269
275
  DescribeStateMachineForExecutionOutput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
276
+ DescribeStateMachineForExecutionOutput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
270
277
  DescribeStateMachineForExecutionOutput.struct_class = Types::DescribeStateMachineForExecutionOutput
271
278
 
272
279
  DescribeStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
@@ -280,6 +287,7 @@ module Aws::States
280
287
  DescribeStateMachineOutput.add_member(:type, Shapes::ShapeRef.new(shape: StateMachineType, required: true, location_name: "type"))
281
288
  DescribeStateMachineOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
282
289
  DescribeStateMachineOutput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
290
+ DescribeStateMachineOutput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
283
291
  DescribeStateMachineOutput.struct_class = Types::DescribeStateMachineOutput
284
292
 
285
293
  ExecutionAbortedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
@@ -405,6 +413,9 @@ module Aws::States
405
413
  InvalidToken.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
406
414
  InvalidToken.struct_class = Types::InvalidToken
407
415
 
416
+ InvalidTracingConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
417
+ InvalidTracingConfiguration.struct_class = Types::InvalidTracingConfiguration
418
+
408
419
  LambdaFunctionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
409
420
  LambdaFunctionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
410
421
  LambdaFunctionFailedEventDetails.struct_class = Types::LambdaFunctionFailedEventDetails
@@ -508,6 +519,7 @@ module Aws::States
508
519
  StartExecutionInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
509
520
  StartExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
510
521
  StartExecutionInput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
522
+ StartExecutionInput.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "traceHeader"))
511
523
  StartExecutionInput.struct_class = Types::StartExecutionInput
512
524
 
513
525
  StartExecutionOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
@@ -627,6 +639,9 @@ module Aws::States
627
639
  TooManyTags.add_member(:resource_name, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceName"))
628
640
  TooManyTags.struct_class = Types::TooManyTags
629
641
 
642
+ TracingConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "enabled"))
643
+ TracingConfiguration.struct_class = Types::TracingConfiguration
644
+
630
645
  UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
631
646
  UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
632
647
  UntagResourceInput.struct_class = Types::UntagResourceInput
@@ -637,6 +652,7 @@ module Aws::States
637
652
  UpdateStateMachineInput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, location_name: "definition"))
638
653
  UpdateStateMachineInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
639
654
  UpdateStateMachineInput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
655
+ UpdateStateMachineInput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
640
656
  UpdateStateMachineInput.struct_class = Types::UpdateStateMachineInput
641
657
 
642
658
  UpdateStateMachineOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDate"))
@@ -682,6 +698,7 @@ module Aws::States
682
698
  o.errors << Shapes::ShapeRef.new(shape: InvalidDefinition)
683
699
  o.errors << Shapes::ShapeRef.new(shape: InvalidName)
684
700
  o.errors << Shapes::ShapeRef.new(shape: InvalidLoggingConfiguration)
701
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTracingConfiguration)
685
702
  o.errors << Shapes::ShapeRef.new(shape: StateMachineAlreadyExists)
686
703
  o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
687
704
  o.errors << Shapes::ShapeRef.new(shape: StateMachineLimitExceeded)
@@ -922,6 +939,7 @@ module Aws::States
922
939
  o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
923
940
  o.errors << Shapes::ShapeRef.new(shape: InvalidDefinition)
924
941
  o.errors << Shapes::ShapeRef.new(shape: InvalidLoggingConfiguration)
942
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTracingConfiguration)
925
943
  o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameter)
926
944
  o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
927
945
  o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
@@ -40,6 +40,7 @@ module Aws::States
40
40
  # * {InvalidName}
41
41
  # * {InvalidOutput}
42
42
  # * {InvalidToken}
43
+ # * {InvalidTracingConfiguration}
43
44
  # * {MissingRequiredParameter}
44
45
  # * {ResourceNotFound}
45
46
  # * {StateMachineAlreadyExists}
@@ -252,6 +253,21 @@ module Aws::States
252
253
  end
253
254
  end
254
255
 
256
+ class InvalidTracingConfiguration < ServiceError
257
+
258
+ # @param [Seahorse::Client::RequestContext] context
259
+ # @param [String] message
260
+ # @param [Aws::States::Types::InvalidTracingConfiguration] data
261
+ def initialize(context, message, data = Aws::EmptyStructure.new)
262
+ super(context, message, data)
263
+ end
264
+
265
+ # @return [String]
266
+ def message
267
+ @message || @data[:message]
268
+ end
269
+ end
270
+
255
271
  class MissingRequiredParameter < ServiceError
256
272
 
257
273
  # @param [Seahorse::Client::RequestContext] context
@@ -221,12 +221,11 @@ module Aws::States
221
221
  include Aws::Structure
222
222
  end
223
223
 
224
- # Provides details about execution input.
224
+ # Provides details about execution input or output.
225
225
  #
226
226
  # @!attribute [rw] included
227
227
  # Indicates whether input or output was included in the response.
228
- # Always `true` for API calls, but may be `false` for CloudWatch
229
- # Events.
228
+ # Always `true` for API calls.
230
229
  # @return [Boolean]
231
230
  #
232
231
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CloudWatchEventsExecutionDataDetails AWS API Documentation
@@ -363,6 +362,9 @@ module Aws::States
363
362
  # value: "TagValue",
364
363
  # },
365
364
  # ],
365
+ # tracing_configuration: {
366
+ # enabled: false,
367
+ # },
366
368
  # }
367
369
  #
368
370
  # @!attribute [rw] name
@@ -434,6 +436,10 @@ module Aws::States
434
436
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
435
437
  # @return [Array<Types::Tag>]
436
438
  #
439
+ # @!attribute [rw] tracing_configuration
440
+ # Selects whether AWS X-Ray tracing is enabled.
441
+ # @return [Types::TracingConfiguration]
442
+ #
437
443
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineInput AWS API Documentation
438
444
  #
439
445
  class CreateStateMachineInput < Struct.new(
@@ -442,7 +448,8 @@ module Aws::States
442
448
  :role_arn,
443
449
  :type,
444
450
  :logging_configuration,
445
- :tags)
451
+ :tags,
452
+ :tracing_configuration)
446
453
  SENSITIVE = [:definition]
447
454
  include Aws::Structure
448
455
  end
@@ -632,7 +639,7 @@ module Aws::States
632
639
  # @return [String]
633
640
  #
634
641
  # @!attribute [rw] input_details
635
- # Provides details about execution input.
642
+ # Provides details about execution input or output.
636
643
  # @return [Types::CloudWatchEventsExecutionDataDetails]
637
644
  #
638
645
  # @!attribute [rw] output
@@ -646,9 +653,13 @@ module Aws::States
646
653
  # @return [String]
647
654
  #
648
655
  # @!attribute [rw] output_details
649
- # Provides details about execution input.
656
+ # Provides details about execution input or output.
650
657
  # @return [Types::CloudWatchEventsExecutionDataDetails]
651
658
  #
659
+ # @!attribute [rw] trace_header
660
+ # The AWS X-Ray trace header which was passed to the execution.
661
+ # @return [String]
662
+ #
652
663
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionOutput AWS API Documentation
653
664
  #
654
665
  class DescribeExecutionOutput < Struct.new(
@@ -661,7 +672,8 @@ module Aws::States
661
672
  :input,
662
673
  :input_details,
663
674
  :output,
664
- :output_details)
675
+ :output_details,
676
+ :trace_header)
665
677
  SENSITIVE = [:input, :output]
666
678
  include Aws::Structure
667
679
  end
@@ -720,6 +732,10 @@ module Aws::States
720
732
  # options.
721
733
  # @return [Types::LoggingConfiguration]
722
734
  #
735
+ # @!attribute [rw] tracing_configuration
736
+ # Selects whether AWS X-Ray tracing is enabled.
737
+ # @return [Types::TracingConfiguration]
738
+ #
723
739
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecutionOutput AWS API Documentation
724
740
  #
725
741
  class DescribeStateMachineForExecutionOutput < Struct.new(
@@ -728,7 +744,8 @@ module Aws::States
728
744
  :definition,
729
745
  :role_arn,
730
746
  :update_date,
731
- :logging_configuration)
747
+ :logging_configuration,
748
+ :tracing_configuration)
732
749
  SENSITIVE = [:definition]
733
750
  include Aws::Structure
734
751
  end
@@ -807,6 +824,10 @@ module Aws::States
807
824
  # options.
808
825
  # @return [Types::LoggingConfiguration]
809
826
  #
827
+ # @!attribute [rw] tracing_configuration
828
+ # Selects whether AWS X-Ray tracing is enabled.
829
+ # @return [Types::TracingConfiguration]
830
+ #
810
831
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineOutput AWS API Documentation
811
832
  #
812
833
  class DescribeStateMachineOutput < Struct.new(
@@ -817,7 +838,8 @@ module Aws::States
817
838
  :role_arn,
818
839
  :type,
819
840
  :creation_date,
820
- :logging_configuration)
841
+ :logging_configuration,
842
+ :tracing_configuration)
821
843
  SENSITIVE = [:definition]
822
844
  include Aws::Structure
823
845
  end
@@ -1353,12 +1375,11 @@ module Aws::States
1353
1375
  include Aws::Structure
1354
1376
  end
1355
1377
 
1356
- # Contains details about the data from an execution's events. Always
1357
- # `true` for API calls, but may be `false` for CloudWatch Logs.
1378
+ # Provides details about input or output in an execution history event.
1358
1379
  #
1359
1380
  # @!attribute [rw] truncated
1360
1381
  # Indicates whether input or output was truncated in the response.
1361
- # Always `false`.
1382
+ # Always `false` for API calls.
1362
1383
  # @return [Boolean]
1363
1384
  #
1364
1385
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/HistoryEventExecutionDataDetails AWS API Documentation
@@ -1458,6 +1479,20 @@ module Aws::States
1458
1479
  include Aws::Structure
1459
1480
  end
1460
1481
 
1482
+ # Your `tracingConfiguration` key does not match, or `enabled` has not
1483
+ # been set to `true` or `false`.
1484
+ #
1485
+ # @!attribute [rw] message
1486
+ # @return [String]
1487
+ #
1488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/InvalidTracingConfiguration AWS API Documentation
1489
+ #
1490
+ class InvalidTracingConfiguration < Struct.new(
1491
+ :message)
1492
+ SENSITIVE = []
1493
+ include Aws::Structure
1494
+ end
1495
+
1461
1496
  # Contains details about a lambda function that failed during an
1462
1497
  # execution.
1463
1498
  #
@@ -2060,6 +2095,7 @@ module Aws::States
2060
2095
  # state_machine_arn: "Arn", # required
2061
2096
  # name: "Name",
2062
2097
  # input: "SensitiveData",
2098
+ # trace_header: "TraceHeader",
2063
2099
  # }
2064
2100
  #
2065
2101
  # @!attribute [rw] state_machine_arn
@@ -2107,12 +2143,18 @@ module Aws::States
2107
2143
  # bytes in UTF-8 encoding.
2108
2144
  # @return [String]
2109
2145
  #
2146
+ # @!attribute [rw] trace_header
2147
+ # Passes the AWS X-Ray trace header. The trace header can also be
2148
+ # passed in the request payload.
2149
+ # @return [String]
2150
+ #
2110
2151
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecutionInput AWS API Documentation
2111
2152
  #
2112
2153
  class StartExecutionInput < Struct.new(
2113
2154
  :state_machine_arn,
2114
2155
  :name,
2115
- :input)
2156
+ :input,
2157
+ :trace_header)
2116
2158
  SENSITIVE = [:input]
2117
2159
  include Aws::Structure
2118
2160
  end
@@ -2715,6 +2757,28 @@ module Aws::States
2715
2757
  include Aws::Structure
2716
2758
  end
2717
2759
 
2760
+ # Selects whether or not the state machine's AWS X-Ray tracing is
2761
+ # enabled. Default is `false`
2762
+ #
2763
+ # @note When making an API call, you may pass TracingConfiguration
2764
+ # data as a hash:
2765
+ #
2766
+ # {
2767
+ # enabled: false,
2768
+ # }
2769
+ #
2770
+ # @!attribute [rw] enabled
2771
+ # When set to `true`, AWS X-Ray tracing is enabled.
2772
+ # @return [Boolean]
2773
+ #
2774
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TracingConfiguration AWS API Documentation
2775
+ #
2776
+ class TracingConfiguration < Struct.new(
2777
+ :enabled)
2778
+ SENSITIVE = []
2779
+ include Aws::Structure
2780
+ end
2781
+
2718
2782
  # @note When making an API call, you may pass UntagResourceInput
2719
2783
  # data as a hash:
2720
2784
  #
@@ -2763,6 +2827,9 @@ module Aws::States
2763
2827
  # },
2764
2828
  # ],
2765
2829
  # },
2830
+ # tracing_configuration: {
2831
+ # enabled: false,
2832
+ # },
2766
2833
  # }
2767
2834
  #
2768
2835
  # @!attribute [rw] state_machine_arn
@@ -2787,13 +2854,18 @@ module Aws::States
2787
2854
  # options.
2788
2855
  # @return [Types::LoggingConfiguration]
2789
2856
  #
2857
+ # @!attribute [rw] tracing_configuration
2858
+ # Selects whether AWS X-Ray tracing is enabled.
2859
+ # @return [Types::TracingConfiguration]
2860
+ #
2790
2861
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachineInput AWS API Documentation
2791
2862
  #
2792
2863
  class UpdateStateMachineInput < Struct.new(
2793
2864
  :state_machine_arn,
2794
2865
  :definition,
2795
2866
  :role_arn,
2796
- :logging_configuration)
2867
+ :logging_configuration,
2868
+ :tracing_configuration)
2797
2869
  SENSITIVE = [:definition]
2798
2870
  include Aws::Structure
2799
2871
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-states
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.33.0
4
+ version: 1.35.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: 2020-09-03 00:00:00.000000000 Z
11
+ date: 2020-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core