aws-sdk-core 2.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +7 -0
- data/.simplecov +6 -0
- data/.travis.yml +12 -0
- data/.yardopts +11 -0
- data/Gemfile +26 -0
- data/LICENSE.txt +12 -0
- data/README.md +169 -0
- data/Rakefile +15 -0
- data/apis/AutoScaling-2011-01-01.json +1852 -0
- data/apis/CloudFormation-2010-05-15.json +981 -0
- data/apis/CloudFront-2012-05-05.json +3861 -0
- data/apis/CloudFront-2013-05-12.json +4593 -0
- data/apis/CloudFront-2013-08-26.json +4849 -0
- data/apis/CloudSearch-2011-02-01.json +2080 -0
- data/apis/CloudWatch-2010-08-01.json +1206 -0
- data/apis/DataPipeline-2012-10-29.json +901 -0
- data/apis/DirectConnect-2012-10-25.json +825 -0
- data/apis/DynamoDB-2011-12-05.json +2857 -0
- data/apis/DynamoDB-2012-08-10.json +3127 -0
- data/apis/EC2-2013-06-15.json +13600 -0
- data/apis/EC2-2013-10-01.json +14574 -0
- data/apis/EMR-2009-03-31.json +957 -0
- data/apis/ElastiCache-2012-11-15.json +2921 -0
- data/apis/ElastiCache-2013-06-15.json +3586 -0
- data/apis/ElasticBeanstalk-2010-12-01.json +2225 -0
- data/apis/ElasticLoadBalancing-2012-06-01.json +1215 -0
- data/apis/ElasticTranscoder-2012-09-25.json +3692 -0
- data/apis/Glacier-2012-06-01.json +1058 -0
- data/apis/IAM-2010-05-08.json +2863 -0
- data/apis/ImportExport-2010-06-01.json +328 -0
- data/apis/OpsWorks-2013-02-18.json +3546 -0
- data/apis/RDS-2013-01-10.json +6772 -0
- data/apis/RDS-2013-02-12.json +7151 -0
- data/apis/RDS-2013-05-15.json +7809 -0
- data/apis/Redshift-2012-12-01.json +4180 -0
- data/apis/Route53-2012-12-12.json +1018 -0
- data/apis/S3-2006-03-01.json +3787 -0
- data/apis/SDB-2009-04-15.json +539 -0
- data/apis/SES-2010-12-01.json +678 -0
- data/apis/SNS-2010-03-31.json +870 -0
- data/apis/SQS-2012-11-05.json +798 -0
- data/apis/STS-2011-06-15.json +352 -0
- data/apis/SWF-2012-01-25.json +5451 -0
- data/apis/StorageGateway-2012-06-30.json +1696 -0
- data/apis/Support-2013-04-15.json +794 -0
- data/apis/configuration/endpoints.json +1337 -0
- data/apis/source/autoscaling-2011-01-01.json +3215 -0
- data/apis/source/autoscaling-2011-01-01.paginators.json +52 -0
- data/apis/source/cloudformation-2010-05-15.json +1260 -0
- data/apis/source/cloudformation-2010-05-15.paginators.json +24 -0
- data/apis/source/cloudfront-2012-05-05.json +6588 -0
- data/apis/source/cloudfront-2012-05-05.paginators.json +28 -0
- data/apis/source/cloudfront-2013-05-12.json +7614 -0
- data/apis/source/cloudfront-2013-05-12.paginators.json +28 -0
- data/apis/source/cloudfront-2013-08-26.json +8016 -0
- data/apis/source/cloudfront-2013-08-26.paginators.json +28 -0
- data/apis/source/cloudsearch-2011-02-01.json +3585 -0
- data/apis/source/cloudsearch-2011-02-01.paginators.json +13 -0
- data/apis/source/datapipeline-2012-10-29.json +2144 -0
- data/apis/source/datapipeline-2012-10-29.paginators.json +25 -0
- data/apis/source/directconnect-2012-10-25.json +1271 -0
- data/apis/source/directconnect-2012-10-25.paginators.json +16 -0
- data/apis/source/dynamodb-2011-12-05.json +4380 -0
- data/apis/source/dynamodb-2011-12-05.paginators.json +24 -0
- data/apis/source/dynamodb-2012-08-10.json +4839 -0
- data/apis/source/dynamodb-2012-08-10.paginators.json +24 -0
- data/apis/source/ec2-2013-02-01.json +18820 -0
- data/apis/source/ec2-2013-02-01.paginators.json +115 -0
- data/apis/source/ec2-2013-06-15.json +18820 -0
- data/apis/source/ec2-2013-06-15.paginators.json +115 -0
- data/apis/source/ec2-2013-10-01.json +19885 -0
- data/apis/source/ec2-2013-10-01.paginators.json +115 -0
- data/apis/source/elasticache-2012-11-15.json +4403 -0
- data/apis/source/elasticache-2012-11-15.paginators.json +64 -0
- data/apis/source/elasticache-2013-06-15.json +5421 -0
- data/apis/source/elasticache-2013-06-15.paginators.json +64 -0
- data/apis/source/elasticbeanstalk-2010-12-01.json +3151 -0
- data/apis/source/elasticbeanstalk-2010-12-01.paginators.json +25 -0
- data/apis/source/elasticloadbalancing-2012-06-01.json +2041 -0
- data/apis/source/elasticloadbalancing-2012-06-01.paginators.json +18 -0
- data/apis/source/elasticmapreduce-2009-03-31.json +1478 -0
- data/apis/source/elasticmapreduce-2009-03-31.paginators.json +7 -0
- data/apis/source/elastictranscoder-2012-09-25.json +6148 -0
- data/apis/source/elastictranscoder-2012-09-25.paginators.json +20 -0
- data/apis/source/email-2010-12-01.json +892 -0
- data/apis/source/email-2010-12-01.paginators.json +13 -0
- data/apis/source/glacier-2012-06-01.json +3147 -0
- data/apis/source/glacier-2012-06-01.paginators.json +28 -0
- data/apis/source/iam-2010-05-08.json +5857 -0
- data/apis/source/iam-2010-05-08.paginators.json +116 -0
- data/apis/source/importexport-2010-06-01.json +876 -0
- data/apis/source/importexport-2010-06-01.paginators.json +10 -0
- data/apis/source/monitoring-2010-08-01.json +1910 -0
- data/apis/source/monitoring-2010-08-01.paginators.json +24 -0
- data/apis/source/opsworks-2013-02-18.json +5848 -0
- data/apis/source/opsworks-2013-02-18.paginators.json +46 -0
- data/apis/source/rds-2013-01-10.json +9283 -0
- data/apis/source/rds-2013-01-10.paginators.json +105 -0
- data/apis/source/rds-2013-02-12.json +9777 -0
- data/apis/source/rds-2013-02-12.paginators.json +105 -0
- data/apis/source/rds-2013-05-15.json +10618 -0
- data/apis/source/rds-2013-05-15.paginators.json +105 -0
- data/apis/source/redshift-2012-12-01.json +5742 -0
- data/apis/source/redshift-2012-12-01.paginators.json +74 -0
- data/apis/source/route53-2012-12-12.json +2067 -0
- data/apis/source/route53-2012-12-12.paginators.json +33 -0
- data/apis/source/s3-2006-03-01.json +4261 -0
- data/apis/source/s3-2006-03-01.paginators.json +46 -0
- data/apis/source/sdb-2009-04-15.json +1145 -0
- data/apis/source/sdb-2009-04-15.paginators.json +15 -0
- data/apis/source/sns-2010-03-31.json +2234 -0
- data/apis/source/sns-2010-03-31.paginators.json +19 -0
- data/apis/source/sqs-2012-11-05.json +1162 -0
- data/apis/source/sqs-2012-11-05.paginators.json +7 -0
- data/apis/source/storagegateway-2012-06-30.json +9487 -0
- data/apis/source/storagegateway-2012-06-30.paginators.json +28 -0
- data/apis/source/sts-2011-06-15.json +627 -0
- data/apis/source/support-2013-04-15.json +1261 -0
- data/apis/source/support-2013-04-15.paginators.json +31 -0
- data/apis/source/swf-2012-01-25.json +8744 -0
- data/apis/source/swf-2012-01-25.paginators.json +46 -0
- data/aws-sdk-core.gemspec +21 -0
- data/bin/aws.rb +156 -0
- data/doc-src/images/lastnode.png +0 -0
- data/doc-src/images/node.png +0 -0
- data/doc-src/images/vline.png +0 -0
- data/doc-src/plugins/apis.rb +205 -0
- data/doc-src/templates/default/fulldoc/html/css/common.css +90 -0
- data/doc-src/templates/default/fulldoc/html/js/tabs.js +21 -0
- data/doc-src/templates/default/fulldoc/html/setup.rb +61 -0
- data/doc-src/templates/default/layout/html/footer.erb +29 -0
- data/doc-src/templates/default/layout/html/setup.rb +3 -0
- data/features/autoscaling/client.feature +22 -0
- data/features/autoscaling/setup.rb +6 -0
- data/features/cloudformation/client.feature +18 -0
- data/features/cloudformation/setup.rb +6 -0
- data/features/cloudfront/client.feature +21 -0
- data/features/cloudfront/setup.rb +6 -0
- data/features/cloudsearch/client.feature +18 -0
- data/features/cloudsearch/setup.rb +6 -0
- data/features/cloudwatch/client.feature +21 -0
- data/features/cloudwatch/setup.rb +6 -0
- data/features/common/step_definitions.rb +65 -0
- data/features/datapipeline/client.feature +18 -0
- data/features/datapipeline/setup.rb +6 -0
- data/features/directconnect/client.feature +18 -0
- data/features/directconnect/setup.rb +6 -0
- data/features/dynamodb/client.feature +21 -0
- data/features/dynamodb/setup.rb +8 -0
- data/features/dynamodb/simplified.feature +32 -0
- data/features/dynamodb/step_definitions.rb +3 -0
- data/features/ec2/client.feature +21 -0
- data/features/ec2/setup.rb +6 -0
- data/features/ec2/step_definitions.rb +19 -0
- data/features/elasticache/client.feature +18 -0
- data/features/elasticache/setup.rb +6 -0
- data/features/elasticbeanstalk/client.feature +18 -0
- data/features/elasticbeanstalk/setup.rb +6 -0
- data/features/elasticloadbalancing/client.feature +18 -0
- data/features/elasticloadbalancing/setup.rb +6 -0
- data/features/elastictranscoder/client.feature +18 -0
- data/features/elastictranscoder/setup.rb +6 -0
- data/features/emr/client.feature +18 -0
- data/features/emr/setup.rb +6 -0
- data/features/env.rb +23 -0
- data/features/glacier/client.feature +28 -0
- data/features/glacier/setup.rb +16 -0
- data/features/glacier/step_definitions.rb +25 -0
- data/features/iam/client.feature +18 -0
- data/features/iam/setup.rb +6 -0
- data/features/importexport/client.feature +18 -0
- data/features/importexport/setup.rb +6 -0
- data/features/opsworks/client.feature +18 -0
- data/features/opsworks/setup.rb +6 -0
- data/features/rds/client.feature +18 -0
- data/features/rds/setup.rb +6 -0
- data/features/redshift/client.feature +18 -0
- data/features/redshift/setup.rb +6 -0
- data/features/route53/client.feature +18 -0
- data/features/route53/setup.rb +6 -0
- data/features/s3/buckets.feature +22 -0
- data/features/s3/objects.feature +18 -0
- data/features/s3/setup.rb +17 -0
- data/features/s3/step_definitions.rb +66 -0
- data/features/s3/test.png +0 -0
- data/features/sdb/client.feature +18 -0
- data/features/sdb/setup.rb +6 -0
- data/features/ses/client.feature +18 -0
- data/features/ses/setup.rb +6 -0
- data/features/sns/client.feature +18 -0
- data/features/sns/setup.rb +6 -0
- data/features/sqs/client.feature +23 -0
- data/features/sqs/setup.rb +10 -0
- data/features/sqs/step_definitions.rb +18 -0
- data/features/storagegateway/client.feature +18 -0
- data/features/storagegateway/setup.rb +6 -0
- data/features/sts/client.feature +18 -0
- data/features/sts/setup.rb +6 -0
- data/features/swf/client.feature +21 -0
- data/features/swf/setup.rb +6 -0
- data/integration-test-config.json.sample +3 -0
- data/lib/aws-sdk-core.rb +11 -0
- data/lib/aws.rb +175 -0
- data/lib/aws/api/base_translator.rb +72 -0
- data/lib/aws/api/doc_example.rb +116 -0
- data/lib/aws/api/documentor.rb +140 -0
- data/lib/aws/api/operation_translator.rb +77 -0
- data/lib/aws/api/service_namer.rb +40 -0
- data/lib/aws/api/service_translators/cloud_front.rb +19 -0
- data/lib/aws/api/service_translators/dynamo_db.rb +7 -0
- data/lib/aws/api/service_translators/glacier.rb +37 -0
- data/lib/aws/api/service_translators/import_export.rb +15 -0
- data/lib/aws/api/service_translators/route53.rb +23 -0
- data/lib/aws/api/service_translators/s3.rb +11 -0
- data/lib/aws/api/service_translators/sqs.rb +10 -0
- data/lib/aws/api/service_translators/swf.rb +7 -0
- data/lib/aws/api/shape_translator.rb +96 -0
- data/lib/aws/api/translator.rb +150 -0
- data/lib/aws/api/visitor.rb +32 -0
- data/lib/aws/credentials.rb +35 -0
- data/lib/aws/error_handler.rb +48 -0
- data/lib/aws/errors.rb +83 -0
- data/lib/aws/json/builder.rb +77 -0
- data/lib/aws/json/error_parser.rb +20 -0
- data/lib/aws/json/parser.rb +67 -0
- data/lib/aws/json/serializer.rb +15 -0
- data/lib/aws/plugins/credentials.rb +48 -0
- data/lib/aws/plugins/dynamodb_extended_retries.rb +22 -0
- data/lib/aws/plugins/glacier_api_version.rb +19 -0
- data/lib/aws/plugins/glacier_checksums.rb +100 -0
- data/lib/aws/plugins/global_configuration.rb +79 -0
- data/lib/aws/plugins/json_protocol.rb +30 -0
- data/lib/aws/plugins/json_rpc_headers.rb +34 -0
- data/lib/aws/plugins/query_protocol.rb +11 -0
- data/lib/aws/plugins/regional_endpoint.rb +37 -0
- data/lib/aws/plugins/retry_errors.rb +149 -0
- data/lib/aws/plugins/s3_bucket_dns.rb +78 -0
- data/lib/aws/plugins/s3_complete_multipart_upload_fix.rb +38 -0
- data/lib/aws/plugins/s3_get_bucket_location_fix.rb +21 -0
- data/lib/aws/plugins/s3_md5s.rb +61 -0
- data/lib/aws/plugins/s3_redirects.rb +38 -0
- data/lib/aws/plugins/s3_regional_endpoint.rb +19 -0
- data/lib/aws/plugins/s3_signer.rb +9 -0
- data/lib/aws/plugins/signature_v2.rb +9 -0
- data/lib/aws/plugins/signature_v3.rb +9 -0
- data/lib/aws/plugins/signature_v4.rb +29 -0
- data/lib/aws/plugins/sqs_queue_urls.rb +33 -0
- data/lib/aws/plugins/swf_read_timeouts.rb +23 -0
- data/lib/aws/plugins/user_agent.rb +32 -0
- data/lib/aws/plugins/xml_protocol.rb +11 -0
- data/lib/aws/query/builder.rb +102 -0
- data/lib/aws/query/param.rb +43 -0
- data/lib/aws/query/param_list.rb +91 -0
- data/lib/aws/query/serializer.rb +24 -0
- data/lib/aws/request_handler.rb +39 -0
- data/lib/aws/response_handler.rb +38 -0
- data/lib/aws/service.rb +237 -0
- data/lib/aws/signers/base.rb +29 -0
- data/lib/aws/signers/handler.rb +18 -0
- data/lib/aws/signers/s3.rb +162 -0
- data/lib/aws/signers/v2.rb +48 -0
- data/lib/aws/signers/v3.rb +34 -0
- data/lib/aws/signers/v4.rb +142 -0
- data/lib/aws/structure.rb +38 -0
- data/lib/aws/timestamp_formatter.rb +16 -0
- data/lib/aws/util.rb +38 -0
- data/lib/aws/version.rb +3 -0
- data/lib/aws/xml/builder.rb +134 -0
- data/lib/aws/xml/error_parser.rb +24 -0
- data/lib/aws/xml/parser.rb +147 -0
- data/lib/aws/xml/serializer.rb +16 -0
- data/spec/aws/credentials_spec.rb +39 -0
- data/spec/aws/iam_spec.rb +17 -0
- data/spec/aws/json/builder_spec.rb +183 -0
- data/spec/aws/json/parser_spec.rb +238 -0
- data/spec/aws/operations_spec.rb +145 -0
- data/spec/aws/plugins/credentials_spec.rb +76 -0
- data/spec/aws/plugins/global_configuration_spec.rb +56 -0
- data/spec/aws/plugins/region_endpoint_spec.rb +77 -0
- data/spec/aws/plugins/retry_errors_spec.rb +253 -0
- data/spec/aws/query/builder_spec.rb +361 -0
- data/spec/aws/query/param_list_spec.rb +80 -0
- data/spec/aws/query/param_spec.rb +59 -0
- data/spec/aws/service_spec.rb +247 -0
- data/spec/aws/signers/v4_spec.rb +141 -0
- data/spec/aws/structure_spec.rb +103 -0
- data/spec/aws/xml/builder_spec.rb +404 -0
- data/spec/aws/xml/parser_spec.rb +716 -0
- data/spec/aws_spec.rb +89 -0
- data/spec/fixtures/api/swf.json +100 -0
- data/spec/fixtures/operations/cloudfront/list_distributions.yml +195 -0
- data/spec/fixtures/operations/cloudfront/max_items.yml +12 -0
- data/spec/fixtures/operations/dynamodb/error_parsing.yml +13 -0
- data/spec/fixtures/operations/glacier/error_parsing.yml +10 -0
- data/spec/fixtures/operations/glacier/list_vaults.yml +24 -0
- data/spec/fixtures/operations/iam/result_wrapped_elements.yml +31 -0
- data/spec/fixtures/operations/s3/304_response.yml +12 -0
- data/spec/fixtures/operations/s3/400_response.yml +12 -0
- data/spec/fixtures/operations/s3/403_response.yml +12 -0
- data/spec/fixtures/operations/s3/404_response.yml +12 -0
- data/spec/fixtures/operations/s3/comlete_multipart_upload_error.yml +18 -0
- data/spec/fixtures/operations/s3/create_bucket_with_location_constraint.yml +25 -0
- data/spec/fixtures/operations/s3/create_bucket_without_location_constraint.yml +9 -0
- data/spec/fixtures/operations/s3/delete_objects.yml +54 -0
- data/spec/fixtures/operations/s3/error_parsing.yml +17 -0
- data/spec/fixtures/operations/s3/get_bucket_location.yml +17 -0
- data/spec/fixtures/operations/s3/get_bucket_location_classic.yml +17 -0
- data/spec/fixtures/operations/s3/head_bucket_with_dns_incompatible_name.yml +12 -0
- data/spec/fixtures/operations/s3/head_object.yml +50 -0
- data/spec/fixtures/operations/s3/list_buckets.yml +41 -0
- data/spec/fixtures/operations/s3/md5_checksum_disabled.yml +10 -0
- data/spec/fixtures/operations/s3/md5_checksum_enabled.yml +8 -0
- data/spec/fixtures/operations/swf/list_domains.yml +20 -0
- data/spec/spec_helper.rb +55 -0
- data/tasks/apis.rake +51 -0
- data/tasks/docs.rake +59 -0
- data/tasks/test.rake +39 -0
- data/vendor/seahorse/.gitignore +5 -0
- data/vendor/seahorse/.simplecov +4 -0
- data/vendor/seahorse/.yardopts +10 -0
- data/vendor/seahorse/Gemfile +20 -0
- data/vendor/seahorse/LICENSE.txt +12 -0
- data/vendor/seahorse/README.md +129 -0
- data/vendor/seahorse/Rakefile +7 -0
- data/vendor/seahorse/ca-bundle.crt +3554 -0
- data/vendor/seahorse/lib/seahorse.rb +6 -0
- data/vendor/seahorse/lib/seahorse/client.rb +61 -0
- data/vendor/seahorse/lib/seahorse/client/base.rb +239 -0
- data/vendor/seahorse/lib/seahorse/client/block_io.rb +39 -0
- data/vendor/seahorse/lib/seahorse/client/configuration.rb +197 -0
- data/vendor/seahorse/lib/seahorse/client/handler.rb +26 -0
- data/vendor/seahorse/lib/seahorse/client/handler_builder.rb +49 -0
- data/vendor/seahorse/lib/seahorse/client/handler_list.rb +250 -0
- data/vendor/seahorse/lib/seahorse/client/http/endpoint.rb +95 -0
- data/vendor/seahorse/lib/seahorse/client/http/headers.rb +94 -0
- data/vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb +11 -0
- data/vendor/seahorse/lib/seahorse/client/http/request.rb +78 -0
- data/vendor/seahorse/lib/seahorse/client/http/response.rb +45 -0
- data/vendor/seahorse/lib/seahorse/client/logging/formatter.rb +319 -0
- data/vendor/seahorse/lib/seahorse/client/logging/handler.rb +35 -0
- data/vendor/seahorse/lib/seahorse/client/net_http/connection_pool.rb +339 -0
- data/vendor/seahorse/lib/seahorse/client/net_http/handler.rb +109 -0
- data/vendor/seahorse/lib/seahorse/client/param_converter.rb +202 -0
- data/vendor/seahorse/lib/seahorse/client/param_validator.rb +139 -0
- data/vendor/seahorse/lib/seahorse/client/plugin.rb +80 -0
- data/vendor/seahorse/lib/seahorse/client/plugin_list.rb +142 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/api.rb +11 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/content_length.rb +22 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/endpoint.rb +36 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/json_simple.rb +34 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/logging.rb +37 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/net_http.rb +26 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/operation_methods.rb +48 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/param_conversion.rb +29 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/param_validation.rb +30 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/raise_response_errors.rb +29 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/restful_bindings.rb +205 -0
- data/vendor/seahorse/lib/seahorse/client/request.rb +62 -0
- data/vendor/seahorse/lib/seahorse/client/request_context.rb +68 -0
- data/vendor/seahorse/lib/seahorse/client/response.rb +106 -0
- data/vendor/seahorse/lib/seahorse/client/xml/builder.rb +92 -0
- data/vendor/seahorse/lib/seahorse/model.rb +38 -0
- data/vendor/seahorse/lib/seahorse/model/api.rb +39 -0
- data/vendor/seahorse/lib/seahorse/model/node.rb +102 -0
- data/vendor/seahorse/lib/seahorse/model/operation.rb +32 -0
- data/vendor/seahorse/lib/seahorse/model/operation_input.rb +30 -0
- data/vendor/seahorse/lib/seahorse/model/operations.rb +59 -0
- data/vendor/seahorse/lib/seahorse/model/property.rb +141 -0
- data/vendor/seahorse/lib/seahorse/model/shapes/shape.rb +229 -0
- data/vendor/seahorse/lib/seahorse/model/types.rb +8 -0
- data/vendor/seahorse/lib/seahorse/version.rb +3 -0
- data/vendor/seahorse/seahorse.gemspec +20 -0
- data/vendor/seahorse/spec/fixtures/plugin.rb +4 -0
- data/vendor/seahorse/spec/seahorse/client/base_spec.rb +308 -0
- data/vendor/seahorse/spec/seahorse/client/configuration_spec.rb +118 -0
- data/vendor/seahorse/spec/seahorse/client/handler_builder_spec.rb +159 -0
- data/vendor/seahorse/spec/seahorse/client/handler_list_spec.rb +243 -0
- data/vendor/seahorse/spec/seahorse/client/handler_spec.rb +40 -0
- data/vendor/seahorse/spec/seahorse/client/http/endpoint_spec.rb +168 -0
- data/vendor/seahorse/spec/seahorse/client/http/headers_spec.rb +213 -0
- data/vendor/seahorse/spec/seahorse/client/http/plain_string_io_spec.rb +23 -0
- data/vendor/seahorse/spec/seahorse/client/http/request_spec.rb +142 -0
- data/vendor/seahorse/spec/seahorse/client/http/response_spec.rb +77 -0
- data/vendor/seahorse/spec/seahorse/client/logging/formatter_spec.rb +197 -0
- data/vendor/seahorse/spec/seahorse/client/logging/handler_spec.rb +63 -0
- data/vendor/seahorse/spec/seahorse/client/net_http/connection_pool_spec.rb +10 -0
- data/vendor/seahorse/spec/seahorse/client/net_http/handler_spec.rb +232 -0
- data/vendor/seahorse/spec/seahorse/client/param_converter_spec.rb +318 -0
- data/vendor/seahorse/spec/seahorse/client/param_validator_spec.rb +271 -0
- data/vendor/seahorse/spec/seahorse/client/plugin_list_spec.rb +166 -0
- data/vendor/seahorse/spec/seahorse/client/plugin_spec.rb +118 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/content_length_spec.rb +19 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/endpoint_spec.rb +43 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/logging_spec.rb +46 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/net_http_spec.rb +71 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/operation_methods_spec.rb +74 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/restful_bindings/uri_path_builder_spec.rb +91 -0
- data/vendor/seahorse/spec/seahorse/client/request_context_spec.rb +105 -0
- data/vendor/seahorse/spec/seahorse/client/request_spec.rb +102 -0
- data/vendor/seahorse/spec/seahorse/client/response_spec.rb +171 -0
- data/vendor/seahorse/spec/seahorse/client/xml/builder/xml_doc_spec.rb +142 -0
- data/vendor/seahorse/spec/seahorse/client/xml/builder_spec.rb +10 -0
- data/vendor/seahorse/spec/seahorse/client_spec.rb +13 -0
- data/vendor/seahorse/spec/seahorse/model/api_spec.rb +72 -0
- data/vendor/seahorse/spec/seahorse/model/node_spec.rb +114 -0
- data/vendor/seahorse/spec/seahorse/model/operation_input_spec.rb +53 -0
- data/vendor/seahorse/spec/seahorse/model/operation_spec.rb +48 -0
- data/vendor/seahorse/spec/seahorse/model/operations_spec.rb +64 -0
- data/vendor/seahorse/spec/seahorse/model/property_spec.rb +136 -0
- data/vendor/seahorse/spec/seahorse/model/shapes/shape_spec.rb +105 -0
- data/vendor/seahorse/spec/seahorse/version_spec.rb +11 -0
- data/vendor/seahorse/spec/spec_helper.rb +34 -0
- data/vendor/seahorse/tasks/ca_bundle.rake +23 -0
- data/vendor/seahorse/tasks/docs.rake +11 -0
- data/vendor/seahorse/tasks/test.rake +26 -0
- metadata +614 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"pagination": {
|
3
|
+
"ListCloudFrontOriginAccessIdentities": {
|
4
|
+
"input_token": "Marker",
|
5
|
+
"output_token": "NextMarker",
|
6
|
+
"more_results": "IsTruncated",
|
7
|
+
"result_key": "Items"
|
8
|
+
},
|
9
|
+
"ListDistributions": {
|
10
|
+
"input_token": "Marker",
|
11
|
+
"output_token": "NextMarker",
|
12
|
+
"more_results": "IsTruncated",
|
13
|
+
"result_key": "Items"
|
14
|
+
},
|
15
|
+
"ListInvalidations": {
|
16
|
+
"input_token": "Marker",
|
17
|
+
"output_token": "NextMarker",
|
18
|
+
"more_results": "IsTruncated",
|
19
|
+
"result_key": "Items"
|
20
|
+
},
|
21
|
+
"ListStreamingDistributions": {
|
22
|
+
"input_token": "Marker",
|
23
|
+
"output_token": "NextMarker",
|
24
|
+
"more_results": "IsTruncated",
|
25
|
+
"result_key": "Items"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,3585 @@
|
|
1
|
+
{
|
2
|
+
"api_version": "2011-02-01",
|
3
|
+
"type": "query",
|
4
|
+
"result_wrapped": true,
|
5
|
+
"signature_version": "v4",
|
6
|
+
"service_full_name": "Amazon CloudSearch",
|
7
|
+
"endpoint_prefix": "cloudsearch",
|
8
|
+
"xmlnamespace": "http://cloudsearch.amazonaws.com/doc/2011-02-01",
|
9
|
+
"documentation": "\n <fullname>Amazon CloudSearch Configuration Service</fullname>\n <p>You use the Configuration Service to create, configure, and manage search domains. \n Amazon CloudSearch configuration requests are submitted to <code>cloudsearch.us-east-1.amazonaws.com</code>\n using the AWS Query protocol. </p>\n ",
|
10
|
+
"operations": {
|
11
|
+
"CreateDomain": {
|
12
|
+
"name": "CreateDomain",
|
13
|
+
"input": {
|
14
|
+
"shape_name": "CreateDomainRequest",
|
15
|
+
"type": "structure",
|
16
|
+
"members": {
|
17
|
+
"DomainName": {
|
18
|
+
"shape_name": "DomainName",
|
19
|
+
"type": "string",
|
20
|
+
"min_length": 3,
|
21
|
+
"max_length": 28,
|
22
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
23
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
24
|
+
"required": true
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"documentation": null
|
28
|
+
},
|
29
|
+
"output": {
|
30
|
+
"shape_name": "CreateDomainResponse",
|
31
|
+
"type": "structure",
|
32
|
+
"members": {
|
33
|
+
"DomainStatus": {
|
34
|
+
"shape_name": "DomainStatus",
|
35
|
+
"type": "structure",
|
36
|
+
"members": {
|
37
|
+
"DomainId": {
|
38
|
+
"shape_name": "DomainId",
|
39
|
+
"type": "string",
|
40
|
+
"min_length": 1,
|
41
|
+
"max_length": 64,
|
42
|
+
"documentation": "\n <p>An internally generated unique identifier for a domain.</p>\n ",
|
43
|
+
"required": true
|
44
|
+
},
|
45
|
+
"DomainName": {
|
46
|
+
"shape_name": "DomainName",
|
47
|
+
"type": "string",
|
48
|
+
"min_length": 3,
|
49
|
+
"max_length": 28,
|
50
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
51
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
52
|
+
"required": true
|
53
|
+
},
|
54
|
+
"Created": {
|
55
|
+
"shape_name": "Boolean",
|
56
|
+
"type": "boolean",
|
57
|
+
"documentation": "\n <p>True if the search domain is created. It can take several minutes to initialize a domain when <a>CreateDomain</a> is called. Newly created search domains are returned from <a>DescribeDomains</a> with a false value for Created until domain creation is complete.</p>\n "
|
58
|
+
},
|
59
|
+
"Deleted": {
|
60
|
+
"shape_name": "Boolean",
|
61
|
+
"type": "boolean",
|
62
|
+
"documentation": "\n <p>True if the search domain has been deleted. The system must clean up resources dedicated to the search domain when <a>DeleteDomain</a> is called. Newly deleted search domains are returned from <a>DescribeDomains</a> with a true value for IsDeleted for several minutes until resource cleanup is complete.</p>\n "
|
63
|
+
},
|
64
|
+
"NumSearchableDocs": {
|
65
|
+
"shape_name": "UIntValue",
|
66
|
+
"type": "integer",
|
67
|
+
"min_length": 0,
|
68
|
+
"documentation": "\n <p>The number of documents that have been submitted to the domain and indexed.</p>\n "
|
69
|
+
},
|
70
|
+
"DocService": {
|
71
|
+
"shape_name": "ServiceEndpoint",
|
72
|
+
"type": "structure",
|
73
|
+
"members": {
|
74
|
+
"Arn": {
|
75
|
+
"shape_name": "Arn",
|
76
|
+
"type": "string",
|
77
|
+
"documentation": "\n <p>An Amazon Resource Name (ARN). See <a href=\"http://docs.amazonwebservices.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html\" target=\"_blank\">Identifiers for IAM Entities</a> in <i>Using AWS Identity and Access Management</i> for more information.</p>\n "
|
78
|
+
},
|
79
|
+
"Endpoint": {
|
80
|
+
"shape_name": "ServiceUrl",
|
81
|
+
"type": "string",
|
82
|
+
"documentation": "\n <p>The URL (including /version/pathPrefix) to which service requests can be submitted.</p>\n "
|
83
|
+
}
|
84
|
+
},
|
85
|
+
"documentation": "\n <p>The service endpoint for updating documents in a search domain.</p>\n "
|
86
|
+
},
|
87
|
+
"SearchService": {
|
88
|
+
"shape_name": "ServiceEndpoint",
|
89
|
+
"type": "structure",
|
90
|
+
"members": {
|
91
|
+
"Arn": {
|
92
|
+
"shape_name": "Arn",
|
93
|
+
"type": "string",
|
94
|
+
"documentation": "\n <p>An Amazon Resource Name (ARN). See <a href=\"http://docs.amazonwebservices.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html\" target=\"_blank\">Identifiers for IAM Entities</a> in <i>Using AWS Identity and Access Management</i> for more information.</p>\n "
|
95
|
+
},
|
96
|
+
"Endpoint": {
|
97
|
+
"shape_name": "ServiceUrl",
|
98
|
+
"type": "string",
|
99
|
+
"documentation": "\n <p>The URL (including /version/pathPrefix) to which service requests can be submitted.</p>\n "
|
100
|
+
}
|
101
|
+
},
|
102
|
+
"documentation": "\n <p>The service endpoint for requesting search results from a search domain.</p>\n "
|
103
|
+
},
|
104
|
+
"RequiresIndexDocuments": {
|
105
|
+
"shape_name": "Boolean",
|
106
|
+
"type": "boolean",
|
107
|
+
"documentation": "\n <p>True if <a>IndexDocuments</a> needs to be called to activate the current domain configuration.</p>\n ",
|
108
|
+
"required": true
|
109
|
+
},
|
110
|
+
"Processing": {
|
111
|
+
"shape_name": "Boolean",
|
112
|
+
"type": "boolean",
|
113
|
+
"documentation": "\n <p>True if processing is being done to activate the current domain configuration.</p>\n "
|
114
|
+
},
|
115
|
+
"SearchInstanceType": {
|
116
|
+
"shape_name": "SearchInstanceType",
|
117
|
+
"type": "string",
|
118
|
+
"documentation": "\n <p>The instance type (such as search.m1.small) that is being used to process search requests.</p>\n "
|
119
|
+
},
|
120
|
+
"SearchPartitionCount": {
|
121
|
+
"shape_name": "PartitionCount",
|
122
|
+
"type": "integer",
|
123
|
+
"min_length": 1,
|
124
|
+
"documentation": "\n <p>The number of partitions across which the search index is spread.</p>\n "
|
125
|
+
},
|
126
|
+
"SearchInstanceCount": {
|
127
|
+
"shape_name": "InstanceCount",
|
128
|
+
"type": "integer",
|
129
|
+
"min_length": 1,
|
130
|
+
"documentation": "\n <p>The number of search instances that are available to process search requests.</p>\n "
|
131
|
+
}
|
132
|
+
},
|
133
|
+
"documentation": "\n <p>The current status of the search domain.</p>\n "
|
134
|
+
}
|
135
|
+
},
|
136
|
+
"documentation": "\n <p>A response message that contains the status of a newly created domain.</p>\n "
|
137
|
+
},
|
138
|
+
"errors": [
|
139
|
+
{
|
140
|
+
"shape_name": "BaseException",
|
141
|
+
"type": "structure",
|
142
|
+
"members": {
|
143
|
+
"Code": {
|
144
|
+
"shape_name": "ErrorCode",
|
145
|
+
"type": "string",
|
146
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
147
|
+
},
|
148
|
+
"Message": {
|
149
|
+
"shape_name": "ErrorMessage",
|
150
|
+
"type": "string",
|
151
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
152
|
+
}
|
153
|
+
},
|
154
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"shape_name": "InternalException",
|
158
|
+
"type": "structure",
|
159
|
+
"members": {
|
160
|
+
},
|
161
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"shape_name": "InternalException",
|
165
|
+
"type": "structure",
|
166
|
+
"members": {
|
167
|
+
},
|
168
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"shape_name": "LimitExceededException",
|
172
|
+
"type": "structure",
|
173
|
+
"members": {
|
174
|
+
},
|
175
|
+
"documentation": "\n <p>The request was rejected because a resource limit has already been met.</p>\n "
|
176
|
+
}
|
177
|
+
],
|
178
|
+
"documentation": "\n <p>Creates a new search domain.</p>\n "
|
179
|
+
},
|
180
|
+
"DefineIndexField": {
|
181
|
+
"name": "DefineIndexField",
|
182
|
+
"input": {
|
183
|
+
"shape_name": "DefineIndexFieldRequest",
|
184
|
+
"type": "structure",
|
185
|
+
"members": {
|
186
|
+
"DomainName": {
|
187
|
+
"shape_name": "DomainName",
|
188
|
+
"type": "string",
|
189
|
+
"min_length": 3,
|
190
|
+
"max_length": 28,
|
191
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
192
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
193
|
+
"required": true
|
194
|
+
},
|
195
|
+
"IndexField": {
|
196
|
+
"shape_name": "IndexField",
|
197
|
+
"type": "structure",
|
198
|
+
"members": {
|
199
|
+
"IndexFieldName": {
|
200
|
+
"shape_name": "FieldName",
|
201
|
+
"type": "string",
|
202
|
+
"min_length": 1,
|
203
|
+
"max_length": 64,
|
204
|
+
"pattern": "[a-z][a-z0-9_]*",
|
205
|
+
"documentation": "\n <p>The name of a field in the search index. Field names must begin with a letter and can contain the following\n characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names \"body\", \"docid\", and \"text_relevance\" are reserved and cannot be specified as field or rank expression names.</p>\n ",
|
206
|
+
"required": true
|
207
|
+
},
|
208
|
+
"IndexFieldType": {
|
209
|
+
"shape_name": "IndexFieldType",
|
210
|
+
"type": "string",
|
211
|
+
"enum": [
|
212
|
+
"uint",
|
213
|
+
"literal",
|
214
|
+
"text"
|
215
|
+
],
|
216
|
+
"documentation": "\n <p>The type of field. Based on this type, exactly one of the <a>UIntOptions</a>, <a>LiteralOptions</a> or <a>TextOptions</a> must be present.</p>\n ",
|
217
|
+
"required": true
|
218
|
+
},
|
219
|
+
"UIntOptions": {
|
220
|
+
"shape_name": "UIntOptions",
|
221
|
+
"type": "structure",
|
222
|
+
"members": {
|
223
|
+
"DefaultValue": {
|
224
|
+
"shape_name": "UIntValue",
|
225
|
+
"type": "integer",
|
226
|
+
"min_length": 0,
|
227
|
+
"documentation": "\n <p>The default value for an unsigned integer field. Optional.</p>\n "
|
228
|
+
}
|
229
|
+
},
|
230
|
+
"documentation": "\n <p>Options for an unsigned integer field. Present if <code>IndexFieldType</code> specifies the field is of type unsigned integer.</p>\n "
|
231
|
+
},
|
232
|
+
"LiteralOptions": {
|
233
|
+
"shape_name": "LiteralOptions",
|
234
|
+
"type": "structure",
|
235
|
+
"members": {
|
236
|
+
"DefaultValue": {
|
237
|
+
"shape_name": "FieldValue",
|
238
|
+
"type": "string",
|
239
|
+
"min_length": 0,
|
240
|
+
"max_length": 1024,
|
241
|
+
"documentation": "\n <p>The default value for a literal field. Optional.</p>\n "
|
242
|
+
},
|
243
|
+
"SearchEnabled": {
|
244
|
+
"shape_name": "Boolean",
|
245
|
+
"type": "boolean",
|
246
|
+
"documentation": "\n <p>Specifies whether search is enabled for this field. Default: False.</p>\n "
|
247
|
+
},
|
248
|
+
"FacetEnabled": {
|
249
|
+
"shape_name": "Boolean",
|
250
|
+
"type": "boolean",
|
251
|
+
"documentation": "\n <p>Specifies whether facets are enabled for this field. Default: False.</p>\n "
|
252
|
+
},
|
253
|
+
"ResultEnabled": {
|
254
|
+
"shape_name": "Boolean",
|
255
|
+
"type": "boolean",
|
256
|
+
"documentation": "\n <p>Specifies whether values of this field can be returned in search results and used for ranking. Default: False.</p>\n "
|
257
|
+
}
|
258
|
+
},
|
259
|
+
"documentation": "\n <p>Options for literal field. Present if <code>IndexFieldType</code> specifies the field is of type literal.</p>\n "
|
260
|
+
},
|
261
|
+
"TextOptions": {
|
262
|
+
"shape_name": "TextOptions",
|
263
|
+
"type": "structure",
|
264
|
+
"members": {
|
265
|
+
"DefaultValue": {
|
266
|
+
"shape_name": "FieldValue",
|
267
|
+
"type": "string",
|
268
|
+
"min_length": 0,
|
269
|
+
"max_length": 1024,
|
270
|
+
"documentation": "\n <p>The default value for a text field. Optional.</p>\n "
|
271
|
+
},
|
272
|
+
"FacetEnabled": {
|
273
|
+
"shape_name": "Boolean",
|
274
|
+
"type": "boolean",
|
275
|
+
"documentation": "\n <p>Specifies whether facets are enabled for this field. Default: False.</p>\n "
|
276
|
+
},
|
277
|
+
"ResultEnabled": {
|
278
|
+
"shape_name": "Boolean",
|
279
|
+
"type": "boolean",
|
280
|
+
"documentation": "\n <p>Specifies whether values of this field can be returned in search results and used for ranking. Default: False.</p>\n "
|
281
|
+
},
|
282
|
+
"TextProcessor": {
|
283
|
+
"shape_name": "FieldName",
|
284
|
+
"type": "string",
|
285
|
+
"min_length": 1,
|
286
|
+
"max_length": 64,
|
287
|
+
"pattern": "[a-z][a-z0-9_]*",
|
288
|
+
"documentation": "\n <p>The text processor to apply to this field. Optional. Possible values:</p>\n <ul>\n <li>\n<code>cs_text_no_stemming</code>: turns off stemming for the field.</li>\n </ul>\n <p>Default: none</p>\n "
|
289
|
+
}
|
290
|
+
},
|
291
|
+
"documentation": "\n <p>Options for text field. Present if <code>IndexFieldType</code> specifies the field is of type text.</p>\n "
|
292
|
+
},
|
293
|
+
"SourceAttributes": {
|
294
|
+
"shape_name": "SourceAttributeList",
|
295
|
+
"type": "list",
|
296
|
+
"members": {
|
297
|
+
"shape_name": "SourceAttribute",
|
298
|
+
"type": "structure",
|
299
|
+
"members": {
|
300
|
+
"SourceDataFunction": {
|
301
|
+
"shape_name": "SourceDataFunction",
|
302
|
+
"type": "string",
|
303
|
+
"enum": [
|
304
|
+
"Copy",
|
305
|
+
"TrimTitle",
|
306
|
+
"Map"
|
307
|
+
],
|
308
|
+
"documentation": "\n <p>Identifies the transformation to apply when copying data from a source attribute.</p>\n ",
|
309
|
+
"required": true
|
310
|
+
},
|
311
|
+
"SourceDataCopy": {
|
312
|
+
"shape_name": "SourceData",
|
313
|
+
"type": "structure",
|
314
|
+
"members": {
|
315
|
+
"SourceName": {
|
316
|
+
"shape_name": "FieldName",
|
317
|
+
"type": "string",
|
318
|
+
"min_length": 1,
|
319
|
+
"max_length": 64,
|
320
|
+
"pattern": "[a-z][a-z0-9_]*",
|
321
|
+
"documentation": "\n <p>The name of the document source field to add to this <code>IndexField</code>.</p>\n ",
|
322
|
+
"required": true
|
323
|
+
},
|
324
|
+
"DefaultValue": {
|
325
|
+
"shape_name": "FieldValue",
|
326
|
+
"type": "string",
|
327
|
+
"min_length": 0,
|
328
|
+
"max_length": 1024,
|
329
|
+
"documentation": "\n <p>The default value to use if the source attribute is not specified in a document. Optional.</p>\n "
|
330
|
+
}
|
331
|
+
},
|
332
|
+
"documentation": "\n <p>Copies data from a source document attribute to an <code>IndexField</code>.</p>\n "
|
333
|
+
},
|
334
|
+
"SourceDataTrimTitle": {
|
335
|
+
"shape_name": "SourceDataTrimTitle",
|
336
|
+
"type": "structure",
|
337
|
+
"members": {
|
338
|
+
"SourceName": {
|
339
|
+
"shape_name": "FieldName",
|
340
|
+
"type": "string",
|
341
|
+
"min_length": 1,
|
342
|
+
"max_length": 64,
|
343
|
+
"pattern": "[a-z][a-z0-9_]*",
|
344
|
+
"documentation": "\n <p>The name of the document source field to add to this <code>IndexField</code>.</p>\n ",
|
345
|
+
"required": true
|
346
|
+
},
|
347
|
+
"DefaultValue": {
|
348
|
+
"shape_name": "FieldValue",
|
349
|
+
"type": "string",
|
350
|
+
"min_length": 0,
|
351
|
+
"max_length": 1024,
|
352
|
+
"documentation": "\n <p>The default value to use if the source attribute is not specified in a document. Optional.</p>\n "
|
353
|
+
},
|
354
|
+
"Separator": {
|
355
|
+
"shape_name": "String",
|
356
|
+
"type": "string",
|
357
|
+
"documentation": "\n <p>The separator that follows the text to trim.</p>\n "
|
358
|
+
},
|
359
|
+
"Language": {
|
360
|
+
"shape_name": "Language",
|
361
|
+
"type": "string",
|
362
|
+
"pattern": "[a-zA-Z]{2,8}(?:-[a-zA-Z]{2,8})*",
|
363
|
+
"documentation": "\n <p>An <a href=\"http://tools.ietf.org/html/rfc4646\">IETF RFC 4646</a> language code. Only the primary language is considered. English (en) is currently the only supported language.</p>\n "
|
364
|
+
}
|
365
|
+
},
|
366
|
+
"documentation": "\n <p>Trims common title words from a source document attribute when populating an <code>IndexField</code>. This can be used to create an <code>IndexField</code> you can use for sorting.</p>\n "
|
367
|
+
},
|
368
|
+
"SourceDataMap": {
|
369
|
+
"shape_name": "SourceDataMap",
|
370
|
+
"type": "structure",
|
371
|
+
"members": {
|
372
|
+
"SourceName": {
|
373
|
+
"shape_name": "FieldName",
|
374
|
+
"type": "string",
|
375
|
+
"min_length": 1,
|
376
|
+
"max_length": 64,
|
377
|
+
"pattern": "[a-z][a-z0-9_]*",
|
378
|
+
"documentation": "\n <p>The name of the document source field to add to this <code>IndexField</code>.</p>\n ",
|
379
|
+
"required": true
|
380
|
+
},
|
381
|
+
"DefaultValue": {
|
382
|
+
"shape_name": "FieldValue",
|
383
|
+
"type": "string",
|
384
|
+
"min_length": 0,
|
385
|
+
"max_length": 1024,
|
386
|
+
"documentation": "\n <p>The default value to use if the source attribute is not specified in a document. Optional.</p>\n "
|
387
|
+
},
|
388
|
+
"Cases": {
|
389
|
+
"shape_name": "StringCaseMap",
|
390
|
+
"type": "map",
|
391
|
+
"keys": {
|
392
|
+
"shape_name": "FieldValue",
|
393
|
+
"type": "string",
|
394
|
+
"min_length": 0,
|
395
|
+
"max_length": 1024,
|
396
|
+
"documentation": "\n <p>The value of a field or source document attribute.</p>\n "
|
397
|
+
},
|
398
|
+
"members": {
|
399
|
+
"shape_name": "FieldValue",
|
400
|
+
"type": "string",
|
401
|
+
"min_length": 0,
|
402
|
+
"max_length": 1024,
|
403
|
+
"documentation": "\n <p>The value of a field or source document attribute.</p>\n "
|
404
|
+
},
|
405
|
+
"documentation": "\n <p>A map that translates source field values to custom values.</p>\n "
|
406
|
+
}
|
407
|
+
},
|
408
|
+
"documentation": "\n <p>Maps source document attribute values to new values when populating the <code>IndexField</code>.</p>\n "
|
409
|
+
}
|
410
|
+
},
|
411
|
+
"documentation": "\n <p>Identifies the source data for an index field. An optional data transformation can be applied to the source data when populating the index field. By default, the value of the source attribute is copied to the index field.</p>\n "
|
412
|
+
},
|
413
|
+
"documentation": "\n <p>An optional list of source attributes that provide data for this index field. If not specified, the data is pulled from a source attribute with the same name as this <code>IndexField</code>. When one or more source attributes are specified, an optional data transformation can be applied to the source data when populating the index field. You can configure a maximum of 20 sources for an <code>IndexField</code>.</p>\n "
|
414
|
+
}
|
415
|
+
},
|
416
|
+
"documentation": "\n <p>Defines a field in the index, including its name, type, and the source of its data. The <code>IndexFieldType</code> indicates which of the options will be present. It is invalid to specify options for a type other than the <code>IndexFieldType</code>.</p>\n ",
|
417
|
+
"required": true
|
418
|
+
}
|
419
|
+
},
|
420
|
+
"documentation": null
|
421
|
+
},
|
422
|
+
"output": {
|
423
|
+
"shape_name": "DefineIndexFieldResponse",
|
424
|
+
"type": "structure",
|
425
|
+
"members": {
|
426
|
+
"IndexField": {
|
427
|
+
"shape_name": "IndexFieldStatus",
|
428
|
+
"type": "structure",
|
429
|
+
"members": {
|
430
|
+
"Options": {
|
431
|
+
"shape_name": "IndexField",
|
432
|
+
"type": "structure",
|
433
|
+
"members": {
|
434
|
+
"IndexFieldName": {
|
435
|
+
"shape_name": "FieldName",
|
436
|
+
"type": "string",
|
437
|
+
"min_length": 1,
|
438
|
+
"max_length": 64,
|
439
|
+
"pattern": "[a-z][a-z0-9_]*",
|
440
|
+
"documentation": "\n <p>The name of a field in the search index. Field names must begin with a letter and can contain the following\n characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names \"body\", \"docid\", and \"text_relevance\" are reserved and cannot be specified as field or rank expression names.</p>\n ",
|
441
|
+
"required": true
|
442
|
+
},
|
443
|
+
"IndexFieldType": {
|
444
|
+
"shape_name": "IndexFieldType",
|
445
|
+
"type": "string",
|
446
|
+
"enum": [
|
447
|
+
"uint",
|
448
|
+
"literal",
|
449
|
+
"text"
|
450
|
+
],
|
451
|
+
"documentation": "\n <p>The type of field. Based on this type, exactly one of the <a>UIntOptions</a>, <a>LiteralOptions</a> or <a>TextOptions</a> must be present.</p>\n ",
|
452
|
+
"required": true
|
453
|
+
},
|
454
|
+
"UIntOptions": {
|
455
|
+
"shape_name": "UIntOptions",
|
456
|
+
"type": "structure",
|
457
|
+
"members": {
|
458
|
+
"DefaultValue": {
|
459
|
+
"shape_name": "UIntValue",
|
460
|
+
"type": "integer",
|
461
|
+
"min_length": 0,
|
462
|
+
"documentation": "\n <p>The default value for an unsigned integer field. Optional.</p>\n "
|
463
|
+
}
|
464
|
+
},
|
465
|
+
"documentation": "\n <p>Options for an unsigned integer field. Present if <code>IndexFieldType</code> specifies the field is of type unsigned integer.</p>\n "
|
466
|
+
},
|
467
|
+
"LiteralOptions": {
|
468
|
+
"shape_name": "LiteralOptions",
|
469
|
+
"type": "structure",
|
470
|
+
"members": {
|
471
|
+
"DefaultValue": {
|
472
|
+
"shape_name": "FieldValue",
|
473
|
+
"type": "string",
|
474
|
+
"min_length": 0,
|
475
|
+
"max_length": 1024,
|
476
|
+
"documentation": "\n <p>The default value for a literal field. Optional.</p>\n "
|
477
|
+
},
|
478
|
+
"SearchEnabled": {
|
479
|
+
"shape_name": "Boolean",
|
480
|
+
"type": "boolean",
|
481
|
+
"documentation": "\n <p>Specifies whether search is enabled for this field. Default: False.</p>\n "
|
482
|
+
},
|
483
|
+
"FacetEnabled": {
|
484
|
+
"shape_name": "Boolean",
|
485
|
+
"type": "boolean",
|
486
|
+
"documentation": "\n <p>Specifies whether facets are enabled for this field. Default: False.</p>\n "
|
487
|
+
},
|
488
|
+
"ResultEnabled": {
|
489
|
+
"shape_name": "Boolean",
|
490
|
+
"type": "boolean",
|
491
|
+
"documentation": "\n <p>Specifies whether values of this field can be returned in search results and used for ranking. Default: False.</p>\n "
|
492
|
+
}
|
493
|
+
},
|
494
|
+
"documentation": "\n <p>Options for literal field. Present if <code>IndexFieldType</code> specifies the field is of type literal.</p>\n "
|
495
|
+
},
|
496
|
+
"TextOptions": {
|
497
|
+
"shape_name": "TextOptions",
|
498
|
+
"type": "structure",
|
499
|
+
"members": {
|
500
|
+
"DefaultValue": {
|
501
|
+
"shape_name": "FieldValue",
|
502
|
+
"type": "string",
|
503
|
+
"min_length": 0,
|
504
|
+
"max_length": 1024,
|
505
|
+
"documentation": "\n <p>The default value for a text field. Optional.</p>\n "
|
506
|
+
},
|
507
|
+
"FacetEnabled": {
|
508
|
+
"shape_name": "Boolean",
|
509
|
+
"type": "boolean",
|
510
|
+
"documentation": "\n <p>Specifies whether facets are enabled for this field. Default: False.</p>\n "
|
511
|
+
},
|
512
|
+
"ResultEnabled": {
|
513
|
+
"shape_name": "Boolean",
|
514
|
+
"type": "boolean",
|
515
|
+
"documentation": "\n <p>Specifies whether values of this field can be returned in search results and used for ranking. Default: False.</p>\n "
|
516
|
+
},
|
517
|
+
"TextProcessor": {
|
518
|
+
"shape_name": "FieldName",
|
519
|
+
"type": "string",
|
520
|
+
"min_length": 1,
|
521
|
+
"max_length": 64,
|
522
|
+
"pattern": "[a-z][a-z0-9_]*",
|
523
|
+
"documentation": "\n <p>The text processor to apply to this field. Optional. Possible values:</p>\n <ul>\n <li>\n<code>cs_text_no_stemming</code>: turns off stemming for the field.</li>\n </ul>\n <p>Default: none</p>\n "
|
524
|
+
}
|
525
|
+
},
|
526
|
+
"documentation": "\n <p>Options for text field. Present if <code>IndexFieldType</code> specifies the field is of type text.</p>\n "
|
527
|
+
},
|
528
|
+
"SourceAttributes": {
|
529
|
+
"shape_name": "SourceAttributeList",
|
530
|
+
"type": "list",
|
531
|
+
"members": {
|
532
|
+
"shape_name": "SourceAttribute",
|
533
|
+
"type": "structure",
|
534
|
+
"members": {
|
535
|
+
"SourceDataFunction": {
|
536
|
+
"shape_name": "SourceDataFunction",
|
537
|
+
"type": "string",
|
538
|
+
"enum": [
|
539
|
+
"Copy",
|
540
|
+
"TrimTitle",
|
541
|
+
"Map"
|
542
|
+
],
|
543
|
+
"documentation": "\n <p>Identifies the transformation to apply when copying data from a source attribute.</p>\n ",
|
544
|
+
"required": true
|
545
|
+
},
|
546
|
+
"SourceDataCopy": {
|
547
|
+
"shape_name": "SourceData",
|
548
|
+
"type": "structure",
|
549
|
+
"members": {
|
550
|
+
"SourceName": {
|
551
|
+
"shape_name": "FieldName",
|
552
|
+
"type": "string",
|
553
|
+
"min_length": 1,
|
554
|
+
"max_length": 64,
|
555
|
+
"pattern": "[a-z][a-z0-9_]*",
|
556
|
+
"documentation": "\n <p>The name of the document source field to add to this <code>IndexField</code>.</p>\n ",
|
557
|
+
"required": true
|
558
|
+
},
|
559
|
+
"DefaultValue": {
|
560
|
+
"shape_name": "FieldValue",
|
561
|
+
"type": "string",
|
562
|
+
"min_length": 0,
|
563
|
+
"max_length": 1024,
|
564
|
+
"documentation": "\n <p>The default value to use if the source attribute is not specified in a document. Optional.</p>\n "
|
565
|
+
}
|
566
|
+
},
|
567
|
+
"documentation": "\n <p>Copies data from a source document attribute to an <code>IndexField</code>.</p>\n "
|
568
|
+
},
|
569
|
+
"SourceDataTrimTitle": {
|
570
|
+
"shape_name": "SourceDataTrimTitle",
|
571
|
+
"type": "structure",
|
572
|
+
"members": {
|
573
|
+
"SourceName": {
|
574
|
+
"shape_name": "FieldName",
|
575
|
+
"type": "string",
|
576
|
+
"min_length": 1,
|
577
|
+
"max_length": 64,
|
578
|
+
"pattern": "[a-z][a-z0-9_]*",
|
579
|
+
"documentation": "\n <p>The name of the document source field to add to this <code>IndexField</code>.</p>\n ",
|
580
|
+
"required": true
|
581
|
+
},
|
582
|
+
"DefaultValue": {
|
583
|
+
"shape_name": "FieldValue",
|
584
|
+
"type": "string",
|
585
|
+
"min_length": 0,
|
586
|
+
"max_length": 1024,
|
587
|
+
"documentation": "\n <p>The default value to use if the source attribute is not specified in a document. Optional.</p>\n "
|
588
|
+
},
|
589
|
+
"Separator": {
|
590
|
+
"shape_name": "String",
|
591
|
+
"type": "string",
|
592
|
+
"documentation": "\n <p>The separator that follows the text to trim.</p>\n "
|
593
|
+
},
|
594
|
+
"Language": {
|
595
|
+
"shape_name": "Language",
|
596
|
+
"type": "string",
|
597
|
+
"pattern": "[a-zA-Z]{2,8}(?:-[a-zA-Z]{2,8})*",
|
598
|
+
"documentation": "\n <p>An <a href=\"http://tools.ietf.org/html/rfc4646\">IETF RFC 4646</a> language code. Only the primary language is considered. English (en) is currently the only supported language.</p>\n "
|
599
|
+
}
|
600
|
+
},
|
601
|
+
"documentation": "\n <p>Trims common title words from a source document attribute when populating an <code>IndexField</code>. This can be used to create an <code>IndexField</code> you can use for sorting.</p>\n "
|
602
|
+
},
|
603
|
+
"SourceDataMap": {
|
604
|
+
"shape_name": "SourceDataMap",
|
605
|
+
"type": "structure",
|
606
|
+
"members": {
|
607
|
+
"SourceName": {
|
608
|
+
"shape_name": "FieldName",
|
609
|
+
"type": "string",
|
610
|
+
"min_length": 1,
|
611
|
+
"max_length": 64,
|
612
|
+
"pattern": "[a-z][a-z0-9_]*",
|
613
|
+
"documentation": "\n <p>The name of the document source field to add to this <code>IndexField</code>.</p>\n ",
|
614
|
+
"required": true
|
615
|
+
},
|
616
|
+
"DefaultValue": {
|
617
|
+
"shape_name": "FieldValue",
|
618
|
+
"type": "string",
|
619
|
+
"min_length": 0,
|
620
|
+
"max_length": 1024,
|
621
|
+
"documentation": "\n <p>The default value to use if the source attribute is not specified in a document. Optional.</p>\n "
|
622
|
+
},
|
623
|
+
"Cases": {
|
624
|
+
"shape_name": "StringCaseMap",
|
625
|
+
"type": "map",
|
626
|
+
"keys": {
|
627
|
+
"shape_name": "FieldValue",
|
628
|
+
"type": "string",
|
629
|
+
"min_length": 0,
|
630
|
+
"max_length": 1024,
|
631
|
+
"documentation": "\n <p>The value of a field or source document attribute.</p>\n "
|
632
|
+
},
|
633
|
+
"members": {
|
634
|
+
"shape_name": "FieldValue",
|
635
|
+
"type": "string",
|
636
|
+
"min_length": 0,
|
637
|
+
"max_length": 1024,
|
638
|
+
"documentation": "\n <p>The value of a field or source document attribute.</p>\n "
|
639
|
+
},
|
640
|
+
"documentation": "\n <p>A map that translates source field values to custom values.</p>\n "
|
641
|
+
}
|
642
|
+
},
|
643
|
+
"documentation": "\n <p>Maps source document attribute values to new values when populating the <code>IndexField</code>.</p>\n "
|
644
|
+
}
|
645
|
+
},
|
646
|
+
"documentation": "\n <p>Identifies the source data for an index field. An optional data transformation can be applied to the source data when populating the index field. By default, the value of the source attribute is copied to the index field.</p>\n "
|
647
|
+
},
|
648
|
+
"documentation": "\n <p>An optional list of source attributes that provide data for this index field. If not specified, the data is pulled from a source attribute with the same name as this <code>IndexField</code>. When one or more source attributes are specified, an optional data transformation can be applied to the source data when populating the index field. You can configure a maximum of 20 sources for an <code>IndexField</code>.</p>\n "
|
649
|
+
}
|
650
|
+
},
|
651
|
+
"documentation": "\n <p>Defines a field in the index, including its name, type, and the source of its data. The <code>IndexFieldType</code> indicates which of the options will be present. It is invalid to specify options for a type other than the <code>IndexFieldType</code>.</p>\n ",
|
652
|
+
"required": true
|
653
|
+
},
|
654
|
+
"Status": {
|
655
|
+
"shape_name": "OptionStatus",
|
656
|
+
"type": "structure",
|
657
|
+
"members": {
|
658
|
+
"CreationDate": {
|
659
|
+
"shape_name": "UpdateTimestamp",
|
660
|
+
"type": "timestamp",
|
661
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
662
|
+
"required": true
|
663
|
+
},
|
664
|
+
"UpdateDate": {
|
665
|
+
"shape_name": "UpdateTimestamp",
|
666
|
+
"type": "timestamp",
|
667
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
668
|
+
"required": true
|
669
|
+
},
|
670
|
+
"UpdateVersion": {
|
671
|
+
"shape_name": "UIntValue",
|
672
|
+
"type": "integer",
|
673
|
+
"min_length": 0,
|
674
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
675
|
+
},
|
676
|
+
"State": {
|
677
|
+
"shape_name": "OptionState",
|
678
|
+
"type": "string",
|
679
|
+
"enum": [
|
680
|
+
"RequiresIndexDocuments",
|
681
|
+
"Processing",
|
682
|
+
"Active"
|
683
|
+
],
|
684
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
685
|
+
"required": true
|
686
|
+
},
|
687
|
+
"PendingDeletion": {
|
688
|
+
"shape_name": "Boolean",
|
689
|
+
"type": "boolean",
|
690
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
691
|
+
}
|
692
|
+
},
|
693
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
694
|
+
"required": true
|
695
|
+
}
|
696
|
+
},
|
697
|
+
"documentation": "\n <p>The value of an <code>IndexField</code> and its current status.</p>\n ",
|
698
|
+
"required": true
|
699
|
+
}
|
700
|
+
},
|
701
|
+
"documentation": "\n <p>A response message that contains the status of an updated index field.</p>\n "
|
702
|
+
},
|
703
|
+
"errors": [
|
704
|
+
{
|
705
|
+
"shape_name": "BaseException",
|
706
|
+
"type": "structure",
|
707
|
+
"members": {
|
708
|
+
"Code": {
|
709
|
+
"shape_name": "ErrorCode",
|
710
|
+
"type": "string",
|
711
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
712
|
+
},
|
713
|
+
"Message": {
|
714
|
+
"shape_name": "ErrorMessage",
|
715
|
+
"type": "string",
|
716
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
717
|
+
}
|
718
|
+
},
|
719
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
720
|
+
},
|
721
|
+
{
|
722
|
+
"shape_name": "InternalException",
|
723
|
+
"type": "structure",
|
724
|
+
"members": {
|
725
|
+
},
|
726
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
727
|
+
},
|
728
|
+
{
|
729
|
+
"shape_name": "LimitExceededException",
|
730
|
+
"type": "structure",
|
731
|
+
"members": {
|
732
|
+
},
|
733
|
+
"documentation": "\n <p>The request was rejected because a resource limit has already been met.</p>\n "
|
734
|
+
},
|
735
|
+
{
|
736
|
+
"shape_name": "InvalidTypeException",
|
737
|
+
"type": "structure",
|
738
|
+
"members": {
|
739
|
+
},
|
740
|
+
"documentation": "\n <p>The request was rejected because it specified an invalid type definition.</p>\n "
|
741
|
+
},
|
742
|
+
{
|
743
|
+
"shape_name": "ResourceNotFoundException",
|
744
|
+
"type": "structure",
|
745
|
+
"members": {
|
746
|
+
},
|
747
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
748
|
+
}
|
749
|
+
],
|
750
|
+
"documentation": "\n <p>Configures an <code>IndexField</code> for the search domain. Used to create new fields and modify existing ones. If the field exists, the new configuration replaces the old one. You can configure a maximum of 200 index fields.</p>\n "
|
751
|
+
},
|
752
|
+
"DefineRankExpression": {
|
753
|
+
"name": "DefineRankExpression",
|
754
|
+
"input": {
|
755
|
+
"shape_name": "DefineRankExpressionRequest",
|
756
|
+
"type": "structure",
|
757
|
+
"members": {
|
758
|
+
"DomainName": {
|
759
|
+
"shape_name": "DomainName",
|
760
|
+
"type": "string",
|
761
|
+
"min_length": 3,
|
762
|
+
"max_length": 28,
|
763
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
764
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
765
|
+
"required": true
|
766
|
+
},
|
767
|
+
"RankExpression": {
|
768
|
+
"shape_name": "NamedRankExpression",
|
769
|
+
"type": "structure",
|
770
|
+
"members": {
|
771
|
+
"RankName": {
|
772
|
+
"shape_name": "FieldName",
|
773
|
+
"type": "string",
|
774
|
+
"min_length": 1,
|
775
|
+
"max_length": 64,
|
776
|
+
"pattern": "[a-z][a-z0-9_]*",
|
777
|
+
"documentation": "\n <p>The name of a rank expression. Rank expression names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names \"body\", \"docid\", and \"text_relevance\" are reserved and cannot be specified as field or rank expression names.</p>\n ",
|
778
|
+
"required": true
|
779
|
+
},
|
780
|
+
"RankExpression": {
|
781
|
+
"shape_name": "RankExpression",
|
782
|
+
"type": "string",
|
783
|
+
"min_length": 1,
|
784
|
+
"max_length": 10240,
|
785
|
+
"documentation": "\n <p>The expression to evaluate for ranking or thresholding while processing a search request. The <code>RankExpression</code> syntax is based on JavaScript expressions and supports:</p>\n<ul>\n <li>Integer, floating point, hex and octal literals</li>\n <li>Shortcut evaluation of logical operators such that an expression <code>a || b</code> evaluates to the value <code>a</code> if <code>a</code> is <code>true</code> without evaluting <code>b</code> at all</li>\n <li>JavaScript order of precendence for operators</li>\n <li>Arithmetic operators: <code>+ - * / %</code>\n</li>\n <li>Boolean operators (including the ternary operator)</li>\n <li>Bitwise operators</li>\n <li>Comparison operators</li>\n <li>Common mathematic functions: <code>abs ceil erf exp floor lgamma ln log2 log10 max min sqrt pow</code>\n</li>\n <li>Trigonometric library functions: <code>acosh acos asinh asin atanh atan cosh cos sinh sin tanh tan</code>\n</li>\n <li>Random generation of a number between 0 and 1: <code>rand</code>\n</li>\n <li>Current time in epoch: <code>time</code>\n</li>\n <li>The <code>min max</code> functions that operate on a variable argument list</li>\n </ul>\n\n <p>Intermediate results are calculated as double precision floating point values. The final return value of a <code>RankExpression</code> is automatically converted from floating point to a 32-bit unsigned integer by rounding to the nearest integer, with a natural floor of 0 and a ceiling of max(uint32_t), 4294967295. Mathematical errors such as dividing by 0 will fail during evaluation and return a value of 0.</p>\n <p>The source data for a <code>RankExpression</code> can be the name of an <code>IndexField</code> of type uint, another <code>RankExpression</code> or the reserved name <i>text_relevance</i>. The text_relevance source is defined to return an integer from 0 to 1000 (inclusive) to indicate how relevant a document is to the search request, taking into account repetition of search terms in the document and proximity of search terms to each other in each matching <code>IndexField</code> in the document.</p>\n <p>For more information about using rank expressions to customize ranking, see the Amazon CloudSearch Developer Guide.</p>\n ",
|
786
|
+
"required": true
|
787
|
+
}
|
788
|
+
},
|
789
|
+
"documentation": "\n <p>A named expression that can be evaluated at search time and used for ranking or thresholding\n in a search query. </p>\n ",
|
790
|
+
"required": true
|
791
|
+
}
|
792
|
+
},
|
793
|
+
"documentation": null
|
794
|
+
},
|
795
|
+
"output": {
|
796
|
+
"shape_name": "DefineRankExpressionResponse",
|
797
|
+
"type": "structure",
|
798
|
+
"members": {
|
799
|
+
"RankExpression": {
|
800
|
+
"shape_name": "RankExpressionStatus",
|
801
|
+
"type": "structure",
|
802
|
+
"members": {
|
803
|
+
"Options": {
|
804
|
+
"shape_name": "NamedRankExpression",
|
805
|
+
"type": "structure",
|
806
|
+
"members": {
|
807
|
+
"RankName": {
|
808
|
+
"shape_name": "FieldName",
|
809
|
+
"type": "string",
|
810
|
+
"min_length": 1,
|
811
|
+
"max_length": 64,
|
812
|
+
"pattern": "[a-z][a-z0-9_]*",
|
813
|
+
"documentation": "\n <p>The name of a rank expression. Rank expression names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names \"body\", \"docid\", and \"text_relevance\" are reserved and cannot be specified as field or rank expression names.</p>\n ",
|
814
|
+
"required": true
|
815
|
+
},
|
816
|
+
"RankExpression": {
|
817
|
+
"shape_name": "RankExpression",
|
818
|
+
"type": "string",
|
819
|
+
"min_length": 1,
|
820
|
+
"max_length": 10240,
|
821
|
+
"documentation": "\n <p>The expression to evaluate for ranking or thresholding while processing a search request. The <code>RankExpression</code> syntax is based on JavaScript expressions and supports:</p>\n<ul>\n <li>Integer, floating point, hex and octal literals</li>\n <li>Shortcut evaluation of logical operators such that an expression <code>a || b</code> evaluates to the value <code>a</code> if <code>a</code> is <code>true</code> without evaluting <code>b</code> at all</li>\n <li>JavaScript order of precendence for operators</li>\n <li>Arithmetic operators: <code>+ - * / %</code>\n</li>\n <li>Boolean operators (including the ternary operator)</li>\n <li>Bitwise operators</li>\n <li>Comparison operators</li>\n <li>Common mathematic functions: <code>abs ceil erf exp floor lgamma ln log2 log10 max min sqrt pow</code>\n</li>\n <li>Trigonometric library functions: <code>acosh acos asinh asin atanh atan cosh cos sinh sin tanh tan</code>\n</li>\n <li>Random generation of a number between 0 and 1: <code>rand</code>\n</li>\n <li>Current time in epoch: <code>time</code>\n</li>\n <li>The <code>min max</code> functions that operate on a variable argument list</li>\n </ul>\n\n <p>Intermediate results are calculated as double precision floating point values. The final return value of a <code>RankExpression</code> is automatically converted from floating point to a 32-bit unsigned integer by rounding to the nearest integer, with a natural floor of 0 and a ceiling of max(uint32_t), 4294967295. Mathematical errors such as dividing by 0 will fail during evaluation and return a value of 0.</p>\n <p>The source data for a <code>RankExpression</code> can be the name of an <code>IndexField</code> of type uint, another <code>RankExpression</code> or the reserved name <i>text_relevance</i>. The text_relevance source is defined to return an integer from 0 to 1000 (inclusive) to indicate how relevant a document is to the search request, taking into account repetition of search terms in the document and proximity of search terms to each other in each matching <code>IndexField</code> in the document.</p>\n <p>For more information about using rank expressions to customize ranking, see the Amazon CloudSearch Developer Guide.</p>\n ",
|
822
|
+
"required": true
|
823
|
+
}
|
824
|
+
},
|
825
|
+
"documentation": "\n <p>The expression that is evaluated for ranking or thresholding while processing a search request.</p>\n ",
|
826
|
+
"required": true
|
827
|
+
},
|
828
|
+
"Status": {
|
829
|
+
"shape_name": "OptionStatus",
|
830
|
+
"type": "structure",
|
831
|
+
"members": {
|
832
|
+
"CreationDate": {
|
833
|
+
"shape_name": "UpdateTimestamp",
|
834
|
+
"type": "timestamp",
|
835
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
836
|
+
"required": true
|
837
|
+
},
|
838
|
+
"UpdateDate": {
|
839
|
+
"shape_name": "UpdateTimestamp",
|
840
|
+
"type": "timestamp",
|
841
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
842
|
+
"required": true
|
843
|
+
},
|
844
|
+
"UpdateVersion": {
|
845
|
+
"shape_name": "UIntValue",
|
846
|
+
"type": "integer",
|
847
|
+
"min_length": 0,
|
848
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
849
|
+
},
|
850
|
+
"State": {
|
851
|
+
"shape_name": "OptionState",
|
852
|
+
"type": "string",
|
853
|
+
"enum": [
|
854
|
+
"RequiresIndexDocuments",
|
855
|
+
"Processing",
|
856
|
+
"Active"
|
857
|
+
],
|
858
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
859
|
+
"required": true
|
860
|
+
},
|
861
|
+
"PendingDeletion": {
|
862
|
+
"shape_name": "Boolean",
|
863
|
+
"type": "boolean",
|
864
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
865
|
+
}
|
866
|
+
},
|
867
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
868
|
+
"required": true
|
869
|
+
}
|
870
|
+
},
|
871
|
+
"documentation": "\n <p>The value of a <code>RankExpression</code> and its current status.</p>\n ",
|
872
|
+
"required": true
|
873
|
+
}
|
874
|
+
},
|
875
|
+
"documentation": "\n <p>A response message that contains the status of an updated <code>RankExpression</code>.</p>\n "
|
876
|
+
},
|
877
|
+
"errors": [
|
878
|
+
{
|
879
|
+
"shape_name": "BaseException",
|
880
|
+
"type": "structure",
|
881
|
+
"members": {
|
882
|
+
"Code": {
|
883
|
+
"shape_name": "ErrorCode",
|
884
|
+
"type": "string",
|
885
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
886
|
+
},
|
887
|
+
"Message": {
|
888
|
+
"shape_name": "ErrorMessage",
|
889
|
+
"type": "string",
|
890
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
891
|
+
}
|
892
|
+
},
|
893
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
894
|
+
},
|
895
|
+
{
|
896
|
+
"shape_name": "InternalException",
|
897
|
+
"type": "structure",
|
898
|
+
"members": {
|
899
|
+
},
|
900
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
901
|
+
},
|
902
|
+
{
|
903
|
+
"shape_name": "LimitExceededException",
|
904
|
+
"type": "structure",
|
905
|
+
"members": {
|
906
|
+
},
|
907
|
+
"documentation": "\n <p>The request was rejected because a resource limit has already been met.</p>\n "
|
908
|
+
},
|
909
|
+
{
|
910
|
+
"shape_name": "InvalidTypeException",
|
911
|
+
"type": "structure",
|
912
|
+
"members": {
|
913
|
+
},
|
914
|
+
"documentation": "\n <p>The request was rejected because it specified an invalid type definition.</p>\n "
|
915
|
+
},
|
916
|
+
{
|
917
|
+
"shape_name": "ResourceNotFoundException",
|
918
|
+
"type": "structure",
|
919
|
+
"members": {
|
920
|
+
},
|
921
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
922
|
+
}
|
923
|
+
],
|
924
|
+
"documentation": "\n <p>Configures a <code>RankExpression</code> for the search domain. Used to create new rank expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. You can configure a maximum of 50 rank expressions.</p>\n "
|
925
|
+
},
|
926
|
+
"DeleteDomain": {
|
927
|
+
"name": "DeleteDomain",
|
928
|
+
"input": {
|
929
|
+
"shape_name": "DeleteDomainRequest",
|
930
|
+
"type": "structure",
|
931
|
+
"members": {
|
932
|
+
"DomainName": {
|
933
|
+
"shape_name": "DomainName",
|
934
|
+
"type": "string",
|
935
|
+
"min_length": 3,
|
936
|
+
"max_length": 28,
|
937
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
938
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
939
|
+
"required": true
|
940
|
+
}
|
941
|
+
},
|
942
|
+
"documentation": null
|
943
|
+
},
|
944
|
+
"output": {
|
945
|
+
"shape_name": "DeleteDomainResponse",
|
946
|
+
"type": "structure",
|
947
|
+
"members": {
|
948
|
+
"DomainStatus": {
|
949
|
+
"shape_name": "DomainStatus",
|
950
|
+
"type": "structure",
|
951
|
+
"members": {
|
952
|
+
"DomainId": {
|
953
|
+
"shape_name": "DomainId",
|
954
|
+
"type": "string",
|
955
|
+
"min_length": 1,
|
956
|
+
"max_length": 64,
|
957
|
+
"documentation": "\n <p>An internally generated unique identifier for a domain.</p>\n ",
|
958
|
+
"required": true
|
959
|
+
},
|
960
|
+
"DomainName": {
|
961
|
+
"shape_name": "DomainName",
|
962
|
+
"type": "string",
|
963
|
+
"min_length": 3,
|
964
|
+
"max_length": 28,
|
965
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
966
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
967
|
+
"required": true
|
968
|
+
},
|
969
|
+
"Created": {
|
970
|
+
"shape_name": "Boolean",
|
971
|
+
"type": "boolean",
|
972
|
+
"documentation": "\n <p>True if the search domain is created. It can take several minutes to initialize a domain when <a>CreateDomain</a> is called. Newly created search domains are returned from <a>DescribeDomains</a> with a false value for Created until domain creation is complete.</p>\n "
|
973
|
+
},
|
974
|
+
"Deleted": {
|
975
|
+
"shape_name": "Boolean",
|
976
|
+
"type": "boolean",
|
977
|
+
"documentation": "\n <p>True if the search domain has been deleted. The system must clean up resources dedicated to the search domain when <a>DeleteDomain</a> is called. Newly deleted search domains are returned from <a>DescribeDomains</a> with a true value for IsDeleted for several minutes until resource cleanup is complete.</p>\n "
|
978
|
+
},
|
979
|
+
"NumSearchableDocs": {
|
980
|
+
"shape_name": "UIntValue",
|
981
|
+
"type": "integer",
|
982
|
+
"min_length": 0,
|
983
|
+
"documentation": "\n <p>The number of documents that have been submitted to the domain and indexed.</p>\n "
|
984
|
+
},
|
985
|
+
"DocService": {
|
986
|
+
"shape_name": "ServiceEndpoint",
|
987
|
+
"type": "structure",
|
988
|
+
"members": {
|
989
|
+
"Arn": {
|
990
|
+
"shape_name": "Arn",
|
991
|
+
"type": "string",
|
992
|
+
"documentation": "\n <p>An Amazon Resource Name (ARN). See <a href=\"http://docs.amazonwebservices.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html\" target=\"_blank\">Identifiers for IAM Entities</a> in <i>Using AWS Identity and Access Management</i> for more information.</p>\n "
|
993
|
+
},
|
994
|
+
"Endpoint": {
|
995
|
+
"shape_name": "ServiceUrl",
|
996
|
+
"type": "string",
|
997
|
+
"documentation": "\n <p>The URL (including /version/pathPrefix) to which service requests can be submitted.</p>\n "
|
998
|
+
}
|
999
|
+
},
|
1000
|
+
"documentation": "\n <p>The service endpoint for updating documents in a search domain.</p>\n "
|
1001
|
+
},
|
1002
|
+
"SearchService": {
|
1003
|
+
"shape_name": "ServiceEndpoint",
|
1004
|
+
"type": "structure",
|
1005
|
+
"members": {
|
1006
|
+
"Arn": {
|
1007
|
+
"shape_name": "Arn",
|
1008
|
+
"type": "string",
|
1009
|
+
"documentation": "\n <p>An Amazon Resource Name (ARN). See <a href=\"http://docs.amazonwebservices.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html\" target=\"_blank\">Identifiers for IAM Entities</a> in <i>Using AWS Identity and Access Management</i> for more information.</p>\n "
|
1010
|
+
},
|
1011
|
+
"Endpoint": {
|
1012
|
+
"shape_name": "ServiceUrl",
|
1013
|
+
"type": "string",
|
1014
|
+
"documentation": "\n <p>The URL (including /version/pathPrefix) to which service requests can be submitted.</p>\n "
|
1015
|
+
}
|
1016
|
+
},
|
1017
|
+
"documentation": "\n <p>The service endpoint for requesting search results from a search domain.</p>\n "
|
1018
|
+
},
|
1019
|
+
"RequiresIndexDocuments": {
|
1020
|
+
"shape_name": "Boolean",
|
1021
|
+
"type": "boolean",
|
1022
|
+
"documentation": "\n <p>True if <a>IndexDocuments</a> needs to be called to activate the current domain configuration.</p>\n ",
|
1023
|
+
"required": true
|
1024
|
+
},
|
1025
|
+
"Processing": {
|
1026
|
+
"shape_name": "Boolean",
|
1027
|
+
"type": "boolean",
|
1028
|
+
"documentation": "\n <p>True if processing is being done to activate the current domain configuration.</p>\n "
|
1029
|
+
},
|
1030
|
+
"SearchInstanceType": {
|
1031
|
+
"shape_name": "SearchInstanceType",
|
1032
|
+
"type": "string",
|
1033
|
+
"documentation": "\n <p>The instance type (such as search.m1.small) that is being used to process search requests.</p>\n "
|
1034
|
+
},
|
1035
|
+
"SearchPartitionCount": {
|
1036
|
+
"shape_name": "PartitionCount",
|
1037
|
+
"type": "integer",
|
1038
|
+
"min_length": 1,
|
1039
|
+
"documentation": "\n <p>The number of partitions across which the search index is spread.</p>\n "
|
1040
|
+
},
|
1041
|
+
"SearchInstanceCount": {
|
1042
|
+
"shape_name": "InstanceCount",
|
1043
|
+
"type": "integer",
|
1044
|
+
"min_length": 1,
|
1045
|
+
"documentation": "\n <p>The number of search instances that are available to process search requests.</p>\n "
|
1046
|
+
}
|
1047
|
+
},
|
1048
|
+
"documentation": "\n <p>The current status of the search domain.</p>\n "
|
1049
|
+
}
|
1050
|
+
},
|
1051
|
+
"documentation": "\n <p>A response message that contains the status of a newly deleted domain, or no status if the domain has already been completely deleted.</p>\n "
|
1052
|
+
},
|
1053
|
+
"errors": [
|
1054
|
+
{
|
1055
|
+
"shape_name": "BaseException",
|
1056
|
+
"type": "structure",
|
1057
|
+
"members": {
|
1058
|
+
"Code": {
|
1059
|
+
"shape_name": "ErrorCode",
|
1060
|
+
"type": "string",
|
1061
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
1062
|
+
},
|
1063
|
+
"Message": {
|
1064
|
+
"shape_name": "ErrorMessage",
|
1065
|
+
"type": "string",
|
1066
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
1067
|
+
}
|
1068
|
+
},
|
1069
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
1070
|
+
},
|
1071
|
+
{
|
1072
|
+
"shape_name": "InternalException",
|
1073
|
+
"type": "structure",
|
1074
|
+
"members": {
|
1075
|
+
},
|
1076
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
1077
|
+
}
|
1078
|
+
],
|
1079
|
+
"documentation": "\n <p>Permanently deletes a search domain and all of its data.</p>\n "
|
1080
|
+
},
|
1081
|
+
"DeleteIndexField": {
|
1082
|
+
"name": "DeleteIndexField",
|
1083
|
+
"input": {
|
1084
|
+
"shape_name": "DeleteIndexFieldRequest",
|
1085
|
+
"type": "structure",
|
1086
|
+
"members": {
|
1087
|
+
"DomainName": {
|
1088
|
+
"shape_name": "DomainName",
|
1089
|
+
"type": "string",
|
1090
|
+
"min_length": 3,
|
1091
|
+
"max_length": 28,
|
1092
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
1093
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
1094
|
+
"required": true
|
1095
|
+
},
|
1096
|
+
"IndexFieldName": {
|
1097
|
+
"shape_name": "FieldName",
|
1098
|
+
"type": "string",
|
1099
|
+
"min_length": 1,
|
1100
|
+
"max_length": 64,
|
1101
|
+
"pattern": "[a-z][a-z0-9_]*",
|
1102
|
+
"documentation": "\n <p>A string that represents the name of an index field. Field names must begin with a letter and can contain the following\n characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names \"body\", \"docid\", and \"text_relevance\" are reserved and cannot be specified as field or rank expression names.</p>\n\n ",
|
1103
|
+
"required": true
|
1104
|
+
}
|
1105
|
+
},
|
1106
|
+
"documentation": null
|
1107
|
+
},
|
1108
|
+
"output": {
|
1109
|
+
"shape_name": "DeleteIndexFieldResponse",
|
1110
|
+
"type": "structure",
|
1111
|
+
"members": {
|
1112
|
+
"IndexField": {
|
1113
|
+
"shape_name": "IndexFieldStatus",
|
1114
|
+
"type": "structure",
|
1115
|
+
"members": {
|
1116
|
+
"Options": {
|
1117
|
+
"shape_name": "IndexField",
|
1118
|
+
"type": "structure",
|
1119
|
+
"members": {
|
1120
|
+
"IndexFieldName": {
|
1121
|
+
"shape_name": "FieldName",
|
1122
|
+
"type": "string",
|
1123
|
+
"min_length": 1,
|
1124
|
+
"max_length": 64,
|
1125
|
+
"pattern": "[a-z][a-z0-9_]*",
|
1126
|
+
"documentation": "\n <p>The name of a field in the search index. Field names must begin with a letter and can contain the following\n characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names \"body\", \"docid\", and \"text_relevance\" are reserved and cannot be specified as field or rank expression names.</p>\n ",
|
1127
|
+
"required": true
|
1128
|
+
},
|
1129
|
+
"IndexFieldType": {
|
1130
|
+
"shape_name": "IndexFieldType",
|
1131
|
+
"type": "string",
|
1132
|
+
"enum": [
|
1133
|
+
"uint",
|
1134
|
+
"literal",
|
1135
|
+
"text"
|
1136
|
+
],
|
1137
|
+
"documentation": "\n <p>The type of field. Based on this type, exactly one of the <a>UIntOptions</a>, <a>LiteralOptions</a> or <a>TextOptions</a> must be present.</p>\n ",
|
1138
|
+
"required": true
|
1139
|
+
},
|
1140
|
+
"UIntOptions": {
|
1141
|
+
"shape_name": "UIntOptions",
|
1142
|
+
"type": "structure",
|
1143
|
+
"members": {
|
1144
|
+
"DefaultValue": {
|
1145
|
+
"shape_name": "UIntValue",
|
1146
|
+
"type": "integer",
|
1147
|
+
"min_length": 0,
|
1148
|
+
"documentation": "\n <p>The default value for an unsigned integer field. Optional.</p>\n "
|
1149
|
+
}
|
1150
|
+
},
|
1151
|
+
"documentation": "\n <p>Options for an unsigned integer field. Present if <code>IndexFieldType</code> specifies the field is of type unsigned integer.</p>\n "
|
1152
|
+
},
|
1153
|
+
"LiteralOptions": {
|
1154
|
+
"shape_name": "LiteralOptions",
|
1155
|
+
"type": "structure",
|
1156
|
+
"members": {
|
1157
|
+
"DefaultValue": {
|
1158
|
+
"shape_name": "FieldValue",
|
1159
|
+
"type": "string",
|
1160
|
+
"min_length": 0,
|
1161
|
+
"max_length": 1024,
|
1162
|
+
"documentation": "\n <p>The default value for a literal field. Optional.</p>\n "
|
1163
|
+
},
|
1164
|
+
"SearchEnabled": {
|
1165
|
+
"shape_name": "Boolean",
|
1166
|
+
"type": "boolean",
|
1167
|
+
"documentation": "\n <p>Specifies whether search is enabled for this field. Default: False.</p>\n "
|
1168
|
+
},
|
1169
|
+
"FacetEnabled": {
|
1170
|
+
"shape_name": "Boolean",
|
1171
|
+
"type": "boolean",
|
1172
|
+
"documentation": "\n <p>Specifies whether facets are enabled for this field. Default: False.</p>\n "
|
1173
|
+
},
|
1174
|
+
"ResultEnabled": {
|
1175
|
+
"shape_name": "Boolean",
|
1176
|
+
"type": "boolean",
|
1177
|
+
"documentation": "\n <p>Specifies whether values of this field can be returned in search results and used for ranking. Default: False.</p>\n "
|
1178
|
+
}
|
1179
|
+
},
|
1180
|
+
"documentation": "\n <p>Options for literal field. Present if <code>IndexFieldType</code> specifies the field is of type literal.</p>\n "
|
1181
|
+
},
|
1182
|
+
"TextOptions": {
|
1183
|
+
"shape_name": "TextOptions",
|
1184
|
+
"type": "structure",
|
1185
|
+
"members": {
|
1186
|
+
"DefaultValue": {
|
1187
|
+
"shape_name": "FieldValue",
|
1188
|
+
"type": "string",
|
1189
|
+
"min_length": 0,
|
1190
|
+
"max_length": 1024,
|
1191
|
+
"documentation": "\n <p>The default value for a text field. Optional.</p>\n "
|
1192
|
+
},
|
1193
|
+
"FacetEnabled": {
|
1194
|
+
"shape_name": "Boolean",
|
1195
|
+
"type": "boolean",
|
1196
|
+
"documentation": "\n <p>Specifies whether facets are enabled for this field. Default: False.</p>\n "
|
1197
|
+
},
|
1198
|
+
"ResultEnabled": {
|
1199
|
+
"shape_name": "Boolean",
|
1200
|
+
"type": "boolean",
|
1201
|
+
"documentation": "\n <p>Specifies whether values of this field can be returned in search results and used for ranking. Default: False.</p>\n "
|
1202
|
+
},
|
1203
|
+
"TextProcessor": {
|
1204
|
+
"shape_name": "FieldName",
|
1205
|
+
"type": "string",
|
1206
|
+
"min_length": 1,
|
1207
|
+
"max_length": 64,
|
1208
|
+
"pattern": "[a-z][a-z0-9_]*",
|
1209
|
+
"documentation": "\n <p>The text processor to apply to this field. Optional. Possible values:</p>\n <ul>\n <li>\n<code>cs_text_no_stemming</code>: turns off stemming for the field.</li>\n </ul>\n <p>Default: none</p>\n "
|
1210
|
+
}
|
1211
|
+
},
|
1212
|
+
"documentation": "\n <p>Options for text field. Present if <code>IndexFieldType</code> specifies the field is of type text.</p>\n "
|
1213
|
+
},
|
1214
|
+
"SourceAttributes": {
|
1215
|
+
"shape_name": "SourceAttributeList",
|
1216
|
+
"type": "list",
|
1217
|
+
"members": {
|
1218
|
+
"shape_name": "SourceAttribute",
|
1219
|
+
"type": "structure",
|
1220
|
+
"members": {
|
1221
|
+
"SourceDataFunction": {
|
1222
|
+
"shape_name": "SourceDataFunction",
|
1223
|
+
"type": "string",
|
1224
|
+
"enum": [
|
1225
|
+
"Copy",
|
1226
|
+
"TrimTitle",
|
1227
|
+
"Map"
|
1228
|
+
],
|
1229
|
+
"documentation": "\n <p>Identifies the transformation to apply when copying data from a source attribute.</p>\n ",
|
1230
|
+
"required": true
|
1231
|
+
},
|
1232
|
+
"SourceDataCopy": {
|
1233
|
+
"shape_name": "SourceData",
|
1234
|
+
"type": "structure",
|
1235
|
+
"members": {
|
1236
|
+
"SourceName": {
|
1237
|
+
"shape_name": "FieldName",
|
1238
|
+
"type": "string",
|
1239
|
+
"min_length": 1,
|
1240
|
+
"max_length": 64,
|
1241
|
+
"pattern": "[a-z][a-z0-9_]*",
|
1242
|
+
"documentation": "\n <p>The name of the document source field to add to this <code>IndexField</code>.</p>\n ",
|
1243
|
+
"required": true
|
1244
|
+
},
|
1245
|
+
"DefaultValue": {
|
1246
|
+
"shape_name": "FieldValue",
|
1247
|
+
"type": "string",
|
1248
|
+
"min_length": 0,
|
1249
|
+
"max_length": 1024,
|
1250
|
+
"documentation": "\n <p>The default value to use if the source attribute is not specified in a document. Optional.</p>\n "
|
1251
|
+
}
|
1252
|
+
},
|
1253
|
+
"documentation": "\n <p>Copies data from a source document attribute to an <code>IndexField</code>.</p>\n "
|
1254
|
+
},
|
1255
|
+
"SourceDataTrimTitle": {
|
1256
|
+
"shape_name": "SourceDataTrimTitle",
|
1257
|
+
"type": "structure",
|
1258
|
+
"members": {
|
1259
|
+
"SourceName": {
|
1260
|
+
"shape_name": "FieldName",
|
1261
|
+
"type": "string",
|
1262
|
+
"min_length": 1,
|
1263
|
+
"max_length": 64,
|
1264
|
+
"pattern": "[a-z][a-z0-9_]*",
|
1265
|
+
"documentation": "\n <p>The name of the document source field to add to this <code>IndexField</code>.</p>\n ",
|
1266
|
+
"required": true
|
1267
|
+
},
|
1268
|
+
"DefaultValue": {
|
1269
|
+
"shape_name": "FieldValue",
|
1270
|
+
"type": "string",
|
1271
|
+
"min_length": 0,
|
1272
|
+
"max_length": 1024,
|
1273
|
+
"documentation": "\n <p>The default value to use if the source attribute is not specified in a document. Optional.</p>\n "
|
1274
|
+
},
|
1275
|
+
"Separator": {
|
1276
|
+
"shape_name": "String",
|
1277
|
+
"type": "string",
|
1278
|
+
"documentation": "\n <p>The separator that follows the text to trim.</p>\n "
|
1279
|
+
},
|
1280
|
+
"Language": {
|
1281
|
+
"shape_name": "Language",
|
1282
|
+
"type": "string",
|
1283
|
+
"pattern": "[a-zA-Z]{2,8}(?:-[a-zA-Z]{2,8})*",
|
1284
|
+
"documentation": "\n <p>An <a href=\"http://tools.ietf.org/html/rfc4646\">IETF RFC 4646</a> language code. Only the primary language is considered. English (en) is currently the only supported language.</p>\n "
|
1285
|
+
}
|
1286
|
+
},
|
1287
|
+
"documentation": "\n <p>Trims common title words from a source document attribute when populating an <code>IndexField</code>. This can be used to create an <code>IndexField</code> you can use for sorting.</p>\n "
|
1288
|
+
},
|
1289
|
+
"SourceDataMap": {
|
1290
|
+
"shape_name": "SourceDataMap",
|
1291
|
+
"type": "structure",
|
1292
|
+
"members": {
|
1293
|
+
"SourceName": {
|
1294
|
+
"shape_name": "FieldName",
|
1295
|
+
"type": "string",
|
1296
|
+
"min_length": 1,
|
1297
|
+
"max_length": 64,
|
1298
|
+
"pattern": "[a-z][a-z0-9_]*",
|
1299
|
+
"documentation": "\n <p>The name of the document source field to add to this <code>IndexField</code>.</p>\n ",
|
1300
|
+
"required": true
|
1301
|
+
},
|
1302
|
+
"DefaultValue": {
|
1303
|
+
"shape_name": "FieldValue",
|
1304
|
+
"type": "string",
|
1305
|
+
"min_length": 0,
|
1306
|
+
"max_length": 1024,
|
1307
|
+
"documentation": "\n <p>The default value to use if the source attribute is not specified in a document. Optional.</p>\n "
|
1308
|
+
},
|
1309
|
+
"Cases": {
|
1310
|
+
"shape_name": "StringCaseMap",
|
1311
|
+
"type": "map",
|
1312
|
+
"keys": {
|
1313
|
+
"shape_name": "FieldValue",
|
1314
|
+
"type": "string",
|
1315
|
+
"min_length": 0,
|
1316
|
+
"max_length": 1024,
|
1317
|
+
"documentation": "\n <p>The value of a field or source document attribute.</p>\n "
|
1318
|
+
},
|
1319
|
+
"members": {
|
1320
|
+
"shape_name": "FieldValue",
|
1321
|
+
"type": "string",
|
1322
|
+
"min_length": 0,
|
1323
|
+
"max_length": 1024,
|
1324
|
+
"documentation": "\n <p>The value of a field or source document attribute.</p>\n "
|
1325
|
+
},
|
1326
|
+
"documentation": "\n <p>A map that translates source field values to custom values.</p>\n "
|
1327
|
+
}
|
1328
|
+
},
|
1329
|
+
"documentation": "\n <p>Maps source document attribute values to new values when populating the <code>IndexField</code>.</p>\n "
|
1330
|
+
}
|
1331
|
+
},
|
1332
|
+
"documentation": "\n <p>Identifies the source data for an index field. An optional data transformation can be applied to the source data when populating the index field. By default, the value of the source attribute is copied to the index field.</p>\n "
|
1333
|
+
},
|
1334
|
+
"documentation": "\n <p>An optional list of source attributes that provide data for this index field. If not specified, the data is pulled from a source attribute with the same name as this <code>IndexField</code>. When one or more source attributes are specified, an optional data transformation can be applied to the source data when populating the index field. You can configure a maximum of 20 sources for an <code>IndexField</code>.</p>\n "
|
1335
|
+
}
|
1336
|
+
},
|
1337
|
+
"documentation": "\n <p>Defines a field in the index, including its name, type, and the source of its data. The <code>IndexFieldType</code> indicates which of the options will be present. It is invalid to specify options for a type other than the <code>IndexFieldType</code>.</p>\n ",
|
1338
|
+
"required": true
|
1339
|
+
},
|
1340
|
+
"Status": {
|
1341
|
+
"shape_name": "OptionStatus",
|
1342
|
+
"type": "structure",
|
1343
|
+
"members": {
|
1344
|
+
"CreationDate": {
|
1345
|
+
"shape_name": "UpdateTimestamp",
|
1346
|
+
"type": "timestamp",
|
1347
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
1348
|
+
"required": true
|
1349
|
+
},
|
1350
|
+
"UpdateDate": {
|
1351
|
+
"shape_name": "UpdateTimestamp",
|
1352
|
+
"type": "timestamp",
|
1353
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
1354
|
+
"required": true
|
1355
|
+
},
|
1356
|
+
"UpdateVersion": {
|
1357
|
+
"shape_name": "UIntValue",
|
1358
|
+
"type": "integer",
|
1359
|
+
"min_length": 0,
|
1360
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
1361
|
+
},
|
1362
|
+
"State": {
|
1363
|
+
"shape_name": "OptionState",
|
1364
|
+
"type": "string",
|
1365
|
+
"enum": [
|
1366
|
+
"RequiresIndexDocuments",
|
1367
|
+
"Processing",
|
1368
|
+
"Active"
|
1369
|
+
],
|
1370
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
1371
|
+
"required": true
|
1372
|
+
},
|
1373
|
+
"PendingDeletion": {
|
1374
|
+
"shape_name": "Boolean",
|
1375
|
+
"type": "boolean",
|
1376
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
1377
|
+
}
|
1378
|
+
},
|
1379
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
1380
|
+
"required": true
|
1381
|
+
}
|
1382
|
+
},
|
1383
|
+
"documentation": "\n <p>The value of an <code>IndexField</code> and its current status.</p>\n ",
|
1384
|
+
"required": true
|
1385
|
+
}
|
1386
|
+
},
|
1387
|
+
"documentation": "\n <p>A response message that contains the status of a deleted index field.</p>\n "
|
1388
|
+
},
|
1389
|
+
"errors": [
|
1390
|
+
{
|
1391
|
+
"shape_name": "BaseException",
|
1392
|
+
"type": "structure",
|
1393
|
+
"members": {
|
1394
|
+
"Code": {
|
1395
|
+
"shape_name": "ErrorCode",
|
1396
|
+
"type": "string",
|
1397
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
1398
|
+
},
|
1399
|
+
"Message": {
|
1400
|
+
"shape_name": "ErrorMessage",
|
1401
|
+
"type": "string",
|
1402
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
1403
|
+
}
|
1404
|
+
},
|
1405
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
1406
|
+
},
|
1407
|
+
{
|
1408
|
+
"shape_name": "InternalException",
|
1409
|
+
"type": "structure",
|
1410
|
+
"members": {
|
1411
|
+
},
|
1412
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
1413
|
+
},
|
1414
|
+
{
|
1415
|
+
"shape_name": "InvalidTypeException",
|
1416
|
+
"type": "structure",
|
1417
|
+
"members": {
|
1418
|
+
},
|
1419
|
+
"documentation": "\n <p>The request was rejected because it specified an invalid type definition.</p>\n "
|
1420
|
+
},
|
1421
|
+
{
|
1422
|
+
"shape_name": "ResourceNotFoundException",
|
1423
|
+
"type": "structure",
|
1424
|
+
"members": {
|
1425
|
+
},
|
1426
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
1427
|
+
}
|
1428
|
+
],
|
1429
|
+
"documentation": "\n <p>Removes an <code>IndexField</code> from the search domain.</p>\n "
|
1430
|
+
},
|
1431
|
+
"DeleteRankExpression": {
|
1432
|
+
"name": "DeleteRankExpression",
|
1433
|
+
"input": {
|
1434
|
+
"shape_name": "DeleteRankExpressionRequest",
|
1435
|
+
"type": "structure",
|
1436
|
+
"members": {
|
1437
|
+
"DomainName": {
|
1438
|
+
"shape_name": "DomainName",
|
1439
|
+
"type": "string",
|
1440
|
+
"min_length": 3,
|
1441
|
+
"max_length": 28,
|
1442
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
1443
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
1444
|
+
"required": true
|
1445
|
+
},
|
1446
|
+
"RankName": {
|
1447
|
+
"shape_name": "FieldName",
|
1448
|
+
"type": "string",
|
1449
|
+
"min_length": 1,
|
1450
|
+
"max_length": 64,
|
1451
|
+
"pattern": "[a-z][a-z0-9_]*",
|
1452
|
+
"documentation": "\n <p>The name of the <code>RankExpression</code> to delete.</p>\n ",
|
1453
|
+
"required": true
|
1454
|
+
}
|
1455
|
+
},
|
1456
|
+
"documentation": null
|
1457
|
+
},
|
1458
|
+
"output": {
|
1459
|
+
"shape_name": "DeleteRankExpressionResponse",
|
1460
|
+
"type": "structure",
|
1461
|
+
"members": {
|
1462
|
+
"RankExpression": {
|
1463
|
+
"shape_name": "RankExpressionStatus",
|
1464
|
+
"type": "structure",
|
1465
|
+
"members": {
|
1466
|
+
"Options": {
|
1467
|
+
"shape_name": "NamedRankExpression",
|
1468
|
+
"type": "structure",
|
1469
|
+
"members": {
|
1470
|
+
"RankName": {
|
1471
|
+
"shape_name": "FieldName",
|
1472
|
+
"type": "string",
|
1473
|
+
"min_length": 1,
|
1474
|
+
"max_length": 64,
|
1475
|
+
"pattern": "[a-z][a-z0-9_]*",
|
1476
|
+
"documentation": "\n <p>The name of a rank expression. Rank expression names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names \"body\", \"docid\", and \"text_relevance\" are reserved and cannot be specified as field or rank expression names.</p>\n ",
|
1477
|
+
"required": true
|
1478
|
+
},
|
1479
|
+
"RankExpression": {
|
1480
|
+
"shape_name": "RankExpression",
|
1481
|
+
"type": "string",
|
1482
|
+
"min_length": 1,
|
1483
|
+
"max_length": 10240,
|
1484
|
+
"documentation": "\n <p>The expression to evaluate for ranking or thresholding while processing a search request. The <code>RankExpression</code> syntax is based on JavaScript expressions and supports:</p>\n<ul>\n <li>Integer, floating point, hex and octal literals</li>\n <li>Shortcut evaluation of logical operators such that an expression <code>a || b</code> evaluates to the value <code>a</code> if <code>a</code> is <code>true</code> without evaluting <code>b</code> at all</li>\n <li>JavaScript order of precendence for operators</li>\n <li>Arithmetic operators: <code>+ - * / %</code>\n</li>\n <li>Boolean operators (including the ternary operator)</li>\n <li>Bitwise operators</li>\n <li>Comparison operators</li>\n <li>Common mathematic functions: <code>abs ceil erf exp floor lgamma ln log2 log10 max min sqrt pow</code>\n</li>\n <li>Trigonometric library functions: <code>acosh acos asinh asin atanh atan cosh cos sinh sin tanh tan</code>\n</li>\n <li>Random generation of a number between 0 and 1: <code>rand</code>\n</li>\n <li>Current time in epoch: <code>time</code>\n</li>\n <li>The <code>min max</code> functions that operate on a variable argument list</li>\n </ul>\n\n <p>Intermediate results are calculated as double precision floating point values. The final return value of a <code>RankExpression</code> is automatically converted from floating point to a 32-bit unsigned integer by rounding to the nearest integer, with a natural floor of 0 and a ceiling of max(uint32_t), 4294967295. Mathematical errors such as dividing by 0 will fail during evaluation and return a value of 0.</p>\n <p>The source data for a <code>RankExpression</code> can be the name of an <code>IndexField</code> of type uint, another <code>RankExpression</code> or the reserved name <i>text_relevance</i>. The text_relevance source is defined to return an integer from 0 to 1000 (inclusive) to indicate how relevant a document is to the search request, taking into account repetition of search terms in the document and proximity of search terms to each other in each matching <code>IndexField</code> in the document.</p>\n <p>For more information about using rank expressions to customize ranking, see the Amazon CloudSearch Developer Guide.</p>\n ",
|
1485
|
+
"required": true
|
1486
|
+
}
|
1487
|
+
},
|
1488
|
+
"documentation": "\n <p>The expression that is evaluated for ranking or thresholding while processing a search request.</p>\n ",
|
1489
|
+
"required": true
|
1490
|
+
},
|
1491
|
+
"Status": {
|
1492
|
+
"shape_name": "OptionStatus",
|
1493
|
+
"type": "structure",
|
1494
|
+
"members": {
|
1495
|
+
"CreationDate": {
|
1496
|
+
"shape_name": "UpdateTimestamp",
|
1497
|
+
"type": "timestamp",
|
1498
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
1499
|
+
"required": true
|
1500
|
+
},
|
1501
|
+
"UpdateDate": {
|
1502
|
+
"shape_name": "UpdateTimestamp",
|
1503
|
+
"type": "timestamp",
|
1504
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
1505
|
+
"required": true
|
1506
|
+
},
|
1507
|
+
"UpdateVersion": {
|
1508
|
+
"shape_name": "UIntValue",
|
1509
|
+
"type": "integer",
|
1510
|
+
"min_length": 0,
|
1511
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
1512
|
+
},
|
1513
|
+
"State": {
|
1514
|
+
"shape_name": "OptionState",
|
1515
|
+
"type": "string",
|
1516
|
+
"enum": [
|
1517
|
+
"RequiresIndexDocuments",
|
1518
|
+
"Processing",
|
1519
|
+
"Active"
|
1520
|
+
],
|
1521
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
1522
|
+
"required": true
|
1523
|
+
},
|
1524
|
+
"PendingDeletion": {
|
1525
|
+
"shape_name": "Boolean",
|
1526
|
+
"type": "boolean",
|
1527
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
1528
|
+
}
|
1529
|
+
},
|
1530
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
1531
|
+
"required": true
|
1532
|
+
}
|
1533
|
+
},
|
1534
|
+
"documentation": "\n <p>The value of a <code>RankExpression</code> and its current status.</p>\n ",
|
1535
|
+
"required": true
|
1536
|
+
}
|
1537
|
+
},
|
1538
|
+
"documentation": "\n <p>A response message that contains the status of a deleted <code>RankExpression</code>.</p>\n "
|
1539
|
+
},
|
1540
|
+
"errors": [
|
1541
|
+
{
|
1542
|
+
"shape_name": "BaseException",
|
1543
|
+
"type": "structure",
|
1544
|
+
"members": {
|
1545
|
+
"Code": {
|
1546
|
+
"shape_name": "ErrorCode",
|
1547
|
+
"type": "string",
|
1548
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
1549
|
+
},
|
1550
|
+
"Message": {
|
1551
|
+
"shape_name": "ErrorMessage",
|
1552
|
+
"type": "string",
|
1553
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
1554
|
+
}
|
1555
|
+
},
|
1556
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
1557
|
+
},
|
1558
|
+
{
|
1559
|
+
"shape_name": "InternalException",
|
1560
|
+
"type": "structure",
|
1561
|
+
"members": {
|
1562
|
+
},
|
1563
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
1564
|
+
},
|
1565
|
+
{
|
1566
|
+
"shape_name": "InvalidTypeException",
|
1567
|
+
"type": "structure",
|
1568
|
+
"members": {
|
1569
|
+
},
|
1570
|
+
"documentation": "\n <p>The request was rejected because it specified an invalid type definition.</p>\n "
|
1571
|
+
},
|
1572
|
+
{
|
1573
|
+
"shape_name": "ResourceNotFoundException",
|
1574
|
+
"type": "structure",
|
1575
|
+
"members": {
|
1576
|
+
},
|
1577
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
1578
|
+
}
|
1579
|
+
],
|
1580
|
+
"documentation": "\n <p>Removes a <code>RankExpression</code> from the search domain.</p>\n "
|
1581
|
+
},
|
1582
|
+
"DescribeDefaultSearchField": {
|
1583
|
+
"name": "DescribeDefaultSearchField",
|
1584
|
+
"input": {
|
1585
|
+
"shape_name": "DescribeDefaultSearchFieldRequest",
|
1586
|
+
"type": "structure",
|
1587
|
+
"members": {
|
1588
|
+
"DomainName": {
|
1589
|
+
"shape_name": "DomainName",
|
1590
|
+
"type": "string",
|
1591
|
+
"min_length": 3,
|
1592
|
+
"max_length": 28,
|
1593
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
1594
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
1595
|
+
"required": true
|
1596
|
+
}
|
1597
|
+
},
|
1598
|
+
"documentation": null
|
1599
|
+
},
|
1600
|
+
"output": {
|
1601
|
+
"shape_name": "DescribeDefaultSearchFieldResponse",
|
1602
|
+
"type": "structure",
|
1603
|
+
"members": {
|
1604
|
+
"DefaultSearchField": {
|
1605
|
+
"shape_name": "DefaultSearchFieldStatus",
|
1606
|
+
"type": "structure",
|
1607
|
+
"members": {
|
1608
|
+
"Options": {
|
1609
|
+
"shape_name": "FieldName",
|
1610
|
+
"type": "string",
|
1611
|
+
"min_length": 1,
|
1612
|
+
"max_length": 64,
|
1613
|
+
"pattern": "[a-z][a-z0-9_]*",
|
1614
|
+
"documentation": "\n <p>The name of the <code>IndexField</code> to use as the default search field. The default is an empty string, which automatically searches all text fields.</p>\n ",
|
1615
|
+
"required": true
|
1616
|
+
},
|
1617
|
+
"Status": {
|
1618
|
+
"shape_name": "OptionStatus",
|
1619
|
+
"type": "structure",
|
1620
|
+
"members": {
|
1621
|
+
"CreationDate": {
|
1622
|
+
"shape_name": "UpdateTimestamp",
|
1623
|
+
"type": "timestamp",
|
1624
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
1625
|
+
"required": true
|
1626
|
+
},
|
1627
|
+
"UpdateDate": {
|
1628
|
+
"shape_name": "UpdateTimestamp",
|
1629
|
+
"type": "timestamp",
|
1630
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
1631
|
+
"required": true
|
1632
|
+
},
|
1633
|
+
"UpdateVersion": {
|
1634
|
+
"shape_name": "UIntValue",
|
1635
|
+
"type": "integer",
|
1636
|
+
"min_length": 0,
|
1637
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
1638
|
+
},
|
1639
|
+
"State": {
|
1640
|
+
"shape_name": "OptionState",
|
1641
|
+
"type": "string",
|
1642
|
+
"enum": [
|
1643
|
+
"RequiresIndexDocuments",
|
1644
|
+
"Processing",
|
1645
|
+
"Active"
|
1646
|
+
],
|
1647
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
1648
|
+
"required": true
|
1649
|
+
},
|
1650
|
+
"PendingDeletion": {
|
1651
|
+
"shape_name": "Boolean",
|
1652
|
+
"type": "boolean",
|
1653
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
1654
|
+
}
|
1655
|
+
},
|
1656
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
1657
|
+
"required": true
|
1658
|
+
}
|
1659
|
+
},
|
1660
|
+
"documentation": "\n <p>The name of the <code>IndexField</code> to use for search requests issued with the <code>q</code> parameter. The default is the empty string, which automatically searches all text fields.</p>\n ",
|
1661
|
+
"required": true
|
1662
|
+
}
|
1663
|
+
},
|
1664
|
+
"documentation": "\n <p>A response message that contains the default search field for a search domain.</p>\n "
|
1665
|
+
},
|
1666
|
+
"errors": [
|
1667
|
+
{
|
1668
|
+
"shape_name": "BaseException",
|
1669
|
+
"type": "structure",
|
1670
|
+
"members": {
|
1671
|
+
"Code": {
|
1672
|
+
"shape_name": "ErrorCode",
|
1673
|
+
"type": "string",
|
1674
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
1675
|
+
},
|
1676
|
+
"Message": {
|
1677
|
+
"shape_name": "ErrorMessage",
|
1678
|
+
"type": "string",
|
1679
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
1680
|
+
}
|
1681
|
+
},
|
1682
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
1683
|
+
},
|
1684
|
+
{
|
1685
|
+
"shape_name": "InternalException",
|
1686
|
+
"type": "structure",
|
1687
|
+
"members": {
|
1688
|
+
},
|
1689
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
1690
|
+
},
|
1691
|
+
{
|
1692
|
+
"shape_name": "ResourceNotFoundException",
|
1693
|
+
"type": "structure",
|
1694
|
+
"members": {
|
1695
|
+
},
|
1696
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
1697
|
+
}
|
1698
|
+
],
|
1699
|
+
"documentation": "\n <p>Gets the default search field configured for the search domain.</p>\n "
|
1700
|
+
},
|
1701
|
+
"DescribeDomains": {
|
1702
|
+
"name": "DescribeDomains",
|
1703
|
+
"input": {
|
1704
|
+
"shape_name": "DescribeDomainsRequest",
|
1705
|
+
"type": "structure",
|
1706
|
+
"members": {
|
1707
|
+
"DomainNames": {
|
1708
|
+
"shape_name": "DomainNameList",
|
1709
|
+
"type": "list",
|
1710
|
+
"members": {
|
1711
|
+
"shape_name": "DomainName",
|
1712
|
+
"type": "string",
|
1713
|
+
"min_length": 3,
|
1714
|
+
"max_length": 28,
|
1715
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
1716
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n "
|
1717
|
+
},
|
1718
|
+
"documentation": "\n <p>Limits the DescribeDomains response to the specified search domains.</p>\n "
|
1719
|
+
}
|
1720
|
+
},
|
1721
|
+
"documentation": null
|
1722
|
+
},
|
1723
|
+
"output": {
|
1724
|
+
"shape_name": "DescribeDomainsResponse",
|
1725
|
+
"type": "structure",
|
1726
|
+
"members": {
|
1727
|
+
"DomainStatusList": {
|
1728
|
+
"shape_name": "DomainStatusList",
|
1729
|
+
"type": "list",
|
1730
|
+
"members": {
|
1731
|
+
"shape_name": "DomainStatus",
|
1732
|
+
"type": "structure",
|
1733
|
+
"members": {
|
1734
|
+
"DomainId": {
|
1735
|
+
"shape_name": "DomainId",
|
1736
|
+
"type": "string",
|
1737
|
+
"min_length": 1,
|
1738
|
+
"max_length": 64,
|
1739
|
+
"documentation": "\n <p>An internally generated unique identifier for a domain.</p>\n ",
|
1740
|
+
"required": true
|
1741
|
+
},
|
1742
|
+
"DomainName": {
|
1743
|
+
"shape_name": "DomainName",
|
1744
|
+
"type": "string",
|
1745
|
+
"min_length": 3,
|
1746
|
+
"max_length": 28,
|
1747
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
1748
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
1749
|
+
"required": true
|
1750
|
+
},
|
1751
|
+
"Created": {
|
1752
|
+
"shape_name": "Boolean",
|
1753
|
+
"type": "boolean",
|
1754
|
+
"documentation": "\n <p>True if the search domain is created. It can take several minutes to initialize a domain when <a>CreateDomain</a> is called. Newly created search domains are returned from <a>DescribeDomains</a> with a false value for Created until domain creation is complete.</p>\n "
|
1755
|
+
},
|
1756
|
+
"Deleted": {
|
1757
|
+
"shape_name": "Boolean",
|
1758
|
+
"type": "boolean",
|
1759
|
+
"documentation": "\n <p>True if the search domain has been deleted. The system must clean up resources dedicated to the search domain when <a>DeleteDomain</a> is called. Newly deleted search domains are returned from <a>DescribeDomains</a> with a true value for IsDeleted for several minutes until resource cleanup is complete.</p>\n "
|
1760
|
+
},
|
1761
|
+
"NumSearchableDocs": {
|
1762
|
+
"shape_name": "UIntValue",
|
1763
|
+
"type": "integer",
|
1764
|
+
"min_length": 0,
|
1765
|
+
"documentation": "\n <p>The number of documents that have been submitted to the domain and indexed.</p>\n "
|
1766
|
+
},
|
1767
|
+
"DocService": {
|
1768
|
+
"shape_name": "ServiceEndpoint",
|
1769
|
+
"type": "structure",
|
1770
|
+
"members": {
|
1771
|
+
"Arn": {
|
1772
|
+
"shape_name": "Arn",
|
1773
|
+
"type": "string",
|
1774
|
+
"documentation": "\n <p>An Amazon Resource Name (ARN). See <a href=\"http://docs.amazonwebservices.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html\" target=\"_blank\">Identifiers for IAM Entities</a> in <i>Using AWS Identity and Access Management</i> for more information.</p>\n "
|
1775
|
+
},
|
1776
|
+
"Endpoint": {
|
1777
|
+
"shape_name": "ServiceUrl",
|
1778
|
+
"type": "string",
|
1779
|
+
"documentation": "\n <p>The URL (including /version/pathPrefix) to which service requests can be submitted.</p>\n "
|
1780
|
+
}
|
1781
|
+
},
|
1782
|
+
"documentation": "\n <p>The service endpoint for updating documents in a search domain.</p>\n "
|
1783
|
+
},
|
1784
|
+
"SearchService": {
|
1785
|
+
"shape_name": "ServiceEndpoint",
|
1786
|
+
"type": "structure",
|
1787
|
+
"members": {
|
1788
|
+
"Arn": {
|
1789
|
+
"shape_name": "Arn",
|
1790
|
+
"type": "string",
|
1791
|
+
"documentation": "\n <p>An Amazon Resource Name (ARN). See <a href=\"http://docs.amazonwebservices.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html\" target=\"_blank\">Identifiers for IAM Entities</a> in <i>Using AWS Identity and Access Management</i> for more information.</p>\n "
|
1792
|
+
},
|
1793
|
+
"Endpoint": {
|
1794
|
+
"shape_name": "ServiceUrl",
|
1795
|
+
"type": "string",
|
1796
|
+
"documentation": "\n <p>The URL (including /version/pathPrefix) to which service requests can be submitted.</p>\n "
|
1797
|
+
}
|
1798
|
+
},
|
1799
|
+
"documentation": "\n <p>The service endpoint for requesting search results from a search domain.</p>\n "
|
1800
|
+
},
|
1801
|
+
"RequiresIndexDocuments": {
|
1802
|
+
"shape_name": "Boolean",
|
1803
|
+
"type": "boolean",
|
1804
|
+
"documentation": "\n <p>True if <a>IndexDocuments</a> needs to be called to activate the current domain configuration.</p>\n ",
|
1805
|
+
"required": true
|
1806
|
+
},
|
1807
|
+
"Processing": {
|
1808
|
+
"shape_name": "Boolean",
|
1809
|
+
"type": "boolean",
|
1810
|
+
"documentation": "\n <p>True if processing is being done to activate the current domain configuration.</p>\n "
|
1811
|
+
},
|
1812
|
+
"SearchInstanceType": {
|
1813
|
+
"shape_name": "SearchInstanceType",
|
1814
|
+
"type": "string",
|
1815
|
+
"documentation": "\n <p>The instance type (such as search.m1.small) that is being used to process search requests.</p>\n "
|
1816
|
+
},
|
1817
|
+
"SearchPartitionCount": {
|
1818
|
+
"shape_name": "PartitionCount",
|
1819
|
+
"type": "integer",
|
1820
|
+
"min_length": 1,
|
1821
|
+
"documentation": "\n <p>The number of partitions across which the search index is spread.</p>\n "
|
1822
|
+
},
|
1823
|
+
"SearchInstanceCount": {
|
1824
|
+
"shape_name": "InstanceCount",
|
1825
|
+
"type": "integer",
|
1826
|
+
"min_length": 1,
|
1827
|
+
"documentation": "\n <p>The number of search instances that are available to process search requests.</p>\n "
|
1828
|
+
}
|
1829
|
+
},
|
1830
|
+
"documentation": "\n <p>The current status of the search domain.</p>\n "
|
1831
|
+
},
|
1832
|
+
"documentation": "\n <p>The current status of all of your search domains.</p>\n ",
|
1833
|
+
"required": true
|
1834
|
+
}
|
1835
|
+
},
|
1836
|
+
"documentation": "\n <p>A response message that contains the status of one or more domains.</p>\n "
|
1837
|
+
},
|
1838
|
+
"errors": [
|
1839
|
+
{
|
1840
|
+
"shape_name": "BaseException",
|
1841
|
+
"type": "structure",
|
1842
|
+
"members": {
|
1843
|
+
"Code": {
|
1844
|
+
"shape_name": "ErrorCode",
|
1845
|
+
"type": "string",
|
1846
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
1847
|
+
},
|
1848
|
+
"Message": {
|
1849
|
+
"shape_name": "ErrorMessage",
|
1850
|
+
"type": "string",
|
1851
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
1852
|
+
}
|
1853
|
+
},
|
1854
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
1855
|
+
},
|
1856
|
+
{
|
1857
|
+
"shape_name": "InternalException",
|
1858
|
+
"type": "structure",
|
1859
|
+
"members": {
|
1860
|
+
},
|
1861
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
1862
|
+
}
|
1863
|
+
],
|
1864
|
+
"documentation": "\n <p>Gets information about the search domains owned by this account. Can be limited to specific domains. Shows\n all domains by default.</p>\n "
|
1865
|
+
},
|
1866
|
+
"DescribeIndexFields": {
|
1867
|
+
"name": "DescribeIndexFields",
|
1868
|
+
"input": {
|
1869
|
+
"shape_name": "DescribeIndexFieldsRequest",
|
1870
|
+
"type": "structure",
|
1871
|
+
"members": {
|
1872
|
+
"DomainName": {
|
1873
|
+
"shape_name": "DomainName",
|
1874
|
+
"type": "string",
|
1875
|
+
"min_length": 3,
|
1876
|
+
"max_length": 28,
|
1877
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
1878
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
1879
|
+
"required": true
|
1880
|
+
},
|
1881
|
+
"FieldNames": {
|
1882
|
+
"shape_name": "FieldNameList",
|
1883
|
+
"type": "list",
|
1884
|
+
"members": {
|
1885
|
+
"shape_name": "FieldName",
|
1886
|
+
"type": "string",
|
1887
|
+
"min_length": 1,
|
1888
|
+
"max_length": 64,
|
1889
|
+
"pattern": "[a-z][a-z0-9_]*",
|
1890
|
+
"documentation": "\n <p>A string that represents the name of an index field. Field names must begin with a letter and can contain the following\n characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names \"body\", \"docid\", and \"text_relevance\" are reserved and cannot be specified as field or rank expression names.</p>\n\n "
|
1891
|
+
},
|
1892
|
+
"documentation": "\n <p>Limits the <code>DescribeIndexFields</code> response to the specified fields.</p>\n "
|
1893
|
+
}
|
1894
|
+
},
|
1895
|
+
"documentation": null
|
1896
|
+
},
|
1897
|
+
"output": {
|
1898
|
+
"shape_name": "DescribeIndexFieldsResponse",
|
1899
|
+
"type": "structure",
|
1900
|
+
"members": {
|
1901
|
+
"IndexFields": {
|
1902
|
+
"shape_name": "IndexFieldStatusList",
|
1903
|
+
"type": "list",
|
1904
|
+
"members": {
|
1905
|
+
"shape_name": "IndexFieldStatus",
|
1906
|
+
"type": "structure",
|
1907
|
+
"members": {
|
1908
|
+
"Options": {
|
1909
|
+
"shape_name": "IndexField",
|
1910
|
+
"type": "structure",
|
1911
|
+
"members": {
|
1912
|
+
"IndexFieldName": {
|
1913
|
+
"shape_name": "FieldName",
|
1914
|
+
"type": "string",
|
1915
|
+
"min_length": 1,
|
1916
|
+
"max_length": 64,
|
1917
|
+
"pattern": "[a-z][a-z0-9_]*",
|
1918
|
+
"documentation": "\n <p>The name of a field in the search index. Field names must begin with a letter and can contain the following\n characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names \"body\", \"docid\", and \"text_relevance\" are reserved and cannot be specified as field or rank expression names.</p>\n ",
|
1919
|
+
"required": true
|
1920
|
+
},
|
1921
|
+
"IndexFieldType": {
|
1922
|
+
"shape_name": "IndexFieldType",
|
1923
|
+
"type": "string",
|
1924
|
+
"enum": [
|
1925
|
+
"uint",
|
1926
|
+
"literal",
|
1927
|
+
"text"
|
1928
|
+
],
|
1929
|
+
"documentation": "\n <p>The type of field. Based on this type, exactly one of the <a>UIntOptions</a>, <a>LiteralOptions</a> or <a>TextOptions</a> must be present.</p>\n ",
|
1930
|
+
"required": true
|
1931
|
+
},
|
1932
|
+
"UIntOptions": {
|
1933
|
+
"shape_name": "UIntOptions",
|
1934
|
+
"type": "structure",
|
1935
|
+
"members": {
|
1936
|
+
"DefaultValue": {
|
1937
|
+
"shape_name": "UIntValue",
|
1938
|
+
"type": "integer",
|
1939
|
+
"min_length": 0,
|
1940
|
+
"documentation": "\n <p>The default value for an unsigned integer field. Optional.</p>\n "
|
1941
|
+
}
|
1942
|
+
},
|
1943
|
+
"documentation": "\n <p>Options for an unsigned integer field. Present if <code>IndexFieldType</code> specifies the field is of type unsigned integer.</p>\n "
|
1944
|
+
},
|
1945
|
+
"LiteralOptions": {
|
1946
|
+
"shape_name": "LiteralOptions",
|
1947
|
+
"type": "structure",
|
1948
|
+
"members": {
|
1949
|
+
"DefaultValue": {
|
1950
|
+
"shape_name": "FieldValue",
|
1951
|
+
"type": "string",
|
1952
|
+
"min_length": 0,
|
1953
|
+
"max_length": 1024,
|
1954
|
+
"documentation": "\n <p>The default value for a literal field. Optional.</p>\n "
|
1955
|
+
},
|
1956
|
+
"SearchEnabled": {
|
1957
|
+
"shape_name": "Boolean",
|
1958
|
+
"type": "boolean",
|
1959
|
+
"documentation": "\n <p>Specifies whether search is enabled for this field. Default: False.</p>\n "
|
1960
|
+
},
|
1961
|
+
"FacetEnabled": {
|
1962
|
+
"shape_name": "Boolean",
|
1963
|
+
"type": "boolean",
|
1964
|
+
"documentation": "\n <p>Specifies whether facets are enabled for this field. Default: False.</p>\n "
|
1965
|
+
},
|
1966
|
+
"ResultEnabled": {
|
1967
|
+
"shape_name": "Boolean",
|
1968
|
+
"type": "boolean",
|
1969
|
+
"documentation": "\n <p>Specifies whether values of this field can be returned in search results and used for ranking. Default: False.</p>\n "
|
1970
|
+
}
|
1971
|
+
},
|
1972
|
+
"documentation": "\n <p>Options for literal field. Present if <code>IndexFieldType</code> specifies the field is of type literal.</p>\n "
|
1973
|
+
},
|
1974
|
+
"TextOptions": {
|
1975
|
+
"shape_name": "TextOptions",
|
1976
|
+
"type": "structure",
|
1977
|
+
"members": {
|
1978
|
+
"DefaultValue": {
|
1979
|
+
"shape_name": "FieldValue",
|
1980
|
+
"type": "string",
|
1981
|
+
"min_length": 0,
|
1982
|
+
"max_length": 1024,
|
1983
|
+
"documentation": "\n <p>The default value for a text field. Optional.</p>\n "
|
1984
|
+
},
|
1985
|
+
"FacetEnabled": {
|
1986
|
+
"shape_name": "Boolean",
|
1987
|
+
"type": "boolean",
|
1988
|
+
"documentation": "\n <p>Specifies whether facets are enabled for this field. Default: False.</p>\n "
|
1989
|
+
},
|
1990
|
+
"ResultEnabled": {
|
1991
|
+
"shape_name": "Boolean",
|
1992
|
+
"type": "boolean",
|
1993
|
+
"documentation": "\n <p>Specifies whether values of this field can be returned in search results and used for ranking. Default: False.</p>\n "
|
1994
|
+
},
|
1995
|
+
"TextProcessor": {
|
1996
|
+
"shape_name": "FieldName",
|
1997
|
+
"type": "string",
|
1998
|
+
"min_length": 1,
|
1999
|
+
"max_length": 64,
|
2000
|
+
"pattern": "[a-z][a-z0-9_]*",
|
2001
|
+
"documentation": "\n <p>The text processor to apply to this field. Optional. Possible values:</p>\n <ul>\n <li>\n<code>cs_text_no_stemming</code>: turns off stemming for the field.</li>\n </ul>\n <p>Default: none</p>\n "
|
2002
|
+
}
|
2003
|
+
},
|
2004
|
+
"documentation": "\n <p>Options for text field. Present if <code>IndexFieldType</code> specifies the field is of type text.</p>\n "
|
2005
|
+
},
|
2006
|
+
"SourceAttributes": {
|
2007
|
+
"shape_name": "SourceAttributeList",
|
2008
|
+
"type": "list",
|
2009
|
+
"members": {
|
2010
|
+
"shape_name": "SourceAttribute",
|
2011
|
+
"type": "structure",
|
2012
|
+
"members": {
|
2013
|
+
"SourceDataFunction": {
|
2014
|
+
"shape_name": "SourceDataFunction",
|
2015
|
+
"type": "string",
|
2016
|
+
"enum": [
|
2017
|
+
"Copy",
|
2018
|
+
"TrimTitle",
|
2019
|
+
"Map"
|
2020
|
+
],
|
2021
|
+
"documentation": "\n <p>Identifies the transformation to apply when copying data from a source attribute.</p>\n ",
|
2022
|
+
"required": true
|
2023
|
+
},
|
2024
|
+
"SourceDataCopy": {
|
2025
|
+
"shape_name": "SourceData",
|
2026
|
+
"type": "structure",
|
2027
|
+
"members": {
|
2028
|
+
"SourceName": {
|
2029
|
+
"shape_name": "FieldName",
|
2030
|
+
"type": "string",
|
2031
|
+
"min_length": 1,
|
2032
|
+
"max_length": 64,
|
2033
|
+
"pattern": "[a-z][a-z0-9_]*",
|
2034
|
+
"documentation": "\n <p>The name of the document source field to add to this <code>IndexField</code>.</p>\n ",
|
2035
|
+
"required": true
|
2036
|
+
},
|
2037
|
+
"DefaultValue": {
|
2038
|
+
"shape_name": "FieldValue",
|
2039
|
+
"type": "string",
|
2040
|
+
"min_length": 0,
|
2041
|
+
"max_length": 1024,
|
2042
|
+
"documentation": "\n <p>The default value to use if the source attribute is not specified in a document. Optional.</p>\n "
|
2043
|
+
}
|
2044
|
+
},
|
2045
|
+
"documentation": "\n <p>Copies data from a source document attribute to an <code>IndexField</code>.</p>\n "
|
2046
|
+
},
|
2047
|
+
"SourceDataTrimTitle": {
|
2048
|
+
"shape_name": "SourceDataTrimTitle",
|
2049
|
+
"type": "structure",
|
2050
|
+
"members": {
|
2051
|
+
"SourceName": {
|
2052
|
+
"shape_name": "FieldName",
|
2053
|
+
"type": "string",
|
2054
|
+
"min_length": 1,
|
2055
|
+
"max_length": 64,
|
2056
|
+
"pattern": "[a-z][a-z0-9_]*",
|
2057
|
+
"documentation": "\n <p>The name of the document source field to add to this <code>IndexField</code>.</p>\n ",
|
2058
|
+
"required": true
|
2059
|
+
},
|
2060
|
+
"DefaultValue": {
|
2061
|
+
"shape_name": "FieldValue",
|
2062
|
+
"type": "string",
|
2063
|
+
"min_length": 0,
|
2064
|
+
"max_length": 1024,
|
2065
|
+
"documentation": "\n <p>The default value to use if the source attribute is not specified in a document. Optional.</p>\n "
|
2066
|
+
},
|
2067
|
+
"Separator": {
|
2068
|
+
"shape_name": "String",
|
2069
|
+
"type": "string",
|
2070
|
+
"documentation": "\n <p>The separator that follows the text to trim.</p>\n "
|
2071
|
+
},
|
2072
|
+
"Language": {
|
2073
|
+
"shape_name": "Language",
|
2074
|
+
"type": "string",
|
2075
|
+
"pattern": "[a-zA-Z]{2,8}(?:-[a-zA-Z]{2,8})*",
|
2076
|
+
"documentation": "\n <p>An <a href=\"http://tools.ietf.org/html/rfc4646\">IETF RFC 4646</a> language code. Only the primary language is considered. English (en) is currently the only supported language.</p>\n "
|
2077
|
+
}
|
2078
|
+
},
|
2079
|
+
"documentation": "\n <p>Trims common title words from a source document attribute when populating an <code>IndexField</code>. This can be used to create an <code>IndexField</code> you can use for sorting.</p>\n "
|
2080
|
+
},
|
2081
|
+
"SourceDataMap": {
|
2082
|
+
"shape_name": "SourceDataMap",
|
2083
|
+
"type": "structure",
|
2084
|
+
"members": {
|
2085
|
+
"SourceName": {
|
2086
|
+
"shape_name": "FieldName",
|
2087
|
+
"type": "string",
|
2088
|
+
"min_length": 1,
|
2089
|
+
"max_length": 64,
|
2090
|
+
"pattern": "[a-z][a-z0-9_]*",
|
2091
|
+
"documentation": "\n <p>The name of the document source field to add to this <code>IndexField</code>.</p>\n ",
|
2092
|
+
"required": true
|
2093
|
+
},
|
2094
|
+
"DefaultValue": {
|
2095
|
+
"shape_name": "FieldValue",
|
2096
|
+
"type": "string",
|
2097
|
+
"min_length": 0,
|
2098
|
+
"max_length": 1024,
|
2099
|
+
"documentation": "\n <p>The default value to use if the source attribute is not specified in a document. Optional.</p>\n "
|
2100
|
+
},
|
2101
|
+
"Cases": {
|
2102
|
+
"shape_name": "StringCaseMap",
|
2103
|
+
"type": "map",
|
2104
|
+
"keys": {
|
2105
|
+
"shape_name": "FieldValue",
|
2106
|
+
"type": "string",
|
2107
|
+
"min_length": 0,
|
2108
|
+
"max_length": 1024,
|
2109
|
+
"documentation": "\n <p>The value of a field or source document attribute.</p>\n "
|
2110
|
+
},
|
2111
|
+
"members": {
|
2112
|
+
"shape_name": "FieldValue",
|
2113
|
+
"type": "string",
|
2114
|
+
"min_length": 0,
|
2115
|
+
"max_length": 1024,
|
2116
|
+
"documentation": "\n <p>The value of a field or source document attribute.</p>\n "
|
2117
|
+
},
|
2118
|
+
"documentation": "\n <p>A map that translates source field values to custom values.</p>\n "
|
2119
|
+
}
|
2120
|
+
},
|
2121
|
+
"documentation": "\n <p>Maps source document attribute values to new values when populating the <code>IndexField</code>.</p>\n "
|
2122
|
+
}
|
2123
|
+
},
|
2124
|
+
"documentation": "\n <p>Identifies the source data for an index field. An optional data transformation can be applied to the source data when populating the index field. By default, the value of the source attribute is copied to the index field.</p>\n "
|
2125
|
+
},
|
2126
|
+
"documentation": "\n <p>An optional list of source attributes that provide data for this index field. If not specified, the data is pulled from a source attribute with the same name as this <code>IndexField</code>. When one or more source attributes are specified, an optional data transformation can be applied to the source data when populating the index field. You can configure a maximum of 20 sources for an <code>IndexField</code>.</p>\n "
|
2127
|
+
}
|
2128
|
+
},
|
2129
|
+
"documentation": "\n <p>Defines a field in the index, including its name, type, and the source of its data. The <code>IndexFieldType</code> indicates which of the options will be present. It is invalid to specify options for a type other than the <code>IndexFieldType</code>.</p>\n ",
|
2130
|
+
"required": true
|
2131
|
+
},
|
2132
|
+
"Status": {
|
2133
|
+
"shape_name": "OptionStatus",
|
2134
|
+
"type": "structure",
|
2135
|
+
"members": {
|
2136
|
+
"CreationDate": {
|
2137
|
+
"shape_name": "UpdateTimestamp",
|
2138
|
+
"type": "timestamp",
|
2139
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
2140
|
+
"required": true
|
2141
|
+
},
|
2142
|
+
"UpdateDate": {
|
2143
|
+
"shape_name": "UpdateTimestamp",
|
2144
|
+
"type": "timestamp",
|
2145
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
2146
|
+
"required": true
|
2147
|
+
},
|
2148
|
+
"UpdateVersion": {
|
2149
|
+
"shape_name": "UIntValue",
|
2150
|
+
"type": "integer",
|
2151
|
+
"min_length": 0,
|
2152
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
2153
|
+
},
|
2154
|
+
"State": {
|
2155
|
+
"shape_name": "OptionState",
|
2156
|
+
"type": "string",
|
2157
|
+
"enum": [
|
2158
|
+
"RequiresIndexDocuments",
|
2159
|
+
"Processing",
|
2160
|
+
"Active"
|
2161
|
+
],
|
2162
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
2163
|
+
"required": true
|
2164
|
+
},
|
2165
|
+
"PendingDeletion": {
|
2166
|
+
"shape_name": "Boolean",
|
2167
|
+
"type": "boolean",
|
2168
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
2169
|
+
}
|
2170
|
+
},
|
2171
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
2172
|
+
"required": true
|
2173
|
+
}
|
2174
|
+
},
|
2175
|
+
"documentation": "\n <p>The value of an <code>IndexField</code> and its current status.</p>\n "
|
2176
|
+
},
|
2177
|
+
"documentation": "\n <p>The index fields configured for the domain.</p>\n ",
|
2178
|
+
"required": true
|
2179
|
+
}
|
2180
|
+
},
|
2181
|
+
"documentation": "\n <p>A response message that contains the index fields for a search domain.</p>\n "
|
2182
|
+
},
|
2183
|
+
"errors": [
|
2184
|
+
{
|
2185
|
+
"shape_name": "BaseException",
|
2186
|
+
"type": "structure",
|
2187
|
+
"members": {
|
2188
|
+
"Code": {
|
2189
|
+
"shape_name": "ErrorCode",
|
2190
|
+
"type": "string",
|
2191
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
2192
|
+
},
|
2193
|
+
"Message": {
|
2194
|
+
"shape_name": "ErrorMessage",
|
2195
|
+
"type": "string",
|
2196
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
2197
|
+
}
|
2198
|
+
},
|
2199
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
2200
|
+
},
|
2201
|
+
{
|
2202
|
+
"shape_name": "InternalException",
|
2203
|
+
"type": "structure",
|
2204
|
+
"members": {
|
2205
|
+
},
|
2206
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
2207
|
+
},
|
2208
|
+
{
|
2209
|
+
"shape_name": "ResourceNotFoundException",
|
2210
|
+
"type": "structure",
|
2211
|
+
"members": {
|
2212
|
+
},
|
2213
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
2214
|
+
}
|
2215
|
+
],
|
2216
|
+
"documentation": "\n <p>Gets information about the index fields configured for the search domain. Can be limited to specific fields by name. Shows all fields by default.</p>\n "
|
2217
|
+
},
|
2218
|
+
"DescribeRankExpressions": {
|
2219
|
+
"name": "DescribeRankExpressions",
|
2220
|
+
"input": {
|
2221
|
+
"shape_name": "DescribeRankExpressionsRequest",
|
2222
|
+
"type": "structure",
|
2223
|
+
"members": {
|
2224
|
+
"DomainName": {
|
2225
|
+
"shape_name": "DomainName",
|
2226
|
+
"type": "string",
|
2227
|
+
"min_length": 3,
|
2228
|
+
"max_length": 28,
|
2229
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
2230
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
2231
|
+
"required": true
|
2232
|
+
},
|
2233
|
+
"RankNames": {
|
2234
|
+
"shape_name": "FieldNameList",
|
2235
|
+
"type": "list",
|
2236
|
+
"members": {
|
2237
|
+
"shape_name": "FieldName",
|
2238
|
+
"type": "string",
|
2239
|
+
"min_length": 1,
|
2240
|
+
"max_length": 64,
|
2241
|
+
"pattern": "[a-z][a-z0-9_]*",
|
2242
|
+
"documentation": "\n <p>A string that represents the name of an index field. Field names must begin with a letter and can contain the following\n characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names \"body\", \"docid\", and \"text_relevance\" are reserved and cannot be specified as field or rank expression names.</p>\n\n "
|
2243
|
+
},
|
2244
|
+
"documentation": "\n <p>Limits the <code>DescribeRankExpressions</code> response to the specified fields.</p>\n "
|
2245
|
+
}
|
2246
|
+
},
|
2247
|
+
"documentation": null
|
2248
|
+
},
|
2249
|
+
"output": {
|
2250
|
+
"shape_name": "DescribeRankExpressionsResponse",
|
2251
|
+
"type": "structure",
|
2252
|
+
"members": {
|
2253
|
+
"RankExpressions": {
|
2254
|
+
"shape_name": "RankExpressionStatusList",
|
2255
|
+
"type": "list",
|
2256
|
+
"members": {
|
2257
|
+
"shape_name": "RankExpressionStatus",
|
2258
|
+
"type": "structure",
|
2259
|
+
"members": {
|
2260
|
+
"Options": {
|
2261
|
+
"shape_name": "NamedRankExpression",
|
2262
|
+
"type": "structure",
|
2263
|
+
"members": {
|
2264
|
+
"RankName": {
|
2265
|
+
"shape_name": "FieldName",
|
2266
|
+
"type": "string",
|
2267
|
+
"min_length": 1,
|
2268
|
+
"max_length": 64,
|
2269
|
+
"pattern": "[a-z][a-z0-9_]*",
|
2270
|
+
"documentation": "\n <p>The name of a rank expression. Rank expression names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names \"body\", \"docid\", and \"text_relevance\" are reserved and cannot be specified as field or rank expression names.</p>\n ",
|
2271
|
+
"required": true
|
2272
|
+
},
|
2273
|
+
"RankExpression": {
|
2274
|
+
"shape_name": "RankExpression",
|
2275
|
+
"type": "string",
|
2276
|
+
"min_length": 1,
|
2277
|
+
"max_length": 10240,
|
2278
|
+
"documentation": "\n <p>The expression to evaluate for ranking or thresholding while processing a search request. The <code>RankExpression</code> syntax is based on JavaScript expressions and supports:</p>\n<ul>\n <li>Integer, floating point, hex and octal literals</li>\n <li>Shortcut evaluation of logical operators such that an expression <code>a || b</code> evaluates to the value <code>a</code> if <code>a</code> is <code>true</code> without evaluting <code>b</code> at all</li>\n <li>JavaScript order of precendence for operators</li>\n <li>Arithmetic operators: <code>+ - * / %</code>\n</li>\n <li>Boolean operators (including the ternary operator)</li>\n <li>Bitwise operators</li>\n <li>Comparison operators</li>\n <li>Common mathematic functions: <code>abs ceil erf exp floor lgamma ln log2 log10 max min sqrt pow</code>\n</li>\n <li>Trigonometric library functions: <code>acosh acos asinh asin atanh atan cosh cos sinh sin tanh tan</code>\n</li>\n <li>Random generation of a number between 0 and 1: <code>rand</code>\n</li>\n <li>Current time in epoch: <code>time</code>\n</li>\n <li>The <code>min max</code> functions that operate on a variable argument list</li>\n </ul>\n\n <p>Intermediate results are calculated as double precision floating point values. The final return value of a <code>RankExpression</code> is automatically converted from floating point to a 32-bit unsigned integer by rounding to the nearest integer, with a natural floor of 0 and a ceiling of max(uint32_t), 4294967295. Mathematical errors such as dividing by 0 will fail during evaluation and return a value of 0.</p>\n <p>The source data for a <code>RankExpression</code> can be the name of an <code>IndexField</code> of type uint, another <code>RankExpression</code> or the reserved name <i>text_relevance</i>. The text_relevance source is defined to return an integer from 0 to 1000 (inclusive) to indicate how relevant a document is to the search request, taking into account repetition of search terms in the document and proximity of search terms to each other in each matching <code>IndexField</code> in the document.</p>\n <p>For more information about using rank expressions to customize ranking, see the Amazon CloudSearch Developer Guide.</p>\n ",
|
2279
|
+
"required": true
|
2280
|
+
}
|
2281
|
+
},
|
2282
|
+
"documentation": "\n <p>The expression that is evaluated for ranking or thresholding while processing a search request.</p>\n ",
|
2283
|
+
"required": true
|
2284
|
+
},
|
2285
|
+
"Status": {
|
2286
|
+
"shape_name": "OptionStatus",
|
2287
|
+
"type": "structure",
|
2288
|
+
"members": {
|
2289
|
+
"CreationDate": {
|
2290
|
+
"shape_name": "UpdateTimestamp",
|
2291
|
+
"type": "timestamp",
|
2292
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
2293
|
+
"required": true
|
2294
|
+
},
|
2295
|
+
"UpdateDate": {
|
2296
|
+
"shape_name": "UpdateTimestamp",
|
2297
|
+
"type": "timestamp",
|
2298
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
2299
|
+
"required": true
|
2300
|
+
},
|
2301
|
+
"UpdateVersion": {
|
2302
|
+
"shape_name": "UIntValue",
|
2303
|
+
"type": "integer",
|
2304
|
+
"min_length": 0,
|
2305
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
2306
|
+
},
|
2307
|
+
"State": {
|
2308
|
+
"shape_name": "OptionState",
|
2309
|
+
"type": "string",
|
2310
|
+
"enum": [
|
2311
|
+
"RequiresIndexDocuments",
|
2312
|
+
"Processing",
|
2313
|
+
"Active"
|
2314
|
+
],
|
2315
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
2316
|
+
"required": true
|
2317
|
+
},
|
2318
|
+
"PendingDeletion": {
|
2319
|
+
"shape_name": "Boolean",
|
2320
|
+
"type": "boolean",
|
2321
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
2322
|
+
}
|
2323
|
+
},
|
2324
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
2325
|
+
"required": true
|
2326
|
+
}
|
2327
|
+
},
|
2328
|
+
"documentation": "\n <p>The value of a <code>RankExpression</code> and its current status.</p>\n "
|
2329
|
+
},
|
2330
|
+
"documentation": "\n <p>The rank expressions configured for the domain.</p>\n ",
|
2331
|
+
"required": true
|
2332
|
+
}
|
2333
|
+
},
|
2334
|
+
"documentation": "\n <p>A response message that contains the rank expressions for a search domain.</p>\n "
|
2335
|
+
},
|
2336
|
+
"errors": [
|
2337
|
+
{
|
2338
|
+
"shape_name": "BaseException",
|
2339
|
+
"type": "structure",
|
2340
|
+
"members": {
|
2341
|
+
"Code": {
|
2342
|
+
"shape_name": "ErrorCode",
|
2343
|
+
"type": "string",
|
2344
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
2345
|
+
},
|
2346
|
+
"Message": {
|
2347
|
+
"shape_name": "ErrorMessage",
|
2348
|
+
"type": "string",
|
2349
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
2350
|
+
}
|
2351
|
+
},
|
2352
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
2353
|
+
},
|
2354
|
+
{
|
2355
|
+
"shape_name": "InternalException",
|
2356
|
+
"type": "structure",
|
2357
|
+
"members": {
|
2358
|
+
},
|
2359
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
2360
|
+
},
|
2361
|
+
{
|
2362
|
+
"shape_name": "ResourceNotFoundException",
|
2363
|
+
"type": "structure",
|
2364
|
+
"members": {
|
2365
|
+
},
|
2366
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
2367
|
+
}
|
2368
|
+
],
|
2369
|
+
"documentation": "\n <p>Gets the rank expressions configured for the search domain. Can be limited to specific rank expressions by name. Shows all rank expressions by default. </p>\n "
|
2370
|
+
},
|
2371
|
+
"DescribeServiceAccessPolicies": {
|
2372
|
+
"name": "DescribeServiceAccessPolicies",
|
2373
|
+
"input": {
|
2374
|
+
"shape_name": "DescribeServiceAccessPoliciesRequest",
|
2375
|
+
"type": "structure",
|
2376
|
+
"members": {
|
2377
|
+
"DomainName": {
|
2378
|
+
"shape_name": "DomainName",
|
2379
|
+
"type": "string",
|
2380
|
+
"min_length": 3,
|
2381
|
+
"max_length": 28,
|
2382
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
2383
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
2384
|
+
"required": true
|
2385
|
+
}
|
2386
|
+
},
|
2387
|
+
"documentation": null
|
2388
|
+
},
|
2389
|
+
"output": {
|
2390
|
+
"shape_name": "DescribeServiceAccessPoliciesResponse",
|
2391
|
+
"type": "structure",
|
2392
|
+
"members": {
|
2393
|
+
"AccessPolicies": {
|
2394
|
+
"shape_name": "AccessPoliciesStatus",
|
2395
|
+
"type": "structure",
|
2396
|
+
"members": {
|
2397
|
+
"Options": {
|
2398
|
+
"shape_name": "PolicyDocument",
|
2399
|
+
"type": "string",
|
2400
|
+
"documentation": "\n <p>An IAM access policy as described in <a href=\"http://docs.amazonwebservices.com/IAM/latest/UserGuide/index.html?AccessPolicyLanguage.html\" target=\"_blank\">The Access Policy Language</a> in <i>Using AWS Identity and Access Management</i>. The maximum size of an access policy document is 100 KB.</p>\n <p>Example: <code>{\"Statement\": [{\"Effect\":\"Allow\",\n \"Action\": \"*\",\n \"Resource\":\n \"arn:aws:cs:us-east-1:1234567890:search/movies\",\n \"Condition\": \n { \"IpAddress\": { aws:SourceIp\": [\"203.0.113.1/32\"] }\n }},\n {\"Effect\":\"Allow\",\n \"Action\": \"*\",\n \"Resource\":\n \"arn:aws:cs:us-east-1:1234567890:documents/movies\",\n \"Condition\": \n { \"IpAddress\": { aws:SourceIp\": [\"203.0.113.1/32\"] }\n }}\n ]\n}</code></p>\n ",
|
2401
|
+
"required": true
|
2402
|
+
},
|
2403
|
+
"Status": {
|
2404
|
+
"shape_name": "OptionStatus",
|
2405
|
+
"type": "structure",
|
2406
|
+
"members": {
|
2407
|
+
"CreationDate": {
|
2408
|
+
"shape_name": "UpdateTimestamp",
|
2409
|
+
"type": "timestamp",
|
2410
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
2411
|
+
"required": true
|
2412
|
+
},
|
2413
|
+
"UpdateDate": {
|
2414
|
+
"shape_name": "UpdateTimestamp",
|
2415
|
+
"type": "timestamp",
|
2416
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
2417
|
+
"required": true
|
2418
|
+
},
|
2419
|
+
"UpdateVersion": {
|
2420
|
+
"shape_name": "UIntValue",
|
2421
|
+
"type": "integer",
|
2422
|
+
"min_length": 0,
|
2423
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
2424
|
+
},
|
2425
|
+
"State": {
|
2426
|
+
"shape_name": "OptionState",
|
2427
|
+
"type": "string",
|
2428
|
+
"enum": [
|
2429
|
+
"RequiresIndexDocuments",
|
2430
|
+
"Processing",
|
2431
|
+
"Active"
|
2432
|
+
],
|
2433
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
2434
|
+
"required": true
|
2435
|
+
},
|
2436
|
+
"PendingDeletion": {
|
2437
|
+
"shape_name": "Boolean",
|
2438
|
+
"type": "boolean",
|
2439
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
2440
|
+
}
|
2441
|
+
},
|
2442
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
2443
|
+
"required": true
|
2444
|
+
}
|
2445
|
+
},
|
2446
|
+
"documentation": "\n <p>A <code>PolicyDocument</code> that specifies access policies for the search domain's services, and the current status of those policies.</p>\n ",
|
2447
|
+
"required": true
|
2448
|
+
}
|
2449
|
+
},
|
2450
|
+
"documentation": "\n <p>A response message that contains the access policies for a domain.</p>\n "
|
2451
|
+
},
|
2452
|
+
"errors": [
|
2453
|
+
{
|
2454
|
+
"shape_name": "BaseException",
|
2455
|
+
"type": "structure",
|
2456
|
+
"members": {
|
2457
|
+
"Code": {
|
2458
|
+
"shape_name": "ErrorCode",
|
2459
|
+
"type": "string",
|
2460
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
2461
|
+
},
|
2462
|
+
"Message": {
|
2463
|
+
"shape_name": "ErrorMessage",
|
2464
|
+
"type": "string",
|
2465
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
2466
|
+
}
|
2467
|
+
},
|
2468
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
2469
|
+
},
|
2470
|
+
{
|
2471
|
+
"shape_name": "InternalException",
|
2472
|
+
"type": "structure",
|
2473
|
+
"members": {
|
2474
|
+
},
|
2475
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
2476
|
+
},
|
2477
|
+
{
|
2478
|
+
"shape_name": "ResourceNotFoundException",
|
2479
|
+
"type": "structure",
|
2480
|
+
"members": {
|
2481
|
+
},
|
2482
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
2483
|
+
}
|
2484
|
+
],
|
2485
|
+
"documentation": "\n <p>Gets information about the resource-based policies that control access to the domain's document and search services.</p>\n "
|
2486
|
+
},
|
2487
|
+
"DescribeStemmingOptions": {
|
2488
|
+
"name": "DescribeStemmingOptions",
|
2489
|
+
"input": {
|
2490
|
+
"shape_name": "DescribeStemmingOptionsRequest",
|
2491
|
+
"type": "structure",
|
2492
|
+
"members": {
|
2493
|
+
"DomainName": {
|
2494
|
+
"shape_name": "DomainName",
|
2495
|
+
"type": "string",
|
2496
|
+
"min_length": 3,
|
2497
|
+
"max_length": 28,
|
2498
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
2499
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
2500
|
+
"required": true
|
2501
|
+
}
|
2502
|
+
},
|
2503
|
+
"documentation": null
|
2504
|
+
},
|
2505
|
+
"output": {
|
2506
|
+
"shape_name": "DescribeStemmingOptionsResponse",
|
2507
|
+
"type": "structure",
|
2508
|
+
"members": {
|
2509
|
+
"Stems": {
|
2510
|
+
"shape_name": "StemmingOptionsStatus",
|
2511
|
+
"type": "structure",
|
2512
|
+
"members": {
|
2513
|
+
"Options": {
|
2514
|
+
"shape_name": "StemsDocument",
|
2515
|
+
"type": "string",
|
2516
|
+
"documentation": "\n <p>Maps terms to their stems, serialized as a JSON document. The document has a single object with one property \"stems\" whose value is an object mapping terms to their stems. The maximum size of a stemming document is 500 KB. Example: <code>{ \"stems\": {\"people\": \"person\", \"walking\": \"walk\"} }</code></p>\n ",
|
2517
|
+
"required": true
|
2518
|
+
},
|
2519
|
+
"Status": {
|
2520
|
+
"shape_name": "OptionStatus",
|
2521
|
+
"type": "structure",
|
2522
|
+
"members": {
|
2523
|
+
"CreationDate": {
|
2524
|
+
"shape_name": "UpdateTimestamp",
|
2525
|
+
"type": "timestamp",
|
2526
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
2527
|
+
"required": true
|
2528
|
+
},
|
2529
|
+
"UpdateDate": {
|
2530
|
+
"shape_name": "UpdateTimestamp",
|
2531
|
+
"type": "timestamp",
|
2532
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
2533
|
+
"required": true
|
2534
|
+
},
|
2535
|
+
"UpdateVersion": {
|
2536
|
+
"shape_name": "UIntValue",
|
2537
|
+
"type": "integer",
|
2538
|
+
"min_length": 0,
|
2539
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
2540
|
+
},
|
2541
|
+
"State": {
|
2542
|
+
"shape_name": "OptionState",
|
2543
|
+
"type": "string",
|
2544
|
+
"enum": [
|
2545
|
+
"RequiresIndexDocuments",
|
2546
|
+
"Processing",
|
2547
|
+
"Active"
|
2548
|
+
],
|
2549
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
2550
|
+
"required": true
|
2551
|
+
},
|
2552
|
+
"PendingDeletion": {
|
2553
|
+
"shape_name": "Boolean",
|
2554
|
+
"type": "boolean",
|
2555
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
2556
|
+
}
|
2557
|
+
},
|
2558
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
2559
|
+
"required": true
|
2560
|
+
}
|
2561
|
+
},
|
2562
|
+
"documentation": "\n <p>The stemming options configured for this search domain and the current status of those options.</p>\n ",
|
2563
|
+
"required": true
|
2564
|
+
}
|
2565
|
+
},
|
2566
|
+
"documentation": "\n <p>A response message that contains the stemming options for a search domain.</p>\n "
|
2567
|
+
},
|
2568
|
+
"errors": [
|
2569
|
+
{
|
2570
|
+
"shape_name": "BaseException",
|
2571
|
+
"type": "structure",
|
2572
|
+
"members": {
|
2573
|
+
"Code": {
|
2574
|
+
"shape_name": "ErrorCode",
|
2575
|
+
"type": "string",
|
2576
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
2577
|
+
},
|
2578
|
+
"Message": {
|
2579
|
+
"shape_name": "ErrorMessage",
|
2580
|
+
"type": "string",
|
2581
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
2582
|
+
}
|
2583
|
+
},
|
2584
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
2585
|
+
},
|
2586
|
+
{
|
2587
|
+
"shape_name": "InternalException",
|
2588
|
+
"type": "structure",
|
2589
|
+
"members": {
|
2590
|
+
},
|
2591
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
2592
|
+
},
|
2593
|
+
{
|
2594
|
+
"shape_name": "ResourceNotFoundException",
|
2595
|
+
"type": "structure",
|
2596
|
+
"members": {
|
2597
|
+
},
|
2598
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
2599
|
+
}
|
2600
|
+
],
|
2601
|
+
"documentation": "\n <p>Gets the stemming dictionary configured for the search domain.</p>\n "
|
2602
|
+
},
|
2603
|
+
"DescribeStopwordOptions": {
|
2604
|
+
"name": "DescribeStopwordOptions",
|
2605
|
+
"input": {
|
2606
|
+
"shape_name": "DescribeStopwordOptionsRequest",
|
2607
|
+
"type": "structure",
|
2608
|
+
"members": {
|
2609
|
+
"DomainName": {
|
2610
|
+
"shape_name": "DomainName",
|
2611
|
+
"type": "string",
|
2612
|
+
"min_length": 3,
|
2613
|
+
"max_length": 28,
|
2614
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
2615
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
2616
|
+
"required": true
|
2617
|
+
}
|
2618
|
+
},
|
2619
|
+
"documentation": null
|
2620
|
+
},
|
2621
|
+
"output": {
|
2622
|
+
"shape_name": "DescribeStopwordOptionsResponse",
|
2623
|
+
"type": "structure",
|
2624
|
+
"members": {
|
2625
|
+
"Stopwords": {
|
2626
|
+
"shape_name": "StopwordOptionsStatus",
|
2627
|
+
"type": "structure",
|
2628
|
+
"members": {
|
2629
|
+
"Options": {
|
2630
|
+
"shape_name": "StopwordsDocument",
|
2631
|
+
"type": "string",
|
2632
|
+
"documentation": "\n <p>Lists stopwords serialized as a JSON document. The document has a single object with one property \"stopwords\" whose value is an array of strings. The maximum size of a stopwords document is 10 KB. Example: <code>{ \"stopwords\": [\"a\", \"an\", \"the\", \"of\"] }</code></p>\n ",
|
2633
|
+
"required": true
|
2634
|
+
},
|
2635
|
+
"Status": {
|
2636
|
+
"shape_name": "OptionStatus",
|
2637
|
+
"type": "structure",
|
2638
|
+
"members": {
|
2639
|
+
"CreationDate": {
|
2640
|
+
"shape_name": "UpdateTimestamp",
|
2641
|
+
"type": "timestamp",
|
2642
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
2643
|
+
"required": true
|
2644
|
+
},
|
2645
|
+
"UpdateDate": {
|
2646
|
+
"shape_name": "UpdateTimestamp",
|
2647
|
+
"type": "timestamp",
|
2648
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
2649
|
+
"required": true
|
2650
|
+
},
|
2651
|
+
"UpdateVersion": {
|
2652
|
+
"shape_name": "UIntValue",
|
2653
|
+
"type": "integer",
|
2654
|
+
"min_length": 0,
|
2655
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
2656
|
+
},
|
2657
|
+
"State": {
|
2658
|
+
"shape_name": "OptionState",
|
2659
|
+
"type": "string",
|
2660
|
+
"enum": [
|
2661
|
+
"RequiresIndexDocuments",
|
2662
|
+
"Processing",
|
2663
|
+
"Active"
|
2664
|
+
],
|
2665
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
2666
|
+
"required": true
|
2667
|
+
},
|
2668
|
+
"PendingDeletion": {
|
2669
|
+
"shape_name": "Boolean",
|
2670
|
+
"type": "boolean",
|
2671
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
2672
|
+
}
|
2673
|
+
},
|
2674
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
2675
|
+
"required": true
|
2676
|
+
}
|
2677
|
+
},
|
2678
|
+
"documentation": "\n <p>The stopword options configured for this search domain and the current status of those options.</p>\n ",
|
2679
|
+
"required": true
|
2680
|
+
}
|
2681
|
+
},
|
2682
|
+
"documentation": "\n <p>A response message that contains the stopword options for a search domain.</p>\n "
|
2683
|
+
},
|
2684
|
+
"errors": [
|
2685
|
+
{
|
2686
|
+
"shape_name": "BaseException",
|
2687
|
+
"type": "structure",
|
2688
|
+
"members": {
|
2689
|
+
"Code": {
|
2690
|
+
"shape_name": "ErrorCode",
|
2691
|
+
"type": "string",
|
2692
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
2693
|
+
},
|
2694
|
+
"Message": {
|
2695
|
+
"shape_name": "ErrorMessage",
|
2696
|
+
"type": "string",
|
2697
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
2698
|
+
}
|
2699
|
+
},
|
2700
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
2701
|
+
},
|
2702
|
+
{
|
2703
|
+
"shape_name": "InternalException",
|
2704
|
+
"type": "structure",
|
2705
|
+
"members": {
|
2706
|
+
},
|
2707
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
2708
|
+
},
|
2709
|
+
{
|
2710
|
+
"shape_name": "ResourceNotFoundException",
|
2711
|
+
"type": "structure",
|
2712
|
+
"members": {
|
2713
|
+
},
|
2714
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
2715
|
+
}
|
2716
|
+
],
|
2717
|
+
"documentation": "\n <p>Gets the stopwords configured for the search domain.</p>\n "
|
2718
|
+
},
|
2719
|
+
"DescribeSynonymOptions": {
|
2720
|
+
"name": "DescribeSynonymOptions",
|
2721
|
+
"input": {
|
2722
|
+
"shape_name": "DescribeSynonymOptionsRequest",
|
2723
|
+
"type": "structure",
|
2724
|
+
"members": {
|
2725
|
+
"DomainName": {
|
2726
|
+
"shape_name": "DomainName",
|
2727
|
+
"type": "string",
|
2728
|
+
"min_length": 3,
|
2729
|
+
"max_length": 28,
|
2730
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
2731
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
2732
|
+
"required": true
|
2733
|
+
}
|
2734
|
+
},
|
2735
|
+
"documentation": null
|
2736
|
+
},
|
2737
|
+
"output": {
|
2738
|
+
"shape_name": "DescribeSynonymOptionsResponse",
|
2739
|
+
"type": "structure",
|
2740
|
+
"members": {
|
2741
|
+
"Synonyms": {
|
2742
|
+
"shape_name": "SynonymOptionsStatus",
|
2743
|
+
"type": "structure",
|
2744
|
+
"members": {
|
2745
|
+
"Options": {
|
2746
|
+
"shape_name": "SynonymsDocument",
|
2747
|
+
"type": "string",
|
2748
|
+
"documentation": "\n <p>Maps terms to their synonyms, serialized as a JSON document. The document has a single object with one property \"synonyms\" whose value is an object mapping terms to their synonyms. Each synonym is a simple string or an array of strings. The maximum size of a stopwords document is 100 KB. Example: <code>{ \"synonyms\": {\"cat\": [\"feline\", \"kitten\"], \"puppy\": \"dog\"} }</code></p>\n ",
|
2749
|
+
"required": true
|
2750
|
+
},
|
2751
|
+
"Status": {
|
2752
|
+
"shape_name": "OptionStatus",
|
2753
|
+
"type": "structure",
|
2754
|
+
"members": {
|
2755
|
+
"CreationDate": {
|
2756
|
+
"shape_name": "UpdateTimestamp",
|
2757
|
+
"type": "timestamp",
|
2758
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
2759
|
+
"required": true
|
2760
|
+
},
|
2761
|
+
"UpdateDate": {
|
2762
|
+
"shape_name": "UpdateTimestamp",
|
2763
|
+
"type": "timestamp",
|
2764
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
2765
|
+
"required": true
|
2766
|
+
},
|
2767
|
+
"UpdateVersion": {
|
2768
|
+
"shape_name": "UIntValue",
|
2769
|
+
"type": "integer",
|
2770
|
+
"min_length": 0,
|
2771
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
2772
|
+
},
|
2773
|
+
"State": {
|
2774
|
+
"shape_name": "OptionState",
|
2775
|
+
"type": "string",
|
2776
|
+
"enum": [
|
2777
|
+
"RequiresIndexDocuments",
|
2778
|
+
"Processing",
|
2779
|
+
"Active"
|
2780
|
+
],
|
2781
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
2782
|
+
"required": true
|
2783
|
+
},
|
2784
|
+
"PendingDeletion": {
|
2785
|
+
"shape_name": "Boolean",
|
2786
|
+
"type": "boolean",
|
2787
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
2788
|
+
}
|
2789
|
+
},
|
2790
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
2791
|
+
"required": true
|
2792
|
+
}
|
2793
|
+
},
|
2794
|
+
"documentation": "\n <p>The synonym options configured for this search domain and the current status of those options.</p>\n ",
|
2795
|
+
"required": true
|
2796
|
+
}
|
2797
|
+
},
|
2798
|
+
"documentation": "\n <p>A response message that contains the synonym options for a search domain.</p>\n "
|
2799
|
+
},
|
2800
|
+
"errors": [
|
2801
|
+
{
|
2802
|
+
"shape_name": "BaseException",
|
2803
|
+
"type": "structure",
|
2804
|
+
"members": {
|
2805
|
+
"Code": {
|
2806
|
+
"shape_name": "ErrorCode",
|
2807
|
+
"type": "string",
|
2808
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
2809
|
+
},
|
2810
|
+
"Message": {
|
2811
|
+
"shape_name": "ErrorMessage",
|
2812
|
+
"type": "string",
|
2813
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
2814
|
+
}
|
2815
|
+
},
|
2816
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
2817
|
+
},
|
2818
|
+
{
|
2819
|
+
"shape_name": "InternalException",
|
2820
|
+
"type": "structure",
|
2821
|
+
"members": {
|
2822
|
+
},
|
2823
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
2824
|
+
},
|
2825
|
+
{
|
2826
|
+
"shape_name": "ResourceNotFoundException",
|
2827
|
+
"type": "structure",
|
2828
|
+
"members": {
|
2829
|
+
},
|
2830
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
2831
|
+
}
|
2832
|
+
],
|
2833
|
+
"documentation": "\n <p>Gets the synonym dictionary configured for the search domain.</p>\n "
|
2834
|
+
},
|
2835
|
+
"IndexDocuments": {
|
2836
|
+
"name": "IndexDocuments",
|
2837
|
+
"input": {
|
2838
|
+
"shape_name": "IndexDocumentsRequest",
|
2839
|
+
"type": "structure",
|
2840
|
+
"members": {
|
2841
|
+
"DomainName": {
|
2842
|
+
"shape_name": "DomainName",
|
2843
|
+
"type": "string",
|
2844
|
+
"min_length": 3,
|
2845
|
+
"max_length": 28,
|
2846
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
2847
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
2848
|
+
"required": true
|
2849
|
+
}
|
2850
|
+
},
|
2851
|
+
"documentation": null
|
2852
|
+
},
|
2853
|
+
"output": {
|
2854
|
+
"shape_name": "IndexDocumentsResponse",
|
2855
|
+
"type": "structure",
|
2856
|
+
"members": {
|
2857
|
+
"FieldNames": {
|
2858
|
+
"shape_name": "FieldNameList",
|
2859
|
+
"type": "list",
|
2860
|
+
"members": {
|
2861
|
+
"shape_name": "FieldName",
|
2862
|
+
"type": "string",
|
2863
|
+
"min_length": 1,
|
2864
|
+
"max_length": 64,
|
2865
|
+
"pattern": "[a-z][a-z0-9_]*",
|
2866
|
+
"documentation": "\n <p>A string that represents the name of an index field. Field names must begin with a letter and can contain the following\n characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names \"body\", \"docid\", and \"text_relevance\" are reserved and cannot be specified as field or rank expression names.</p>\n\n "
|
2867
|
+
},
|
2868
|
+
"documentation": "\n <p>The names of the fields that are currently being processed due to an <code>IndexDocuments</code> action.</p>\n "
|
2869
|
+
}
|
2870
|
+
},
|
2871
|
+
"documentation": "\n <p>The result of an <code>IndexDocuments</code> action.</p>\n "
|
2872
|
+
},
|
2873
|
+
"errors": [
|
2874
|
+
{
|
2875
|
+
"shape_name": "BaseException",
|
2876
|
+
"type": "structure",
|
2877
|
+
"members": {
|
2878
|
+
"Code": {
|
2879
|
+
"shape_name": "ErrorCode",
|
2880
|
+
"type": "string",
|
2881
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
2882
|
+
},
|
2883
|
+
"Message": {
|
2884
|
+
"shape_name": "ErrorMessage",
|
2885
|
+
"type": "string",
|
2886
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
2887
|
+
}
|
2888
|
+
},
|
2889
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
2890
|
+
},
|
2891
|
+
{
|
2892
|
+
"shape_name": "InternalException",
|
2893
|
+
"type": "structure",
|
2894
|
+
"members": {
|
2895
|
+
},
|
2896
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
2897
|
+
},
|
2898
|
+
{
|
2899
|
+
"shape_name": "ResourceNotFoundException",
|
2900
|
+
"type": "structure",
|
2901
|
+
"members": {
|
2902
|
+
},
|
2903
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
2904
|
+
}
|
2905
|
+
],
|
2906
|
+
"documentation": "\n <p>Tells the search domain to start indexing its documents using the latest text processing options and <code>IndexFields</code>. This operation must be invoked to make options whose <a>OptionStatus</a> has <code>OptionState</code> of <code>RequiresIndexDocuments</code> visible in search results.</p>\n "
|
2907
|
+
},
|
2908
|
+
"UpdateDefaultSearchField": {
|
2909
|
+
"name": "UpdateDefaultSearchField",
|
2910
|
+
"input": {
|
2911
|
+
"shape_name": "UpdateDefaultSearchFieldRequest",
|
2912
|
+
"type": "structure",
|
2913
|
+
"members": {
|
2914
|
+
"DomainName": {
|
2915
|
+
"shape_name": "DomainName",
|
2916
|
+
"type": "string",
|
2917
|
+
"min_length": 3,
|
2918
|
+
"max_length": 28,
|
2919
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
2920
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
2921
|
+
"required": true
|
2922
|
+
},
|
2923
|
+
"DefaultSearchField": {
|
2924
|
+
"shape_name": "String",
|
2925
|
+
"type": "string",
|
2926
|
+
"documentation": "\n <p>The <code>IndexField</code> to use for search requests issued with the <code>q</code> parameter. The default is an empty string, which automatically searches all text fields.</p>\n ",
|
2927
|
+
"required": true
|
2928
|
+
}
|
2929
|
+
},
|
2930
|
+
"documentation": null
|
2931
|
+
},
|
2932
|
+
"output": {
|
2933
|
+
"shape_name": "UpdateDefaultSearchFieldResponse",
|
2934
|
+
"type": "structure",
|
2935
|
+
"members": {
|
2936
|
+
"DefaultSearchField": {
|
2937
|
+
"shape_name": "DefaultSearchFieldStatus",
|
2938
|
+
"type": "structure",
|
2939
|
+
"members": {
|
2940
|
+
"Options": {
|
2941
|
+
"shape_name": "FieldName",
|
2942
|
+
"type": "string",
|
2943
|
+
"min_length": 1,
|
2944
|
+
"max_length": 64,
|
2945
|
+
"pattern": "[a-z][a-z0-9_]*",
|
2946
|
+
"documentation": "\n <p>The name of the <code>IndexField</code> to use as the default search field. The default is an empty string, which automatically searches all text fields.</p>\n ",
|
2947
|
+
"required": true
|
2948
|
+
},
|
2949
|
+
"Status": {
|
2950
|
+
"shape_name": "OptionStatus",
|
2951
|
+
"type": "structure",
|
2952
|
+
"members": {
|
2953
|
+
"CreationDate": {
|
2954
|
+
"shape_name": "UpdateTimestamp",
|
2955
|
+
"type": "timestamp",
|
2956
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
2957
|
+
"required": true
|
2958
|
+
},
|
2959
|
+
"UpdateDate": {
|
2960
|
+
"shape_name": "UpdateTimestamp",
|
2961
|
+
"type": "timestamp",
|
2962
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
2963
|
+
"required": true
|
2964
|
+
},
|
2965
|
+
"UpdateVersion": {
|
2966
|
+
"shape_name": "UIntValue",
|
2967
|
+
"type": "integer",
|
2968
|
+
"min_length": 0,
|
2969
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
2970
|
+
},
|
2971
|
+
"State": {
|
2972
|
+
"shape_name": "OptionState",
|
2973
|
+
"type": "string",
|
2974
|
+
"enum": [
|
2975
|
+
"RequiresIndexDocuments",
|
2976
|
+
"Processing",
|
2977
|
+
"Active"
|
2978
|
+
],
|
2979
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
2980
|
+
"required": true
|
2981
|
+
},
|
2982
|
+
"PendingDeletion": {
|
2983
|
+
"shape_name": "Boolean",
|
2984
|
+
"type": "boolean",
|
2985
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
2986
|
+
}
|
2987
|
+
},
|
2988
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
2989
|
+
"required": true
|
2990
|
+
}
|
2991
|
+
},
|
2992
|
+
"documentation": "\n <p>The value of the <code>DefaultSearchField</code> configured for this search domain and its current status.</p>\n ",
|
2993
|
+
"required": true
|
2994
|
+
}
|
2995
|
+
},
|
2996
|
+
"documentation": "\n <p>A response message that contains the status of an updated default search field.</p>\n "
|
2997
|
+
},
|
2998
|
+
"errors": [
|
2999
|
+
{
|
3000
|
+
"shape_name": "BaseException",
|
3001
|
+
"type": "structure",
|
3002
|
+
"members": {
|
3003
|
+
"Code": {
|
3004
|
+
"shape_name": "ErrorCode",
|
3005
|
+
"type": "string",
|
3006
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
3007
|
+
},
|
3008
|
+
"Message": {
|
3009
|
+
"shape_name": "ErrorMessage",
|
3010
|
+
"type": "string",
|
3011
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
3012
|
+
}
|
3013
|
+
},
|
3014
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
3015
|
+
},
|
3016
|
+
{
|
3017
|
+
"shape_name": "InternalException",
|
3018
|
+
"type": "structure",
|
3019
|
+
"members": {
|
3020
|
+
},
|
3021
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
3022
|
+
},
|
3023
|
+
{
|
3024
|
+
"shape_name": "InvalidTypeException",
|
3025
|
+
"type": "structure",
|
3026
|
+
"members": {
|
3027
|
+
},
|
3028
|
+
"documentation": "\n <p>The request was rejected because it specified an invalid type definition.</p>\n "
|
3029
|
+
},
|
3030
|
+
{
|
3031
|
+
"shape_name": "ResourceNotFoundException",
|
3032
|
+
"type": "structure",
|
3033
|
+
"members": {
|
3034
|
+
},
|
3035
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
3036
|
+
}
|
3037
|
+
],
|
3038
|
+
"documentation": "\n <p>Configures the default search field for the search domain. The default search field is used when a search request does not specify which fields to search. By default, it is configured to include the contents of all of the domain's text fields.</p>\n "
|
3039
|
+
},
|
3040
|
+
"UpdateServiceAccessPolicies": {
|
3041
|
+
"name": "UpdateServiceAccessPolicies",
|
3042
|
+
"input": {
|
3043
|
+
"shape_name": "UpdateServiceAccessPoliciesRequest",
|
3044
|
+
"type": "structure",
|
3045
|
+
"members": {
|
3046
|
+
"DomainName": {
|
3047
|
+
"shape_name": "DomainName",
|
3048
|
+
"type": "string",
|
3049
|
+
"min_length": 3,
|
3050
|
+
"max_length": 28,
|
3051
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
3052
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
3053
|
+
"required": true
|
3054
|
+
},
|
3055
|
+
"AccessPolicies": {
|
3056
|
+
"shape_name": "PolicyDocument",
|
3057
|
+
"type": "string",
|
3058
|
+
"documentation": "\n <p>An IAM access policy as described in <a href=\"http://docs.amazonwebservices.com/IAM/latest/UserGuide/index.html?AccessPolicyLanguage.html\" target=\"_blank\">The Access Policy Language</a> in <i>Using AWS Identity and Access Management</i>. The maximum size of an access policy document is 100 KB.</p>\n <p>Example: <code>{\"Statement\": [{\"Effect\":\"Allow\",\n \"Action\": \"*\",\n \"Resource\":\n \"arn:aws:cs:us-east-1:1234567890:search/movies\",\n \"Condition\": \n { \"IpAddress\": { aws:SourceIp\": [\"203.0.113.1/32\"] }\n }},\n {\"Effect\":\"Allow\",\n \"Action\": \"*\",\n \"Resource\":\n \"arn:aws:cs:us-east-1:1234567890:documents/movies\",\n \"Condition\": \n { \"IpAddress\": { aws:SourceIp\": [\"203.0.113.1/32\"] }\n }}\n ]\n}</code></p>\n ",
|
3059
|
+
"required": true
|
3060
|
+
}
|
3061
|
+
},
|
3062
|
+
"documentation": null
|
3063
|
+
},
|
3064
|
+
"output": {
|
3065
|
+
"shape_name": "UpdateServiceAccessPoliciesResponse",
|
3066
|
+
"type": "structure",
|
3067
|
+
"members": {
|
3068
|
+
"AccessPolicies": {
|
3069
|
+
"shape_name": "AccessPoliciesStatus",
|
3070
|
+
"type": "structure",
|
3071
|
+
"members": {
|
3072
|
+
"Options": {
|
3073
|
+
"shape_name": "PolicyDocument",
|
3074
|
+
"type": "string",
|
3075
|
+
"documentation": "\n <p>An IAM access policy as described in <a href=\"http://docs.amazonwebservices.com/IAM/latest/UserGuide/index.html?AccessPolicyLanguage.html\" target=\"_blank\">The Access Policy Language</a> in <i>Using AWS Identity and Access Management</i>. The maximum size of an access policy document is 100 KB.</p>\n <p>Example: <code>{\"Statement\": [{\"Effect\":\"Allow\",\n \"Action\": \"*\",\n \"Resource\":\n \"arn:aws:cs:us-east-1:1234567890:search/movies\",\n \"Condition\": \n { \"IpAddress\": { aws:SourceIp\": [\"203.0.113.1/32\"] }\n }},\n {\"Effect\":\"Allow\",\n \"Action\": \"*\",\n \"Resource\":\n \"arn:aws:cs:us-east-1:1234567890:documents/movies\",\n \"Condition\": \n { \"IpAddress\": { aws:SourceIp\": [\"203.0.113.1/32\"] }\n }}\n ]\n}</code></p>\n ",
|
3076
|
+
"required": true
|
3077
|
+
},
|
3078
|
+
"Status": {
|
3079
|
+
"shape_name": "OptionStatus",
|
3080
|
+
"type": "structure",
|
3081
|
+
"members": {
|
3082
|
+
"CreationDate": {
|
3083
|
+
"shape_name": "UpdateTimestamp",
|
3084
|
+
"type": "timestamp",
|
3085
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
3086
|
+
"required": true
|
3087
|
+
},
|
3088
|
+
"UpdateDate": {
|
3089
|
+
"shape_name": "UpdateTimestamp",
|
3090
|
+
"type": "timestamp",
|
3091
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
3092
|
+
"required": true
|
3093
|
+
},
|
3094
|
+
"UpdateVersion": {
|
3095
|
+
"shape_name": "UIntValue",
|
3096
|
+
"type": "integer",
|
3097
|
+
"min_length": 0,
|
3098
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
3099
|
+
},
|
3100
|
+
"State": {
|
3101
|
+
"shape_name": "OptionState",
|
3102
|
+
"type": "string",
|
3103
|
+
"enum": [
|
3104
|
+
"RequiresIndexDocuments",
|
3105
|
+
"Processing",
|
3106
|
+
"Active"
|
3107
|
+
],
|
3108
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
3109
|
+
"required": true
|
3110
|
+
},
|
3111
|
+
"PendingDeletion": {
|
3112
|
+
"shape_name": "Boolean",
|
3113
|
+
"type": "boolean",
|
3114
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
3115
|
+
}
|
3116
|
+
},
|
3117
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
3118
|
+
"required": true
|
3119
|
+
}
|
3120
|
+
},
|
3121
|
+
"documentation": "\n <p>A <code>PolicyDocument</code> that specifies access policies for the search domain's services, and the current status of those policies.</p>\n ",
|
3122
|
+
"required": true
|
3123
|
+
}
|
3124
|
+
},
|
3125
|
+
"documentation": "\n <p>A response message that contains the status of updated access policies.</p>\n "
|
3126
|
+
},
|
3127
|
+
"errors": [
|
3128
|
+
{
|
3129
|
+
"shape_name": "BaseException",
|
3130
|
+
"type": "structure",
|
3131
|
+
"members": {
|
3132
|
+
"Code": {
|
3133
|
+
"shape_name": "ErrorCode",
|
3134
|
+
"type": "string",
|
3135
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
3136
|
+
},
|
3137
|
+
"Message": {
|
3138
|
+
"shape_name": "ErrorMessage",
|
3139
|
+
"type": "string",
|
3140
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
3141
|
+
}
|
3142
|
+
},
|
3143
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
3144
|
+
},
|
3145
|
+
{
|
3146
|
+
"shape_name": "InternalException",
|
3147
|
+
"type": "structure",
|
3148
|
+
"members": {
|
3149
|
+
},
|
3150
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
3151
|
+
},
|
3152
|
+
{
|
3153
|
+
"shape_name": "LimitExceededException",
|
3154
|
+
"type": "structure",
|
3155
|
+
"members": {
|
3156
|
+
},
|
3157
|
+
"documentation": "\n <p>The request was rejected because a resource limit has already been met.</p>\n "
|
3158
|
+
},
|
3159
|
+
{
|
3160
|
+
"shape_name": "ResourceNotFoundException",
|
3161
|
+
"type": "structure",
|
3162
|
+
"members": {
|
3163
|
+
},
|
3164
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
3165
|
+
},
|
3166
|
+
{
|
3167
|
+
"shape_name": "InvalidTypeException",
|
3168
|
+
"type": "structure",
|
3169
|
+
"members": {
|
3170
|
+
},
|
3171
|
+
"documentation": "\n <p>The request was rejected because it specified an invalid type definition.</p>\n "
|
3172
|
+
}
|
3173
|
+
],
|
3174
|
+
"documentation": "\n <p>Configures the policies that control access to the domain's document and search services. The maximum size of an access policy document is 100 KB.</p>\n "
|
3175
|
+
},
|
3176
|
+
"UpdateStemmingOptions": {
|
3177
|
+
"name": "UpdateStemmingOptions",
|
3178
|
+
"input": {
|
3179
|
+
"shape_name": "UpdateStemmingOptionsRequest",
|
3180
|
+
"type": "structure",
|
3181
|
+
"members": {
|
3182
|
+
"DomainName": {
|
3183
|
+
"shape_name": "DomainName",
|
3184
|
+
"type": "string",
|
3185
|
+
"min_length": 3,
|
3186
|
+
"max_length": 28,
|
3187
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
3188
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
3189
|
+
"required": true
|
3190
|
+
},
|
3191
|
+
"Stems": {
|
3192
|
+
"shape_name": "StemsDocument",
|
3193
|
+
"type": "string",
|
3194
|
+
"documentation": "\n <p>Maps terms to their stems, serialized as a JSON document. The document has a single object with one property \"stems\" whose value is an object mapping terms to their stems. The maximum size of a stemming document is 500 KB. Example: <code>{ \"stems\": {\"people\": \"person\", \"walking\": \"walk\"} }</code></p>\n ",
|
3195
|
+
"required": true
|
3196
|
+
}
|
3197
|
+
},
|
3198
|
+
"documentation": null
|
3199
|
+
},
|
3200
|
+
"output": {
|
3201
|
+
"shape_name": "UpdateStemmingOptionsResponse",
|
3202
|
+
"type": "structure",
|
3203
|
+
"members": {
|
3204
|
+
"Stems": {
|
3205
|
+
"shape_name": "StemmingOptionsStatus",
|
3206
|
+
"type": "structure",
|
3207
|
+
"members": {
|
3208
|
+
"Options": {
|
3209
|
+
"shape_name": "StemsDocument",
|
3210
|
+
"type": "string",
|
3211
|
+
"documentation": "\n <p>Maps terms to their stems, serialized as a JSON document. The document has a single object with one property \"stems\" whose value is an object mapping terms to their stems. The maximum size of a stemming document is 500 KB. Example: <code>{ \"stems\": {\"people\": \"person\", \"walking\": \"walk\"} }</code></p>\n ",
|
3212
|
+
"required": true
|
3213
|
+
},
|
3214
|
+
"Status": {
|
3215
|
+
"shape_name": "OptionStatus",
|
3216
|
+
"type": "structure",
|
3217
|
+
"members": {
|
3218
|
+
"CreationDate": {
|
3219
|
+
"shape_name": "UpdateTimestamp",
|
3220
|
+
"type": "timestamp",
|
3221
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
3222
|
+
"required": true
|
3223
|
+
},
|
3224
|
+
"UpdateDate": {
|
3225
|
+
"shape_name": "UpdateTimestamp",
|
3226
|
+
"type": "timestamp",
|
3227
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
3228
|
+
"required": true
|
3229
|
+
},
|
3230
|
+
"UpdateVersion": {
|
3231
|
+
"shape_name": "UIntValue",
|
3232
|
+
"type": "integer",
|
3233
|
+
"min_length": 0,
|
3234
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
3235
|
+
},
|
3236
|
+
"State": {
|
3237
|
+
"shape_name": "OptionState",
|
3238
|
+
"type": "string",
|
3239
|
+
"enum": [
|
3240
|
+
"RequiresIndexDocuments",
|
3241
|
+
"Processing",
|
3242
|
+
"Active"
|
3243
|
+
],
|
3244
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
3245
|
+
"required": true
|
3246
|
+
},
|
3247
|
+
"PendingDeletion": {
|
3248
|
+
"shape_name": "Boolean",
|
3249
|
+
"type": "boolean",
|
3250
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
3251
|
+
}
|
3252
|
+
},
|
3253
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
3254
|
+
"required": true
|
3255
|
+
}
|
3256
|
+
},
|
3257
|
+
"documentation": "\n <p>The stemming options configured for this search domain and the current status of those options.</p>\n ",
|
3258
|
+
"required": true
|
3259
|
+
}
|
3260
|
+
},
|
3261
|
+
"documentation": "\n <p>A response message that contains the status of updated stemming options.</p>\n "
|
3262
|
+
},
|
3263
|
+
"errors": [
|
3264
|
+
{
|
3265
|
+
"shape_name": "BaseException",
|
3266
|
+
"type": "structure",
|
3267
|
+
"members": {
|
3268
|
+
"Code": {
|
3269
|
+
"shape_name": "ErrorCode",
|
3270
|
+
"type": "string",
|
3271
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
3272
|
+
},
|
3273
|
+
"Message": {
|
3274
|
+
"shape_name": "ErrorMessage",
|
3275
|
+
"type": "string",
|
3276
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
3277
|
+
}
|
3278
|
+
},
|
3279
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
3280
|
+
},
|
3281
|
+
{
|
3282
|
+
"shape_name": "InternalException",
|
3283
|
+
"type": "structure",
|
3284
|
+
"members": {
|
3285
|
+
},
|
3286
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
3287
|
+
},
|
3288
|
+
{
|
3289
|
+
"shape_name": "InvalidTypeException",
|
3290
|
+
"type": "structure",
|
3291
|
+
"members": {
|
3292
|
+
},
|
3293
|
+
"documentation": "\n <p>The request was rejected because it specified an invalid type definition.</p>\n "
|
3294
|
+
},
|
3295
|
+
{
|
3296
|
+
"shape_name": "LimitExceededException",
|
3297
|
+
"type": "structure",
|
3298
|
+
"members": {
|
3299
|
+
},
|
3300
|
+
"documentation": "\n <p>The request was rejected because a resource limit has already been met.</p>\n "
|
3301
|
+
},
|
3302
|
+
{
|
3303
|
+
"shape_name": "ResourceNotFoundException",
|
3304
|
+
"type": "structure",
|
3305
|
+
"members": {
|
3306
|
+
},
|
3307
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
3308
|
+
}
|
3309
|
+
],
|
3310
|
+
"documentation": "\n <p>Configures a stemming dictionary for the search domain. The stemming dictionary is used during indexing and when processing search requests. The maximum size of the stemming dictionary is 500 KB.</p>\n "
|
3311
|
+
},
|
3312
|
+
"UpdateStopwordOptions": {
|
3313
|
+
"name": "UpdateStopwordOptions",
|
3314
|
+
"input": {
|
3315
|
+
"shape_name": "UpdateStopwordOptionsRequest",
|
3316
|
+
"type": "structure",
|
3317
|
+
"members": {
|
3318
|
+
"DomainName": {
|
3319
|
+
"shape_name": "DomainName",
|
3320
|
+
"type": "string",
|
3321
|
+
"min_length": 3,
|
3322
|
+
"max_length": 28,
|
3323
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
3324
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
3325
|
+
"required": true
|
3326
|
+
},
|
3327
|
+
"Stopwords": {
|
3328
|
+
"shape_name": "StopwordsDocument",
|
3329
|
+
"type": "string",
|
3330
|
+
"documentation": "\n <p>Lists stopwords serialized as a JSON document. The document has a single object with one property \"stopwords\" whose value is an array of strings. The maximum size of a stopwords document is 10 KB. Example: <code>{ \"stopwords\": [\"a\", \"an\", \"the\", \"of\"] }</code></p>\n ",
|
3331
|
+
"required": true
|
3332
|
+
}
|
3333
|
+
},
|
3334
|
+
"documentation": null
|
3335
|
+
},
|
3336
|
+
"output": {
|
3337
|
+
"shape_name": "UpdateStopwordOptionsResponse",
|
3338
|
+
"type": "structure",
|
3339
|
+
"members": {
|
3340
|
+
"Stopwords": {
|
3341
|
+
"shape_name": "StopwordOptionsStatus",
|
3342
|
+
"type": "structure",
|
3343
|
+
"members": {
|
3344
|
+
"Options": {
|
3345
|
+
"shape_name": "StopwordsDocument",
|
3346
|
+
"type": "string",
|
3347
|
+
"documentation": "\n <p>Lists stopwords serialized as a JSON document. The document has a single object with one property \"stopwords\" whose value is an array of strings. The maximum size of a stopwords document is 10 KB. Example: <code>{ \"stopwords\": [\"a\", \"an\", \"the\", \"of\"] }</code></p>\n ",
|
3348
|
+
"required": true
|
3349
|
+
},
|
3350
|
+
"Status": {
|
3351
|
+
"shape_name": "OptionStatus",
|
3352
|
+
"type": "structure",
|
3353
|
+
"members": {
|
3354
|
+
"CreationDate": {
|
3355
|
+
"shape_name": "UpdateTimestamp",
|
3356
|
+
"type": "timestamp",
|
3357
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
3358
|
+
"required": true
|
3359
|
+
},
|
3360
|
+
"UpdateDate": {
|
3361
|
+
"shape_name": "UpdateTimestamp",
|
3362
|
+
"type": "timestamp",
|
3363
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
3364
|
+
"required": true
|
3365
|
+
},
|
3366
|
+
"UpdateVersion": {
|
3367
|
+
"shape_name": "UIntValue",
|
3368
|
+
"type": "integer",
|
3369
|
+
"min_length": 0,
|
3370
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
3371
|
+
},
|
3372
|
+
"State": {
|
3373
|
+
"shape_name": "OptionState",
|
3374
|
+
"type": "string",
|
3375
|
+
"enum": [
|
3376
|
+
"RequiresIndexDocuments",
|
3377
|
+
"Processing",
|
3378
|
+
"Active"
|
3379
|
+
],
|
3380
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
3381
|
+
"required": true
|
3382
|
+
},
|
3383
|
+
"PendingDeletion": {
|
3384
|
+
"shape_name": "Boolean",
|
3385
|
+
"type": "boolean",
|
3386
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
3387
|
+
}
|
3388
|
+
},
|
3389
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
3390
|
+
"required": true
|
3391
|
+
}
|
3392
|
+
},
|
3393
|
+
"documentation": "\n <p>The stopword options configured for this search domain and the current status of those options.</p>\n ",
|
3394
|
+
"required": true
|
3395
|
+
}
|
3396
|
+
},
|
3397
|
+
"documentation": "\n <p>A response message that contains the status of updated stopword options.</p>\n "
|
3398
|
+
},
|
3399
|
+
"errors": [
|
3400
|
+
{
|
3401
|
+
"shape_name": "BaseException",
|
3402
|
+
"type": "structure",
|
3403
|
+
"members": {
|
3404
|
+
"Code": {
|
3405
|
+
"shape_name": "ErrorCode",
|
3406
|
+
"type": "string",
|
3407
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
3408
|
+
},
|
3409
|
+
"Message": {
|
3410
|
+
"shape_name": "ErrorMessage",
|
3411
|
+
"type": "string",
|
3412
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
3413
|
+
}
|
3414
|
+
},
|
3415
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
3416
|
+
},
|
3417
|
+
{
|
3418
|
+
"shape_name": "InternalException",
|
3419
|
+
"type": "structure",
|
3420
|
+
"members": {
|
3421
|
+
},
|
3422
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
3423
|
+
},
|
3424
|
+
{
|
3425
|
+
"shape_name": "InvalidTypeException",
|
3426
|
+
"type": "structure",
|
3427
|
+
"members": {
|
3428
|
+
},
|
3429
|
+
"documentation": "\n <p>The request was rejected because it specified an invalid type definition.</p>\n "
|
3430
|
+
},
|
3431
|
+
{
|
3432
|
+
"shape_name": "LimitExceededException",
|
3433
|
+
"type": "structure",
|
3434
|
+
"members": {
|
3435
|
+
},
|
3436
|
+
"documentation": "\n <p>The request was rejected because a resource limit has already been met.</p>\n "
|
3437
|
+
},
|
3438
|
+
{
|
3439
|
+
"shape_name": "ResourceNotFoundException",
|
3440
|
+
"type": "structure",
|
3441
|
+
"members": {
|
3442
|
+
},
|
3443
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
3444
|
+
}
|
3445
|
+
],
|
3446
|
+
"documentation": "\n <p>Configures stopwords for the search domain. Stopwords are used during indexing and when processing search requests. The maximum size of the stopwords dictionary is 10 KB.</p>\n \n "
|
3447
|
+
},
|
3448
|
+
"UpdateSynonymOptions": {
|
3449
|
+
"name": "UpdateSynonymOptions",
|
3450
|
+
"input": {
|
3451
|
+
"shape_name": "UpdateSynonymOptionsRequest",
|
3452
|
+
"type": "structure",
|
3453
|
+
"members": {
|
3454
|
+
"DomainName": {
|
3455
|
+
"shape_name": "DomainName",
|
3456
|
+
"type": "string",
|
3457
|
+
"min_length": 3,
|
3458
|
+
"max_length": 28,
|
3459
|
+
"pattern": "[a-z][a-z0-9\\-]+",
|
3460
|
+
"documentation": "\n <p>A string that represents the name of a domain. Domain names must be unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase letters and underscores are not allowed.</p>\n\n ",
|
3461
|
+
"required": true
|
3462
|
+
},
|
3463
|
+
"Synonyms": {
|
3464
|
+
"shape_name": "SynonymsDocument",
|
3465
|
+
"type": "string",
|
3466
|
+
"documentation": "\n <p>Maps terms to their synonyms, serialized as a JSON document. The document has a single object with one property \"synonyms\" whose value is an object mapping terms to their synonyms. Each synonym is a simple string or an array of strings. The maximum size of a stopwords document is 100 KB. Example: <code>{ \"synonyms\": {\"cat\": [\"feline\", \"kitten\"], \"puppy\": \"dog\"} }</code></p>\n ",
|
3467
|
+
"required": true
|
3468
|
+
}
|
3469
|
+
},
|
3470
|
+
"documentation": null
|
3471
|
+
},
|
3472
|
+
"output": {
|
3473
|
+
"shape_name": "UpdateSynonymOptionsResponse",
|
3474
|
+
"type": "structure",
|
3475
|
+
"members": {
|
3476
|
+
"Synonyms": {
|
3477
|
+
"shape_name": "SynonymOptionsStatus",
|
3478
|
+
"type": "structure",
|
3479
|
+
"members": {
|
3480
|
+
"Options": {
|
3481
|
+
"shape_name": "SynonymsDocument",
|
3482
|
+
"type": "string",
|
3483
|
+
"documentation": "\n <p>Maps terms to their synonyms, serialized as a JSON document. The document has a single object with one property \"synonyms\" whose value is an object mapping terms to their synonyms. Each synonym is a simple string or an array of strings. The maximum size of a stopwords document is 100 KB. Example: <code>{ \"synonyms\": {\"cat\": [\"feline\", \"kitten\"], \"puppy\": \"dog\"} }</code></p>\n ",
|
3484
|
+
"required": true
|
3485
|
+
},
|
3486
|
+
"Status": {
|
3487
|
+
"shape_name": "OptionStatus",
|
3488
|
+
"type": "structure",
|
3489
|
+
"members": {
|
3490
|
+
"CreationDate": {
|
3491
|
+
"shape_name": "UpdateTimestamp",
|
3492
|
+
"type": "timestamp",
|
3493
|
+
"documentation": "\n <p>A timestamp for when this option was created.</p>\n ",
|
3494
|
+
"required": true
|
3495
|
+
},
|
3496
|
+
"UpdateDate": {
|
3497
|
+
"shape_name": "UpdateTimestamp",
|
3498
|
+
"type": "timestamp",
|
3499
|
+
"documentation": "\n <p>A timestamp for when this option was last updated.</p>\n ",
|
3500
|
+
"required": true
|
3501
|
+
},
|
3502
|
+
"UpdateVersion": {
|
3503
|
+
"shape_name": "UIntValue",
|
3504
|
+
"type": "integer",
|
3505
|
+
"min_length": 0,
|
3506
|
+
"documentation": "\n <p>A unique integer that indicates when this option was last updated.</p>\n "
|
3507
|
+
},
|
3508
|
+
"State": {
|
3509
|
+
"shape_name": "OptionState",
|
3510
|
+
"type": "string",
|
3511
|
+
"enum": [
|
3512
|
+
"RequiresIndexDocuments",
|
3513
|
+
"Processing",
|
3514
|
+
"Active"
|
3515
|
+
],
|
3516
|
+
"documentation": "\n <p>The state of processing a change to an option. Possible values:</p>\n<ul>\n <li>\n<code>RequiresIndexDocuments</code>: the option's latest value will not be visible in searches until <a>IndexDocuments</a> has been called and indexing is complete.</li>\n <li>\n<code>Processing</code>: the option's latest value is not yet visible in all searches but is in the process of being activated. </li>\n <li>\n<code>Active</code>: the option's latest value is completely visible. Any warnings or messages generated during processing are provided in <code>Diagnostics</code>.</li>\n </ul>\n ",
|
3517
|
+
"required": true
|
3518
|
+
},
|
3519
|
+
"PendingDeletion": {
|
3520
|
+
"shape_name": "Boolean",
|
3521
|
+
"type": "boolean",
|
3522
|
+
"documentation": "\n <p>Indicates that the option will be deleted once processing is complete.</p>\n "
|
3523
|
+
}
|
3524
|
+
},
|
3525
|
+
"documentation": "\n <p>The status of an option, including when it was last updated and whether it is actively in use for searches.</p>\n ",
|
3526
|
+
"required": true
|
3527
|
+
}
|
3528
|
+
},
|
3529
|
+
"documentation": "\n <p>The synonym options configured for this search domain and the current status of those options.</p>\n ",
|
3530
|
+
"required": true
|
3531
|
+
}
|
3532
|
+
},
|
3533
|
+
"documentation": "\n <p>A response message that contains the status of updated synonym options.</p>\n "
|
3534
|
+
},
|
3535
|
+
"errors": [
|
3536
|
+
{
|
3537
|
+
"shape_name": "BaseException",
|
3538
|
+
"type": "structure",
|
3539
|
+
"members": {
|
3540
|
+
"Code": {
|
3541
|
+
"shape_name": "ErrorCode",
|
3542
|
+
"type": "string",
|
3543
|
+
"documentation": "\n <p>A machine-parsable string error or warning code.</p>\n "
|
3544
|
+
},
|
3545
|
+
"Message": {
|
3546
|
+
"shape_name": "ErrorMessage",
|
3547
|
+
"type": "string",
|
3548
|
+
"documentation": "\n <p>A human-readable string error or warning message.</p>\n "
|
3549
|
+
}
|
3550
|
+
},
|
3551
|
+
"documentation": "\n <p>An error occurred while processing the request.</p>\n "
|
3552
|
+
},
|
3553
|
+
{
|
3554
|
+
"shape_name": "InternalException",
|
3555
|
+
"type": "structure",
|
3556
|
+
"members": {
|
3557
|
+
},
|
3558
|
+
"documentation": "\n <p>An internal error occurred while processing the request. If this problem persists,\n report an issue from the <a href=\"http://status.aws.amazon.com/\">Service Health Dashboard</a>.</p>\n "
|
3559
|
+
},
|
3560
|
+
{
|
3561
|
+
"shape_name": "InvalidTypeException",
|
3562
|
+
"type": "structure",
|
3563
|
+
"members": {
|
3564
|
+
},
|
3565
|
+
"documentation": "\n <p>The request was rejected because it specified an invalid type definition.</p>\n "
|
3566
|
+
},
|
3567
|
+
{
|
3568
|
+
"shape_name": "LimitExceededException",
|
3569
|
+
"type": "structure",
|
3570
|
+
"members": {
|
3571
|
+
},
|
3572
|
+
"documentation": "\n <p>The request was rejected because a resource limit has already been met.</p>\n "
|
3573
|
+
},
|
3574
|
+
{
|
3575
|
+
"shape_name": "ResourceNotFoundException",
|
3576
|
+
"type": "structure",
|
3577
|
+
"members": {
|
3578
|
+
},
|
3579
|
+
"documentation": "\n <p>The request was rejected because it attempted to reference a resource that does not exist.</p>\n "
|
3580
|
+
}
|
3581
|
+
],
|
3582
|
+
"documentation": "\n <p>Configures a synonym dictionary for the search domain. The synonym dictionary is used during indexing to configure mappings for terms that occur in text fields. The maximum size of the synonym dictionary is 100 KB. </p>\n "
|
3583
|
+
}
|
3584
|
+
}
|
3585
|
+
}
|