<commit_before># @title Working with Services in the Browser

# Working with Services in the Browser

## Supported Services

By default, the SDK ships with support for 15 AWS services. Each service object
in the SDK currently provides low-level access to every API call in the
respective AWS service. The full list of methods and their parameters are
documented in the complete API reference documentation (linked from each
service name in the list below).

The 18 services that come with the default hosted package of the SDK are:

* [AWS.CloudWatch](/AWSJavaScriptSDK/latest/AWS/CloudWatch.html)
* [AWS.CloudWatchLogs](/AWSJavaScriptSDK/latest/AWS/CloudWatchLogs.html)
* [AWS.CognitoIdentity](/AWSJavaScriptSDK/latest/AWS/CognitoIdentity.html)
* [AWS.CognitoSync](/AWSJavaScriptSDK/latest/AWS/CognitoSync.html)
* [AWS.DeviceFarm](/AWSJavaScriptSDK/latest/AWS/DeviceFarm.html)
* [AWS.DynamoDB](/AWSJavaScriptSDK/latest/AWS/DynamoDB.html)
* [AWS.DynamoDBStreams](/AWSJavaScriptSDK/latest/AWS/DynamoDBStreams.html)
* [AWS.EC2](/AWSJavaScriptSDK/latest/AWS/EC2.html)
* [AWS.ElasticTranscoder](/AWSJavaScriptSDK/latest/AWS/ElasticTranscoder.html)
* [AWS.Kinesis](/AWSJavaScriptSDK/latest/AWS/Kinesis.html)
* [AWS.Lambda](/AWSJavaScriptSDK/latest/AWS/Lambda.html)
* [AWS.MobileAnalytics](/AWSJavaScriptSDK/latest/AWS/MobileAnalytics.html)
* [AWS.MachineLearning](/AWSJavaScriptSDK/latest/AWS/MachineLearning.html)
* [AWS.OpsWorks](/AWSJavaScriptSDK/latest/AWS/OpsWorks.html)
* [AWS.S3](/AWSJavaScriptSDK/latest/AWS/S3.html)
* [AWS.SNS](/AWSJavaScriptSDK/latest/AWS/SNS.html)
* [AWS.SQS](/AWSJavaScriptSDK/latest/AWS/SQS.html)
* [AWS.STS](/AWSJavaScriptSDK/latest/AWS/STS.html)

<div class="clear"></div>

It is possible to use the SDK with other services if [CORS](http://www.w3.org/TR/cors/)
security checking is disabled in your environment. In this case, you can build
your own custom version of the SDK. See the {file:browser-building.md Building the SDK}
section of the guide for more information on how to create a custom build of
the SDK.

## Constructing a Service<commit_msg>Added AWS.WAF to Browser Services list<commit_after># @title Working with Services in the Browser

# Working with Services in the Browser

## Supported Services

By default, the SDK ships with support for 19 AWS services. Each service object
in the SDK currently provides low-level access to every API call in the
respective AWS service. The full list of methods and their parameters are
documented in the complete API reference documentation (linked from each
service name in the list below).

The 19 services that come with the default hosted package of the SDK are:

* [AWS.CloudWatch](/AWSJavaScriptSDK/latest/AWS/CloudWatch.html)
* [AWS.CloudWatchLogs](/AWSJavaScriptSDK/latest/AWS/CloudWatchLogs.html)
* [AWS.CognitoIdentity](/AWSJavaScriptSDK/latest/AWS/CognitoIdentity.html)
* [AWS.CognitoSync](/AWSJavaScriptSDK/latest/AWS/CognitoSync.html)
* [AWS.DeviceFarm](/AWSJavaScriptSDK/latest/AWS/DeviceFarm.html)
* [AWS.DynamoDB](/AWSJavaScriptSDK/latest/AWS/DynamoDB.html)
* [AWS.DynamoDBStreams](/AWSJavaScriptSDK/latest/AWS/DynamoDBStreams.html)
* [AWS.EC2](/AWSJavaScriptSDK/latest/AWS/EC2.html)
* [AWS.ElasticTranscoder](/AWSJavaScriptSDK/latest/AWS/ElasticTranscoder.html)
* [AWS.Kinesis](/AWSJavaScriptSDK/latest/AWS/Kinesis.html)
* [AWS.Lambda](/AWSJavaScriptSDK/latest/AWS/Lambda.html)
* [AWS.MobileAnalytics](/AWSJavaScriptSDK/latest/AWS/MobileAnalytics.html)
* [AWS.MachineLearning](/AWSJavaScriptSDK/latest/AWS/MachineLearning.html)
* [AWS.OpsWorks](/AWSJavaScriptSDK/latest/AWS/OpsWorks.html)
* [AWS.S3](/AWSJavaScriptSDK/latest/AWS/S3.html)
* [AWS.SNS](/AWSJavaScriptSDK/latest/AWS/SNS.html)
* [AWS.SQS](/AWSJavaScriptSDK/latest/AWS/SQS.html)
* [AWS.STS](/AWSJavaScriptSDK/latest/AWS/STS.html)
* [AWS.WAF](/AWSJavaScriptSDK/latest/AWS/WAF.html)

<div class="clear"></div>

It is possible to use the SDK with other services if [CORS](http://www.w3.org/TR/cors/)
security checking is disabled in your environment. In this case, you can build
your own custom version of the SDK. See the {file:browser-building.md Building the SDK}
section of the guide for more information on how to create a custom build of
the SDK.

## Constructing a Service
{'fraction_non_alphanumeric': 0.11850802644003777, 'fraction_numerical': 0.00424929178470255, 'mean_word_length': 5.548686244204019, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5916329', 'n_tokens_mistral': 1573, 'n_tokens_neox': 1449, 'n_words': 331}