aws-sdk-connect 1.264.0 → 1.266.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +257 -55
- data/lib/aws-sdk-connect/client_api.rb +83 -0
- data/lib/aws-sdk-connect/types.rb +347 -54
- data/lib/aws-sdk-connect.rb +1 -1
- data/sig/client.rbs +41 -0
- data/sig/params.rbs +30 -0
- data/sig/types.rbs +57 -0
- metadata +1 -1
|
@@ -1670,14 +1670,24 @@ module Aws::Connect
|
|
|
1670
1670
|
Rule = Shapes::StructureShape.new(name: 'Rule')
|
|
1671
1671
|
RuleAction = Shapes::StructureShape.new(name: 'RuleAction')
|
|
1672
1672
|
RuleActions = Shapes::ListShape.new(name: 'RuleActions')
|
|
1673
|
+
RuleAttributeAndCondition = Shapes::StructureShape.new(name: 'RuleAttributeAndCondition')
|
|
1674
|
+
RuleAttributeFilter = Shapes::StructureShape.new(name: 'RuleAttributeFilter')
|
|
1675
|
+
RuleAttributeOrConditionList = Shapes::ListShape.new(name: 'RuleAttributeOrConditionList')
|
|
1676
|
+
RuleCapabilityTier = Shapes::StringShape.new(name: 'RuleCapabilityTier')
|
|
1677
|
+
RuleCapabilityTiers = Shapes::ListShape.new(name: 'RuleCapabilityTiers')
|
|
1673
1678
|
RuleFunction = Shapes::StringShape.new(name: 'RuleFunction')
|
|
1674
1679
|
RuleId = Shapes::StringShape.new(name: 'RuleId')
|
|
1675
1680
|
RuleName = Shapes::StringShape.new(name: 'RuleName')
|
|
1676
1681
|
RulePublishStatus = Shapes::StringShape.new(name: 'RulePublishStatus')
|
|
1682
|
+
RuleSearchSummary = Shapes::StructureShape.new(name: 'RuleSearchSummary')
|
|
1683
|
+
RuleSearchSummaryList = Shapes::ListShape.new(name: 'RuleSearchSummaryList')
|
|
1677
1684
|
RuleSummary = Shapes::StructureShape.new(name: 'RuleSummary')
|
|
1678
1685
|
RuleSummaryList = Shapes::ListShape.new(name: 'RuleSummaryList')
|
|
1679
1686
|
RuleTriggerEventSource = Shapes::StructureShape.new(name: 'RuleTriggerEventSource')
|
|
1680
1687
|
RulesConfiguration = Shapes::StructureShape.new(name: 'RulesConfiguration')
|
|
1688
|
+
RulesSearchConditionList = Shapes::ListShape.new(name: 'RulesSearchConditionList')
|
|
1689
|
+
RulesSearchCriteria = Shapes::StructureShape.new(name: 'RulesSearchCriteria')
|
|
1690
|
+
RulesSearchFilter = Shapes::StructureShape.new(name: 'RulesSearchFilter')
|
|
1681
1691
|
S3Config = Shapes::StructureShape.new(name: 'S3Config')
|
|
1682
1692
|
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
|
1683
1693
|
ScreenShareCapability = Shapes::StringShape.new(name: 'ScreenShareCapability')
|
|
@@ -1726,6 +1736,8 @@ module Aws::Connect
|
|
|
1726
1736
|
SearchResourceTagsResponse = Shapes::StructureShape.new(name: 'SearchResourceTagsResponse')
|
|
1727
1737
|
SearchRoutingProfilesRequest = Shapes::StructureShape.new(name: 'SearchRoutingProfilesRequest')
|
|
1728
1738
|
SearchRoutingProfilesResponse = Shapes::StructureShape.new(name: 'SearchRoutingProfilesResponse')
|
|
1739
|
+
SearchRulesRequest = Shapes::StructureShape.new(name: 'SearchRulesRequest')
|
|
1740
|
+
SearchRulesResponse = Shapes::StructureShape.new(name: 'SearchRulesResponse')
|
|
1729
1741
|
SearchSecurityProfilesRequest = Shapes::StructureShape.new(name: 'SearchSecurityProfilesRequest')
|
|
1730
1742
|
SearchSecurityProfilesResponse = Shapes::StructureShape.new(name: 'SearchSecurityProfilesResponse')
|
|
1731
1743
|
SearchTestCasesRequest = Shapes::StructureShape.new(name: 'SearchTestCasesRequest')
|
|
@@ -7658,6 +7670,7 @@ module Aws::Connect
|
|
|
7658
7670
|
Rule.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, required: true, location_name: "RuleId"))
|
|
7659
7671
|
Rule.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RuleArn"))
|
|
7660
7672
|
Rule.add_member(:trigger_event_source, Shapes::ShapeRef.new(shape: RuleTriggerEventSource, required: true, location_name: "TriggerEventSource"))
|
|
7673
|
+
Rule.add_member(:rule_capability_tiers, Shapes::ShapeRef.new(shape: RuleCapabilityTiers, location_name: "RuleCapabilityTiers"))
|
|
7661
7674
|
Rule.add_member(:function, Shapes::ShapeRef.new(shape: RuleFunction, required: true, location_name: "Function"))
|
|
7662
7675
|
Rule.add_member(:actions, Shapes::ShapeRef.new(shape: RuleActions, required: true, location_name: "Actions"))
|
|
7663
7676
|
Rule.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, required: true, location_name: "PublishStatus"))
|
|
@@ -7681,11 +7694,39 @@ module Aws::Connect
|
|
|
7681
7694
|
|
|
7682
7695
|
RuleActions.member = Shapes::ShapeRef.new(shape: RuleAction)
|
|
7683
7696
|
|
|
7697
|
+
RuleAttributeAndCondition.add_member(:tag_conditions, Shapes::ShapeRef.new(shape: TagAndConditionList, location_name: "TagConditions"))
|
|
7698
|
+
RuleAttributeAndCondition.struct_class = Types::RuleAttributeAndCondition
|
|
7699
|
+
|
|
7700
|
+
RuleAttributeFilter.add_member(:or_conditions, Shapes::ShapeRef.new(shape: RuleAttributeOrConditionList, location_name: "OrConditions"))
|
|
7701
|
+
RuleAttributeFilter.add_member(:and_condition, Shapes::ShapeRef.new(shape: RuleAttributeAndCondition, location_name: "AndCondition"))
|
|
7702
|
+
RuleAttributeFilter.add_member(:tag_condition, Shapes::ShapeRef.new(shape: TagCondition, location_name: "TagCondition"))
|
|
7703
|
+
RuleAttributeFilter.struct_class = Types::RuleAttributeFilter
|
|
7704
|
+
|
|
7705
|
+
RuleAttributeOrConditionList.member = Shapes::ShapeRef.new(shape: RuleAttributeAndCondition)
|
|
7706
|
+
|
|
7707
|
+
RuleCapabilityTiers.member = Shapes::ShapeRef.new(shape: RuleCapabilityTier)
|
|
7708
|
+
|
|
7709
|
+
RuleSearchSummary.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
|
|
7710
|
+
RuleSearchSummary.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, required: true, location_name: "RuleId"))
|
|
7711
|
+
RuleSearchSummary.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RuleArn"))
|
|
7712
|
+
RuleSearchSummary.add_member(:trigger_event_source, Shapes::ShapeRef.new(shape: RuleTriggerEventSource, required: true, location_name: "TriggerEventSource"))
|
|
7713
|
+
RuleSearchSummary.add_member(:action_summaries, Shapes::ShapeRef.new(shape: ActionSummaries, required: true, location_name: "ActionSummaries"))
|
|
7714
|
+
RuleSearchSummary.add_member(:rule_capability_tiers, Shapes::ShapeRef.new(shape: RuleCapabilityTiers, location_name: "RuleCapabilityTiers"))
|
|
7715
|
+
RuleSearchSummary.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, required: true, location_name: "PublishStatus"))
|
|
7716
|
+
RuleSearchSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTime"))
|
|
7717
|
+
RuleSearchSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdatedTime"))
|
|
7718
|
+
RuleSearchSummary.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "LastUpdatedBy"))
|
|
7719
|
+
RuleSearchSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
|
7720
|
+
RuleSearchSummary.struct_class = Types::RuleSearchSummary
|
|
7721
|
+
|
|
7722
|
+
RuleSearchSummaryList.member = Shapes::ShapeRef.new(shape: RuleSearchSummary)
|
|
7723
|
+
|
|
7684
7724
|
RuleSummary.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
|
|
7685
7725
|
RuleSummary.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, required: true, location_name: "RuleId"))
|
|
7686
7726
|
RuleSummary.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RuleArn"))
|
|
7687
7727
|
RuleSummary.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "EventSourceName"))
|
|
7688
7728
|
RuleSummary.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, required: true, location_name: "PublishStatus"))
|
|
7729
|
+
RuleSummary.add_member(:rule_capability_tiers, Shapes::ShapeRef.new(shape: RuleCapabilityTiers, location_name: "RuleCapabilityTiers"))
|
|
7689
7730
|
RuleSummary.add_member(:action_summaries, Shapes::ShapeRef.new(shape: ActionSummaries, required: true, location_name: "ActionSummaries"))
|
|
7690
7731
|
RuleSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTime"))
|
|
7691
7732
|
RuleSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdatedTime"))
|
|
@@ -7700,6 +7741,16 @@ module Aws::Connect
|
|
|
7700
7741
|
RulesConfiguration.add_member(:behavior, Shapes::ShapeRef.new(shape: Behavior, location_name: "Behavior"))
|
|
7701
7742
|
RulesConfiguration.struct_class = Types::RulesConfiguration
|
|
7702
7743
|
|
|
7744
|
+
RulesSearchConditionList.member = Shapes::ShapeRef.new(shape: RulesSearchCriteria)
|
|
7745
|
+
|
|
7746
|
+
RulesSearchCriteria.add_member(:or_conditions, Shapes::ShapeRef.new(shape: RulesSearchConditionList, location_name: "OrConditions"))
|
|
7747
|
+
RulesSearchCriteria.add_member(:and_conditions, Shapes::ShapeRef.new(shape: RulesSearchConditionList, location_name: "AndConditions"))
|
|
7748
|
+
RulesSearchCriteria.add_member(:string_condition, Shapes::ShapeRef.new(shape: StringCondition, location_name: "StringCondition"))
|
|
7749
|
+
RulesSearchCriteria.struct_class = Types::RulesSearchCriteria
|
|
7750
|
+
|
|
7751
|
+
RulesSearchFilter.add_member(:attribute_filter, Shapes::ShapeRef.new(shape: RuleAttributeFilter, location_name: "AttributeFilter"))
|
|
7752
|
+
RulesSearchFilter.struct_class = Types::RulesSearchFilter
|
|
7753
|
+
|
|
7703
7754
|
S3Config.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "BucketName"))
|
|
7704
7755
|
S3Config.add_member(:bucket_prefix, Shapes::ShapeRef.new(shape: Prefix, required: true, location_name: "BucketPrefix"))
|
|
7705
7756
|
S3Config.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
|
|
@@ -7956,6 +8007,18 @@ module Aws::Connect
|
|
|
7956
8007
|
SearchRoutingProfilesResponse.add_member(:approximate_total_count, Shapes::ShapeRef.new(shape: ApproximateTotalCount, location_name: "ApproximateTotalCount"))
|
|
7957
8008
|
SearchRoutingProfilesResponse.struct_class = Types::SearchRoutingProfilesResponse
|
|
7958
8009
|
|
|
8010
|
+
SearchRulesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
|
8011
|
+
SearchRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult200, location_name: "MaxResults", metadata: {"box" => true}))
|
|
8012
|
+
SearchRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
|
|
8013
|
+
SearchRulesRequest.add_member(:search_criteria, Shapes::ShapeRef.new(shape: RulesSearchCriteria, location_name: "SearchCriteria"))
|
|
8014
|
+
SearchRulesRequest.add_member(:search_filter, Shapes::ShapeRef.new(shape: RulesSearchFilter, location_name: "SearchFilter"))
|
|
8015
|
+
SearchRulesRequest.struct_class = Types::SearchRulesRequest
|
|
8016
|
+
|
|
8017
|
+
SearchRulesResponse.add_member(:rules, Shapes::ShapeRef.new(shape: RuleSearchSummaryList, required: true, location_name: "Rules"))
|
|
8018
|
+
SearchRulesResponse.add_member(:approximate_total_count, Shapes::ShapeRef.new(shape: ApproximateTotalCount, location_name: "ApproximateTotalCount"))
|
|
8019
|
+
SearchRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
|
|
8020
|
+
SearchRulesResponse.struct_class = Types::SearchRulesResponse
|
|
8021
|
+
|
|
7959
8022
|
SearchSecurityProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
|
7960
8023
|
SearchSecurityProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
|
|
7961
8024
|
SearchSecurityProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults", metadata: {"box" => true}))
|
|
@@ -14014,6 +14077,26 @@ module Aws::Connect
|
|
|
14014
14077
|
)
|
|
14015
14078
|
end)
|
|
14016
14079
|
|
|
14080
|
+
api.add_operation(:search_rules, Seahorse::Model::Operation.new.tap do |o|
|
|
14081
|
+
o.name = "SearchRules"
|
|
14082
|
+
o.http_method = "POST"
|
|
14083
|
+
o.http_request_uri = "/search-rules"
|
|
14084
|
+
o.input = Shapes::ShapeRef.new(shape: SearchRulesRequest)
|
|
14085
|
+
o.output = Shapes::ShapeRef.new(shape: SearchRulesResponse)
|
|
14086
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
14087
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
14088
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
|
14089
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
14090
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
14091
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
14092
|
+
o[:pager] = Aws::Pager.new(
|
|
14093
|
+
limit_key: "max_results",
|
|
14094
|
+
tokens: {
|
|
14095
|
+
"next_token" => "next_token"
|
|
14096
|
+
}
|
|
14097
|
+
)
|
|
14098
|
+
end)
|
|
14099
|
+
|
|
14017
14100
|
api.add_operation(:search_security_profiles, Seahorse::Model::Operation.new.tap do |o|
|
|
14018
14101
|
o.name = "SearchSecurityProfiles"
|
|
14019
14102
|
o.http_method = "POST"
|